summaryrefslogtreecommitdiff
path: root/package/parted
diff options
context:
space:
mode:
Diffstat (limited to 'package/parted')
-rw-r--r--package/parted/patches/patch-lib_config_h_in14
-rw-r--r--package/parted/patches/patch-lib_stdio_in_h10
2 files changed, 24 insertions, 0 deletions
diff --git a/package/parted/patches/patch-lib_config_h_in b/package/parted/patches/patch-lib_config_h_in
new file mode 100644
index 000000000..ba4569ea9
--- /dev/null
+++ b/package/parted/patches/patch-lib_config_h_in
@@ -0,0 +1,14 @@
+--- parted-3.0.orig/lib/config.h.in 2011-05-30 09:07:32.000000000 +0200
++++ parted-3.0/lib/config.h.in 2013-02-11 15:50:00.000000000 +0100
+@@ -1385,6 +1385,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/parted/patches/patch-lib_stdio_in_h b/package/parted/patches/patch-lib_stdio_in_h
new file mode 100644
index 000000000..1fe225d7b
--- /dev/null
+++ b/package/parted/patches/patch-lib_stdio_in_h
@@ -0,0 +1,10 @@
+--- parted-3.0.orig/lib/stdio.in.h 2011-05-30 09:07:16.000000000 +0200
++++ parted-3.0/lib/stdio.in.h 2013-02-11 15:51:17.000000000 +0100
+@@ -735,7 +735,6 @@ _GL_CXXALIASWARN (gets);
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
+
+