diff --git a/srcpkgs/libnfs/patches/sysmacros_makedev.patch b/srcpkgs/libnfs/patches/sysmacros_makedev.patch new file mode 100644 index 00000000000..1e48d2f953e --- /dev/null +++ b/srcpkgs/libnfs/patches/sysmacros_makedev.patch @@ -0,0 +1,25 @@ +--- lib/libnfs.c 2016-10-09 20:23:11.000000000 +0200 ++++ lib/libnfs.c 2017-02-09 22:11:03.882598292 +0100 +@@ -64,14 +64,6 @@ + #include + #endif + +-#ifdef MAJOR_IN_MKDEV +-#include +-#endif +- +-#ifdef MAJOR_IN_SYSMACROS +-#include +-#endif +- + #include + #include + #include +@@ -82,6 +74,7 @@ + #include + #include + #include ++#include + #include "libnfs-zdr.h" + #include "slist.h" + #include "libnfs.h" diff --git a/srcpkgs/libnfs/template b/srcpkgs/libnfs/template index 7bddcc45318..5d5ed8d32da 100644 --- a/srcpkgs/libnfs/template +++ b/srcpkgs/libnfs/template @@ -1,7 +1,7 @@ # Template file for 'libnfs' pkgname=libnfs version=1.11.0 -revision=1 +revision=2 wrksrc="${pkgname}-${pkgname}-${version}" build_style=gnu-configure hostmakedepends="libtool pkg-config automake"