summaryrefslogtreecommitdiff
path: root/package/ncurses/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/ncurses/patches/patch-configure
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
Diffstat (limited to 'package/ncurses/patches/patch-configure')
-rw-r--r--package/ncurses/patches/patch-configure16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/ncurses/patches/patch-configure b/package/ncurses/patches/patch-configure
new file mode 100644
index 000000000..1ef36c733
--- /dev/null
+++ b/package/ncurses/patches/patch-configure
@@ -0,0 +1,16 @@
+--- ncurses-5.7.orig/configure 2008-10-26 02:04:38.000000000 +0200
++++ ncurses-5.7/configure 2009-11-15 22:44:41.000000000 +0100
+@@ -3985,13 +3985,6 @@ echo "${ECHO_T}$BUILD_LIBS" >&6
+
+ : ${BUILD_CC:='${CC}'}
+
+- if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then
+- { { echo "$as_me:3989: error: Cross-build requires two compilers.
+-Use --with-build-cc to specify the native compiler." >&5
+-echo "$as_me: error: Cross-build requires two compilers.
+-Use --with-build-cc to specify the native compiler." >&2;}
+- { (exit 1); exit 1; }; }
+- fi
+
+ else
+ : ${BUILD_CC:='${CC}'}