diff --git a/srcpkgs/dosfstools/patches/musl-path_max.patch b/srcpkgs/dosfstools/patches/musl-path_max.patch new file mode 100644 index 0000000000..e46c87d5e5 --- /dev/null +++ b/srcpkgs/dosfstools/patches/musl-path_max.patch @@ -0,0 +1,10 @@ +--- src/device_info.c.orig ++++ src/device_info.c +@@ -17,6 +17,7 @@ + */ + + ++#include + #include + #include + #include diff --git a/srcpkgs/dosfstools/template b/srcpkgs/dosfstools/template index 7d1730ccc3..488daaa72a 100644 --- a/srcpkgs/dosfstools/template +++ b/srcpkgs/dosfstools/template @@ -1,17 +1,17 @@ # Template file for 'dosfstools' pkgname=dosfstools -version=3.0.28 +version=4.0 revision=1 -build_style=gnu-makefile -make_install_args="PREFIX=/usr SBINDIR=/usr/bin" +build_style=gnu-configure +configure_args="--enable-compat-symlinks" +hostmakedepends="pkg-config" +makedepends="eudev-libudev-devel" short_desc="DOS filesystem tools" maintainer="Juan RP " -homepage="http://www.daniel-baumann.ch/software/$pkgname" -license="GPL-2" -distfiles="https://github.com/$pkgname/$pkgname/releases/download/v$version/$pkgname-$version.tar.xz" -checksum=ee95913044ecf2719b63ea11212917649709a6e53209a72d622135aaa8517ee2 - -CFLAGS="-D_GNU_SOURCE -Du_int32_t=uint32_t" +homepage="https://github.com/dosfstools/dosfstools" +license="GPL-3" +distfiles="https://github.com/$pkgname/$pkgname/releases/download/v$version/${pkgname}-${version}.tar.xz" +checksum=9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf post_install() { rm -rf ${DESTDIR}/usr/share/doc