summaryrefslogtreecommitdiff
path: root/package/m4/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-10-11 11:05:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-10-11 11:05:05 +0200
commit046cf475d64cb44460ac0aeb9e53032efd8185d0 (patch)
tree46ddb06b418e42c52c0a02ba2b90f0f4d2b9b93e /package/m4/patches
parent58de4f5caf471cecbaebdb023cd8e2c5f89bfdb3 (diff)
parentec67efc42516136adee22d15ef1fb64b32637806 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/m4/patches')
-rw-r--r--package/m4/patches/patch-lib_config_hin14
-rw-r--r--package/m4/patches/patch-lib_stdio_in_h10
2 files changed, 24 insertions, 0 deletions
diff --git a/package/m4/patches/patch-lib_config_hin b/package/m4/patches/patch-lib_config_hin
new file mode 100644
index 000000000..08932ac77
--- /dev/null
+++ b/package/m4/patches/patch-lib_config_hin
@@ -0,0 +1,14 @@
+--- m4-1.4.16.orig/lib/config.hin 2011-03-01 17:57:39.000000000 +0100
++++ m4-1.4.16/lib/config.hin 2012-10-01 22:43:08.000000000 +0200
+@@ -1266,6 +1266,11 @@
+ # endif
+ #endif
+
++/* Enable large inode numbers on Mac OS X 10.5. */
++#ifndef _DARWIN_USE_64_BIT_INODE
++# define _DARWIN_USE_64_BIT_INODE 1
++#endif
++
+ /* Number of bits in a file offset, on hosts where this is settable. */
+ #undef _FILE_OFFSET_BITS
+
diff --git a/package/m4/patches/patch-lib_stdio_in_h b/package/m4/patches/patch-lib_stdio_in_h
new file mode 100644
index 000000000..3453282bc
--- /dev/null
+++ b/package/m4/patches/patch-lib_stdio_in_h
@@ -0,0 +1,10 @@
+--- m4-1.4.16.orig/lib/stdio.in.h 2011-03-01 17:39:29.000000000 +0100
++++ m4-1.4.16/lib/stdio.in.h 2012-10-02 09:26:29.000000000 +0200
+@@ -162,7 +162,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+ #undef gets
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+
+ #if @GNULIB_FOPEN@
+ # if @REPLACE_FOPEN@