diff --git a/srcpkgs/ecryptfs-utils/patches/musl_fcntl_h.patch b/srcpkgs/ecryptfs-utils/patches/musl_fcntl_h.patch new file mode 100644 index 0000000000..9772ef813a --- /dev/null +++ b/srcpkgs/ecryptfs-utils/patches/musl_fcntl_h.patch @@ -0,0 +1,10 @@ +--- src/utils/mount.ecryptfs_private.c 2015-02-10 17:59:34.000000000 +0100 ++++ src/utils/mount.ecryptfs_private.c 2015-08-07 15:21:39.847867532 +0200 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/srcpkgs/ecryptfs-utils/patches/musl_unistd_h.patch b/srcpkgs/ecryptfs-utils/patches/musl_unistd_h.patch new file mode 100644 index 0000000000..a89fa959b3 --- /dev/null +++ b/srcpkgs/ecryptfs-utils/patches/musl_unistd_h.patch @@ -0,0 +1,23 @@ +The types uid_t and gid_t are defined in , which +isn't included as a side effect with musl libc. + +--- src/utils/io.c 2015-02-10 17:59:34.000000000 +0100 ++++ src/utils/io.c 2015-08-07 15:07:56.127793677 +0200 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include "ecryptfs.h" +--- src/utils/mount.ecryptfs.c 2015-03-10 17:45:52.000000000 +0100 ++++ src/utils/mount.ecryptfs.c 2015-08-07 15:15:28.411834229 +0200 +@@ -23,6 +23,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/srcpkgs/ecryptfs-utils/template b/srcpkgs/ecryptfs-utils/template index f44348011b..6ad1216586 100644 --- a/srcpkgs/ecryptfs-utils/template +++ b/srcpkgs/ecryptfs-utils/template @@ -1,7 +1,7 @@ # Template file for 'ecryptfs-utils' pkgname=ecryptfs-utils version=106 -revision=4 +revision=5 lib32disabled=yes build_style=gnu-configure configure_args="--sbindir=/usr/bin @@ -16,10 +16,6 @@ homepage="http://ecryptfs.org/" distfiles="http://launchpad.net/ecryptfs/trunk/${version}/+download/${pkgname}_${version}.orig.tar.gz" checksum=173e0add31e898789076103723894964ce474233988ef8d3309021bad8a7b6b4 -case "$XBPS_TARGET_MACHINE" in - *-musl) broken="http://build.voidlinux.eu/builders/x86_64-musl_builder/builds/3578/steps/shell_3/logs/stdio";; -esac - CPPFLAGS="-D_FILE_OFFSET_BITS=64" if [ "$CROSS_BUILD" ]; then