diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-10 17:08:25 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-10 17:08:25 +0000 |
commit | 001fbbcb59692a09577f5eee3d6f2fbabe5a6230 (patch) | |
tree | f97a01c968baf6d5946fbf882dafdbd4682a55fa /packages/parted/files/cross-gross-hack.patch | |
parent | 8d7824dc72be5193f1f22c631434eaef77dec5ce (diff) |
parted 1.8.7: Make buildable with latest linux-headers.
* Add an adhoc syscall macros include, and they are gone.
* Also add a hacky patch to make sure that libparted build properly
with autoconf 2.59, but it really requires 2.61.
Diffstat (limited to 'packages/parted/files/cross-gross-hack.patch')
-rw-r--r-- | packages/parted/files/cross-gross-hack.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/parted/files/cross-gross-hack.patch b/packages/parted/files/cross-gross-hack.patch new file mode 100644 index 0000000000..8d2db63661 --- /dev/null +++ b/packages/parted/files/cross-gross-hack.patch @@ -0,0 +1,33 @@ +diff -ur parted-1.8.7.org/configure parted-1.8.7/configure +--- parted-1.8.7.org/configure 2007-05-10 00:01:27.000000000 +0300 ++++ parted-1.8.7/configure 2007-07-10 15:46:42.000000000 +0300 +@@ -12556,7 +12556,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + if test "$cross_compiling" = yes; then +- ac_cv_func_malloc_0_nonnull=no ++ ac_cv_func_malloc_0_nonnull=yes + else + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +diff -ur parted-1.8.7.org/configure parted-1.8.7/configure +--- parted-1.8.7.org/configure 2007-07-10 15:48:07.000000000 +0300 ++++ parted-1.8.7/configure 2007-07-10 15:57:26.000000000 +0300 +@@ -12889,7 +12889,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + if test "$cross_compiling" = yes; then +- ac_cv_func_memcmp_working=no ++ ac_cv_func_memcmp_working=yes + else + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +@@ -13574,7 +13574,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + if test "$cross_compiling" = yes; then +- ac_cv_func_realloc_0_nonnull=no ++ ac_cv_func_realloc_0_nonnull=yes + else + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ |