summaryrefslogtreecommitdiffstats
path: root/package/e2fsprogs
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-05-03 04:21:20 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-05-03 04:21:20 +0000
commit027b6883e6837a44c1ae184339291ea315e674a3 (patch)
treed93a19f4c0c9125b0ee7ae9cd86e411bebd09fcc /package/e2fsprogs
parent48f9b7862e0231eae2c6a05378ced5e8769b2db9 (diff)
downloadbuildroot-novena-027b6883e6837a44c1ae184339291ea315e674a3.tar.gz
buildroot-novena-027b6883e6837a44c1ae184339291ea315e674a3.zip
Add patches for GCC-4.x so that packages will build properly.
Diffstat (limited to 'package/e2fsprogs')
-rw-r--r--package/e2fsprogs/e2fsprogs-gcc4.patch16
-rw-r--r--package/e2fsprogs/e2fsprogs.mk1
2 files changed, 17 insertions, 0 deletions
diff --git a/package/e2fsprogs/e2fsprogs-gcc4.patch b/package/e2fsprogs/e2fsprogs-gcc4.patch
new file mode 100644
index 000000000..ab275c721
--- /dev/null
+++ b/package/e2fsprogs/e2fsprogs-gcc4.patch
@@ -0,0 +1,16 @@
+diff -urN e2fsprogs-1.35/configure e2fsprogs-1.35-patched/configure
+--- e2fsprogs-1.35/configure 2004-02-23 22:10:41.000000000 -0600
++++ e2fsprogs-1.35-patched/configure 2005-05-02 22:44:39.475979235 -0500
+@@ -5879,12 +5879,6 @@
+
+ fi
+ echo "$ac_t""$ac_cv_type_intptr_t" 1>&6
+-if test $ac_cv_type_intptr_t = no; then
+- cat >> confdefs.h <<\EOF
+-#define intptr_t long
+-EOF
+-
+-fi
+
+ echo $ac_n "checking whether struct stat has a st_flags field""... $ac_c" 1>&6
+ echo "configure:5891: checking whether struct stat has a st_flags field" >&5
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 6291910a6..ebbceae75 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -18,6 +18,7 @@ e2fsprogs-source: $(DL_DIR)/$(E2FSPROGS_SOURCE)
$(E2FSPROGS_DIR)/.unpacked: $(DL_DIR)/$(E2FSPROGS_SOURCE)
$(E2FSPROGS_CAT) $(DL_DIR)/$(E2FSPROGS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(E2FSPROGS_DIR) package/e2fsprogs/ e2fsprogs*.patch
touch $(E2FSPROGS_DIR)/.unpacked
$(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked