aboutsummaryrefslogtreecommitdiffstats
path: root/main/fuse
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-30 17:30:20 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-30 17:30:20 +0000
commitb547d11b1c06980711796c4257e83a5c8283d36d (patch)
treef8efacca1868cc2cd3276dc85b9c24310ed4a0dc /main/fuse
parentb5e4091e9566c9db3208d6f56ec49f42a645a8cf (diff)
downloadaports-b547d11b1c06980711796c4257e83a5c8283d36d.tar.bz2
aports-b547d11b1c06980711796c4257e83a5c8283d36d.tar.xz
main/fuse: fix musl build
Diffstat (limited to 'main/fuse')
-rw-r--r--main/fuse/APKBUILD4
-rw-r--r--main/fuse/fix-includes.patch50
2 files changed, 54 insertions, 0 deletions
diff --git a/main/fuse/APKBUILD b/main/fuse/APKBUILD
index 32869adea2..4f98c421f1 100644
--- a/main/fuse/APKBUILD
+++ b/main/fuse/APKBUILD
@@ -11,6 +11,7 @@ makedepends="pkgconfig libiconv-dev gettext-dev"
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ fix-includes.patch
fuse.initd"
@@ -67,8 +68,11 @@ _EOF_
}
md5sums="33cae22ca50311446400daf8a6255c6a fuse-2.9.3.tar.gz
+c08ad52ccd6ff8cc7c8ebf73c5d588ea fix-includes.patch
5983726cfabf0830dffbbbf9a3abcddc fuse.initd"
sha256sums="0beb83eaf2c5e50730fc553406ef124d77bc02c64854631bdfc86bfd6437391c fuse-2.9.3.tar.gz
+72cf0964e5713f363d9dc0f9881512cdbdd05a5866ac95f1ea9df6305a189459 fix-includes.patch
22a22c914d2a4f0fb5fc8495f4b7efcd1819efde548c9033ca612c181cd29eda fuse.initd"
sha512sums="03f43f88694ec7e039ff3579a8e76349b5a5a05872c55901fc1d9ee53dbb6b1e69f6dd0005b620f3b5ead0b14da8eeb31d46b922d10f88f4e3f830aa47e8162c fuse-2.9.3.tar.gz
+147edb099e9dc5dad806882393b9a59feac0d22105764c87f7674b5f8b5242517034ca20ce36c931c5dd6ab18864f5aa267d1e1cd0adb81518f479de3c392d80 fix-includes.patch
3d2765114081c8f6720ed25d7b7da4f6da5fbbb5b35760bb0a760f0bf2482abacabec63c1488d4e8cbe4f78875574607e6e46508dfe22df0869f4d2e1e91e607 fuse.initd"
diff --git a/main/fuse/fix-includes.patch b/main/fuse/fix-includes.patch
new file mode 100644
index 0000000000..4a24a0f5dc
--- /dev/null
+++ b/main/fuse/fix-includes.patch
@@ -0,0 +1,50 @@
+--- fuse-2.9.3.orig/lib/fuse.c
++++ fuse-2.9.3/lib/fuse.c
+@@ -35,6 +35,7 @@
+ #include <poll.h>
+ #include <sys/param.h>
+ #include <sys/uio.h>
++#include <sys/file.h>
+ #include <sys/time.h>
+ #include <sys/mman.h>
+
+--- fuse-2.9.3.orig/lib/fuse_lowlevel.c
++++ fuse-2.9.3/lib/fuse_lowlevel.c
+@@ -24,6 +24,7 @@
+ #include <limits.h>
+ #include <errno.h>
+ #include <assert.h>
++#include <sys/file.h>
+
+ #ifndef F_LINUX_SPECIFIC_BASE
+ #define F_LINUX_SPECIFIC_BASE 1024
+--- fuse-2.9.3.orig/lib/mount_util.c
++++ fuse-2.9.3/lib/mount_util.c
+@@ -15,6 +15,7 @@
+ #include <dirent.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <paths.h>
+ #include <limits.h>
+ #ifndef __NetBSD__
+ #include <mntent.h>
+--- fuse-2.9.3.orig/util/fusermount.c
++++ fuse-2.9.3/util/fusermount.c
+@@ -19,6 +19,7 @@
+ #include <getopt.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <paths.h>
+ #include <pwd.h>
+ #include <mntent.h>
+ #include <sys/wait.h>
+--- fuse-2.9.3.orig/util/mount_util.c
++++ fuse-2.9.3/util/mount_util.c
+@@ -15,6 +15,7 @@
+ #include <dirent.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <paths.h>
+ #include <limits.h>
+ #ifndef __NetBSD__
+ #include <mntent.h>