Skip to content

Instantly share code, notes, and snippets.

@oshimaya
oshimaya / letsgonetbsd2017.txt
Last active March 10, 2017 12:25
let's go netbsd '2017
@oshimaya
oshimaya / armv6_go1.9.2_build_fail.log
Last active January 13, 2018 13:27
NetBSD/earmv6hf 8.0_BETA golang build 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 / bootaa64_Makefile.diff
Created November 4, 2018 14:26
aarch64 build release fix
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 / dynabookvz_acpidump.asl
Last active January 21, 2020 00:53
Thinkpad x250 acpidump -dt
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 }
*/
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-qemu.patch
Last active March 4, 2020 03:32
patch for pkgsrc-current/emulators/qemu 4.2.0nb9 (make nvmm PKG_OPTIONS and enable when NetBSD/amd64 >= 9 only)
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
@oshimaya
oshimaya / libre7112.jpg
Last active May 3, 2021 06:44
Status of libreoffice locale message in NetBSD
libre7112.jpg
@oshimaya
oshimaya / darktable-3.6.1-src.diff
Created April 17, 2022 23:53
Fix build error in darktable 3.6.1 on NetBSD
--- src/develop/masks/circle.c.orig 2021-09-10 06:20:12.000000000 +0000
+++ src/develop/masks/circle.c
@@ -1110,7 +1110,7 @@ static int _circle_get_mask_roi(const dt
dt_omp_firstprivate(circpts, centerx, centery, total) \
dt_omp_sharedconst(circ) schedule(static) if(circpts/8 > 1000)
#else
-#pragma omp parallel for shared(points) schedule(static)
+#pragma omp parallel for sharedconst(circ) schedule(static)
#endif
#endif