aboutsummaryrefslogtreecommitdiffstats
path: root/tools/genext2fs/patches/200-autoconf.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-23 19:33:28 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-23 19:37:20 +0200
commit07577c5ebe1a49b5c05659559c2fd220647b33f6 (patch)
tree2e4dfa5598203e4d9ec88de0567e69416ad8df66 /tools/genext2fs/patches/200-autoconf.patch
parent18f368fa35269aba4ad444d3a4bae06d4608a2c8 (diff)
downloadupstream-07577c5ebe1a49b5c05659559c2fd220647b33f6.tar.gz
upstream-07577c5ebe1a49b5c05659559c2fd220647b33f6.tar.bz2
upstream-07577c5ebe1a49b5c05659559c2fd220647b33f6.zip
tools: bring back genext2fs for apm821xx
This reverts commit 8c68c104eaba65273280c7a4727fbb10ab10f5af. It is used for apm821xx, which needs ext2 (not ext4) images for some devices. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/genext2fs/patches/200-autoconf.patch')
-rw-r--r--tools/genext2fs/patches/200-autoconf.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/genext2fs/patches/200-autoconf.patch b/tools/genext2fs/patches/200-autoconf.patch
new file mode 100644
index 0000000000..b3317bdd10
--- /dev/null
+++ b/tools/genext2fs/patches/200-autoconf.patch
@@ -0,0 +1,13 @@
+Index: genext2fs/m4/ac_func_scanf_can_malloc.m4
+===================================================================
+--- genext2fs.orig/m4/ac_func_scanf_can_malloc.m4 2011-09-03 21:28:49.000000000 +0200
++++ genext2fs/m4/ac_func_scanf_can_malloc.m4 2011-09-03 21:29:41.000000000 +0200
+@@ -9,7 +9,7 @@
+ # --------------------------------------
+ AC_DEFUN([AC_FUNC_SCANF_CAN_MALLOC],
+ [ AC_CHECK_HEADERS([stdlib.h])
+- AC_CACHE_CHECK([whether scanf can malloc], [ac_scanf_can_malloc],
++ AC_CACHE_CHECK([whether scanf can malloc], [ac_cv_func_scanf_can_malloc],
+ [ AC_RUN_IFELSE(
+ [ AC_LANG_PROGRAM(
+ [