SOURCES: bsdtar-includes.patch (NEW) - fixes headers locations on ...
twittner
twittner at pld-linux.org
Thu Dec 15 19:37:58 CET 2005
Author: twittner Date: Thu Dec 15 18:37:58 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixes headers locations on Linux
---- Files affected:
SOURCES:
bsdtar-includes.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/bsdtar-includes.patch
diff -u /dev/null SOURCES/bsdtar-includes.patch:1.1
--- /dev/null Thu Dec 15 19:37:58 2005
+++ SOURCES/bsdtar-includes.patch Thu Dec 15 19:37:53 2005
@@ -0,0 +1,42 @@
+--- o.bsdtar-1.2.37/configure.ac 2005-11-08 05:33:59.000000000 +0100
++++ n.bsdtar-1.2.37/configure.ac 2005-12-15 18:07:29.964253808 +0100
+@@ -13,7 +13,7 @@
+ # Checks for header files.
+ AC_HEADER_DIRENT
+ AC_HEADER_STDC
+-AC_CHECK_HEADERS([bzlib.h fcntl.h inttypes.h langinfo.h limits.h locale.h paths.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h zlib.h])
++AC_CHECK_HEADERS([bzlib.h fcntl.h inttypes.h langinfo.h acl/libacl.h limits.h locale.h paths.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h zlib.h])
+
+ # Checks for libraries.
+ AC_CHECK_LIB([z], [inflate])
+@@ -80,6 +80,9 @@
+ #if HAVE_SYS_ACL_H
+ #include <sys/acl.h>
+ #endif
++#if HAVE_ACL_LIBACL_H
++#include <acl/libacl.h>
++#endif
+ ])
+
+ # MacOS has an acl.h that isn't POSIX. It can be detected by
+--- o.bsdtar-1.2.37/write.c 2005-11-08 05:33:59.000000000 +0100
++++ n.bsdtar-1.2.37/write.c 2005-12-15 18:12:52.153273632 +0100
+@@ -32,6 +32,9 @@
+ #ifdef HAVE_POSIX_ACL
+ #include <sys/acl.h>
+ #endif
++#ifdef HAVE_ACL_LIBACL_H
++#include <acl/libacl.h>
++#endif
+ #include <archive.h>
+ #include <archive_entry.h>
+ #include <errno.h>
+@@ -45,7 +48,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #ifdef __linux
+-#include <ext2fs/ext2_fs.h>
++#include <linux/ext2_fs.h>
+ #include <sys/ioctl.h>
+ #endif
+
================================================================
More information about the pld-cvs-commit
mailing list