diff --git a/srcpkgs/libeatmydata/patches/musl.patch b/srcpkgs/libeatmydata/patches/musl.patch index 5c71630196f..1aad50721de 100644 --- a/srcpkgs/libeatmydata/patches/musl.patch +++ b/srcpkgs/libeatmydata/patches/musl.patch @@ -4,13 +4,14 @@ to explicitly use those. --- a/libeatmydata/libeatmydata.c +++ b/libeatmydata/libeatmydata.c -@@ -27,6 +27,11 @@ - #include +@@ -31,6 +31,12 @@ #include + #endif +/* refer to the compat alias in musl */ +#if !defined(__GLIBC__) +#undef open64 ++typedef off_t off64_t; +#endif + /* diff --git a/srcpkgs/libeatmydata/patches/remove-debian-specific-command.patch b/srcpkgs/libeatmydata/patches/remove-debian-specific-command.patch deleted file mode 100644 index 21dcb2e3770..00000000000 --- a/srcpkgs/libeatmydata/patches/remove-debian-specific-command.patch +++ /dev/null @@ -1,27 +0,0 @@ -From fc0e20e4d4a43c86f9151f74164983bbe7a3a9c7 Mon Sep 17 00:00:00 2001 -From: Andreas Stieger -Date: Sun, 25 Jan 2015 00:23:57 +0100 -Subject: [PATCH] remove Debian specific command - -Remove Debian specific architecture detection and replace with build time setting. - -Signed-off-by: Stewart Smith ---- - eatmydata.in | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git eatmydata.in eatmydata.in -index 40468db..e37f07c 100644 ---- a/eatmydata.in -+++ b/eatmydata.in -@@ -15,9 +15,7 @@ - # You should have received a copy of the GNU General Public License - # along with this program. If not, see . - --export `dpkg-architecture|grep DEB_BUILD_MULTIARCH` -- --shlib="/usr/lib/$DEB_BUILD_MULTIARCH/eatmydata.sh" -+shlib="@libexecdir@/eatmydata.sh" - if [ -f "$shlib" ]; then - . "$shlib" - else diff --git a/srcpkgs/libeatmydata/template b/srcpkgs/libeatmydata/template index 3334ca236d9..500daf9f565 100644 --- a/srcpkgs/libeatmydata/template +++ b/srcpkgs/libeatmydata/template @@ -1,11 +1,12 @@ # Template file for 'libeatmydata' pkgname=libeatmydata -version=105 -revision=4 +version=131 +revision=1 build_style=gnu-configure +checkdepends="which strace" short_desc="Small LD_PRELOAD library designed to (transparently) disable fsync" maintainer="Orphaned " license="GPL-3.0-only" homepage="http://www.flamingspork.com/projects/libeatmydata/" distfiles="http://www.flamingspork.com/projects/libeatmydata/${pkgname}-${version}.tar.gz" -checksum=bdd2d068b6b27cf47cd22aa4c5da43b3d4a05944cfe0ad1b0d843d360ed3a8dd +checksum=cf18a8c52138a38541be3478af446c06048108729d7e18476492d62d54baabc4