pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/filesystems/fuse-bindfs
Module Name: pkgsrc
Committed By: pho
Date: Sun Jan 26 02:15:57 UTC 2025
Added Files:
pkgsrc/filesystems/fuse-bindfs: hacks.mk
Log Message:
filesystems/fuse-bindfs: Fix build on NetBSD < 10.99.11
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/filesystems/fuse-bindfs/hacks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/filesystems/fuse-bindfs/hacks.mk
diff -u /dev/null pkgsrc/filesystems/fuse-bindfs/hacks.mk:1.1
--- /dev/null Sun Jan 26 02:15:57 2025
+++ pkgsrc/filesystems/fuse-bindfs/hacks.mk Sun Jan 26 02:15:57 2025
@@ -0,0 +1,18 @@
+# $NetBSD: hacks.mk,v 1.1 2025/01/26 02:15:57 pho Exp $
+
+.if !defined(FUSE_BINDFS_HACKS_MK)
+FUSE_BINDFS_HACKS_MK= defined
+
+### [Sun Jan 16 10:03:54 JST 2025 : pho]
+### Paper over a past issue in librefuse <fuse.h>. It failed to expose
+### "struct fuse_operations" when the FUSE 3.4 API was requested. Any other
+### API versions worked fine. This hack can be removed when NetBSD 10
+### reaches EOL.
+### https://mail-index.netbsd.org/source-changes/2025/01/26/msg155317.html
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 109911
+PKG_HACKS+= workaround-librefuse-bug
+CPPFLAGS+= -Dfuse_operations="_MK_FUSE_OPERATIONS_(_FUSE_OP_VERSION__)"
+.endif
+
+.endif # FUSE_BINDFS_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index