[package] add missing cross-compilation patch from #5468, thanks swalker
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Jul 2009 07:52:49 +0000 (07:52 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 13 Jul 2009 07:52:49 +0000 (07:52 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16822 3c298f89-4303-0410-b956-a3cf2f4a3e73

utils/ipmitool/patches/101-cross_compile.patch [new file with mode: 0644]

diff --git a/utils/ipmitool/patches/101-cross_compile.patch b/utils/ipmitool/patches/101-cross_compile.patch
new file mode 100644 (file)
index 0000000..89992e8
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/configure
++++ b/configure
+@@ -24315,8 +24315,7 @@ if test "$cross_compiling" = yes; then
+   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+ See \`config.log' for more details." >&5
+ echo "$as_me: error: cannot run test program while cross compiling
+-See \`config.log' for more details." >&2;}
+-   { (exit 1); exit 1; }; }
++See \`config.log' for more details." >&2;} }
+ else
+   cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */