[samefile] Add patch that would fix LFS plus autoreconf.

Michael Schwendt mschwendt at fedoraproject.org
Wed Feb 20 22:25:10 UTC 2013


commit b39c4060c6461ee3d7ddd6d35778e3407efdac27
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Wed Feb 20 23:25:03 2013 +0100

    Add patch that would fix LFS plus autoreconf.

 samefile-2.13-autoconf.patch |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/samefile-2.13-autoconf.patch b/samefile-2.13-autoconf.patch
new file mode 100644
index 0000000..6f10445
--- /dev/null
+++ b/samefile-2.13-autoconf.patch
@@ -0,0 +1,26 @@
+Proposed fix for LFS and autoheader config.h.in regeneration. (mschwendt)
+
+diff -Nur samefile-2.13-orig/configure.in samefile-2.13/configure.in
+--- samefile-2.13-orig/configure.in	2009-03-03 02:13:00.000000000 +0100
++++ samefile-2.13/configure.in	2013-02-20 23:12:01.061813609 +0100
+@@ -16,11 +16,20 @@
+ AC_C_CONST
+ AC_TYPE_SIZE_T
+ AC_TYPE_OFF_T
++AC_SYS_LARGEFILE
+ 
+ dnl Checks for library functions.
+ AC_FUNC_MEMCMP
+ AC_FUNC_MMAP
+ AC_CHECK_FUNCS(strerror lstat)
+ 
++AH_BOTTOM([
++#ifdef __GNUC__
++#define attribute(x) __attribute__((x))
++#else
++#define attribute(x) /* nothing */
++#endif
++])
++
+ AC_CONFIG_HEADER(config.h)
+ AC_OUTPUT(Makefile)


More information about the scm-commits mailing list