From 19677ae003abec9c066b05a319d69c4b461693dc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 11 Feb 2013 16:33:43 +0100 Subject: fix compile issues --- package/parted/patches/patch-lib_config_h_in | 14 ++++++++++++++ package/parted/patches/patch-lib_stdio_in_h | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 package/parted/patches/patch-lib_config_h_in create mode 100644 package/parted/patches/patch-lib_stdio_in_h (limited to 'package/parted') 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 + + -- cgit v1.2.3