Skip to content

Instantly share code, notes, and snippets.

Avatar

Yasushi Oshima oshimaya

View GitHub Profile
View pkgsrc_current_gimp-ufraw.diff
diff --git a/graphics/gimp-ufraw/distinfo b/graphics/gimp-ufraw/distinfo
index e8b3672e1ec..4c79674377e 100644
--- a/graphics/gimp-ufraw/distinfo
+++ b/graphics/gimp-ufraw/distinfo
@@ -5,6 +5,6 @@ RMD160 (ufraw-0.22.tar.gz) = 2588acde88dda8c30310b967e7185862072c124c
SHA512 (ufraw-0.22.tar.gz) = a42eff5052c18afec90245cf97ceeade78e3f288186cf697ac4abf2e8290d4081db8ac4de3ae47b3774f30a6cb4cbda392099e6fd2125fe751abb40d9b065ad2
Size (ufraw-0.22.tar.gz) = 1103554 bytes
SHA1 (patch-dcraw.cc) = d68c75bb0438df6bd16ecde2d2718b573018fa28
-SHA1 (patch-dcraw__api.cc) = 70cd527ddc226bcac16638e3a631acf42c72dbbf
-SHA1 (patch-dcraw__indi.c) = c070b8a8fc7d47b3e3ed3817098c5f9bb2c1d62a
@oshimaya
oshimaya / pkgsrc-qemu.patch
Last active Mar 4, 2020
patch for pkgsrc-current/emulators/qemu 4.2.0nb9 (make nvmm PKG_OPTIONS and enable when NetBSD/amd64 >= 9 only)
View pkgsrc-qemu.patch
diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo
index 6be2d40ebf9..bc8cca0103a 100644
--- a/emulators/qemu/distinfo
+++ b/emulators/qemu/distinfo
@@ -9,7 +9,7 @@ SHA1 (patch-accel_stubs_Makefile.objs) = 92266dc400ac1e97013f7f19ee4b7a63b42c7fc
SHA1 (patch-accel_stubs_nvmm-stub.c) = d66d47eabb8bb6728e777da7589b43d491adbcc8
SHA1 (patch-accel_tcg_user-exec.c) = 86ee62f6e5c8cd7942cf0aa9c9f64e4b0879ff33
SHA1 (patch-capstone_Makefile) = f59870031de8c4385a591362749ec82f57fd4c27
-SHA1 (patch-configure) = c2d68edf08e94ea12c9e57da3dacb0c1326c1213
+SHA1 (patch-configure) = 7bd1b0a64c31ec17031dba79d905876bcd16b933
View bsd_KbdMap.c.diff
diff --git a/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c b/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c
index 8c0be6592..4a837d4b8 100644
--- a/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c
+++ b/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c
@@ -581,20 +581,20 @@ static CARD8 wsXtMap[] = {
/* 109 */ KEY_NOTUSED,
/* 110 */ KEY_NOTUSED,
/* 111 */ KEY_NOTUSED,
- /* 112 */ KEY_NOTUSED,
+ /* 112 */ KEY_HKTG,
@oshimaya
oshimaya / pkgsrc-uim-1.8.8.diff
Last active Oct 8, 2019
pkgsrc/inputmethod/uim 1.8.8 (experimental)
View pkgsrc-uim-1.8.8.diff
diff --git a/inputmethod/uim/Makefile b/inputmethod/uim/Makefile
index 0e6ddb596d6..16f7ad2dcf1 100644
--- a/inputmethod/uim/Makefile
+++ b/inputmethod/uim/Makefile
@@ -3,7 +3,6 @@
.include "../../inputmethod/uim/Makefile.common"
-PKGREVISION= 64
COMMENT= Multilingual input method library
@oshimaya
oshimaya / dynabookvz_acpidump.asl
Last active Jan 21, 2020
Thinkpad x250 acpidump -dt
View dynabookvz_acpidump.asl
This file has been truncated, but you can view the full file.
/*
RSD PTR: OEM=TOSHIB, ACPI_Rev=2.0x (2)
XSDT=0x000000005cfb8188, length=36, cksum=124
*/
/*
XSDT: Length=236, Revision=1, Checksum=96,
OEMID=TOSHIB, OEM Table ID=A00B0, OEM Revision=0x20190725,
Creator ID=, Creator Revision=0x1000013
Entries={ 0x000000005cff6000, 0x000000005cffc000, 0x000000005cffb000, 0x000000005ce84000, 0x000000005cff7000, 0x000000005cff5000, 0x000000005cff4000, 0x000000005cff3000, 0x000000005cff2000, 0x000000005cff1000, 0x000000005cfc7000, 0x000000005cfc6000, 0x000000005cfc4000, 0x000000005cfc3000, 0x000000005cfc2000, 0x000000005cfc1000, 0x000000005cfc0000, 0x000000005cfbf000, 0x000000005cfbb000, 0x000000005cfba000, 0x000000005cfb9000, 0x000000005cffd000, 0x000000005cfb7000, 0x000000005cfb6000, 0x000000005cfb5000 }
@oshimaya
oshimaya / bootaa64_Makefile.diff
Created Nov 4, 2018
aarch64 build release fix
View bootaa64_Makefile.diff
diff --git a/sys/stand/efiboot/bootaa64/Makefile b/sys/stand/efiboot/bootaa64/Makefile
index 5e12a6b139c1..9392765f3a67 100644
--- a/sys/stand/efiboot/bootaa64/Makefile
+++ b/sys/stand/efiboot/bootaa64/Makefile
@@ -17,4 +17,4 @@ CFLAGS+= -DEFIBOOT_ACPI
release: check_RELEASEDIR
${HOST_INSTALL_FILE} -m ${BINMODE} ${PROG} \
- ${RELEASEDIR}/${MACHINE}/installation/misc
+ ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc
@oshimaya
oshimaya / armv6_go1.9.2_build_fail.log
Last active Jan 13, 2018
NetBSD/earmv6hf 8.0_BETA golang build log
View armv6_go1.9.2_build_fail.log
##### Building Go bootstrap tool.
cmd/dist
##### Building Go toolchain using /usr/pkg/go14.
bootstrap/cmd/internal/dwarf
bootstrap/cmd/internal/objabi
bootstrap/cmd/internal/src
bootstrap/cmd/internal/sys
bootstrap/cmd/internal/obj
bootstrap/cmd/internal/obj/arm
@oshimaya
oshimaya / passfd.c
Last active Jul 23, 2017
Sample for pass File Discriptor through UNIX Domain socket
View passfd.c
/* from http://www.danlj.org/lad/src/passfd.c.html and change for NetBSD
and single source */
/* passfd.c -- sample program which passes a file descriptor */
/* We behave like a simple /bin/cat, which only handles one
argument (a file name). We create Unix domain sockets through
socketpair(), and then fork(). The child opens the file whose
name is passed on the command line, passes the file descriptor
and file name back to the parent, and then exits. The parent waits
@oshimaya
oshimaya / pkgsrc-db4.diff
Last active Jun 16, 2016
TESTING: Diff for pkgsrc/databases/db4 on pkgsrc-current at 2016/06/16 to build on NetBSD/sh3 (and maybe NetBSD/vax)
View pkgsrc-db4.diff
diff --git a/databases/db4/distinfo b/databases/db4/distinfo
index 04de09a..a056407 100644
--- a/databases/db4/distinfo
+++ b/databases/db4/distinfo
@@ -5,7 +5,7 @@ RMD160 (db-4.8.30.tar.gz) = dd2fcd4c9b857a91e2f491fd4fadb0c51b993a9c
SHA512 (db-4.8.30.tar.gz) = d1a3c52b0ab54ae3fd6792e6396c9f74d25f36b2eb9e853b67ef9c872508a58c784c7818108d06d184f59601b70cc877916e67dfea6f0ee1ca2b07468c1041f1
Size (db-4.8.30.tar.gz) = 22887305 bytes
SHA1 (patch-aa) = 1004feec022eefbf3fd57b6d9af99edc5a2bf17a
-SHA1 (patch-ab) = 961c4ef5ad84739bd7eae57f407b89f42864b66e
+SHA1 (patch-ab) = 95b4e03dccdd723831a1076ff309995c2b28e161
You can’t perform that action at this time.