From b83c514e2e2c0b1706a17c504307d806e159647d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 15 Nov 2009 23:07:47 +0100 Subject: update asterisk, fix aufs2 compile --- package/ncurses/Makefile | 1 + package/ncurses/patches/patch-configure | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 package/ncurses/patches/patch-configure (limited to 'package/ncurses') diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index db71137ce..35da4cb09 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -21,6 +21,7 @@ CONFIGURE_STYLE= gnu CONFIGURE_ENV+= ac_cv_linux_vers=2 CONFIGURE_ARGS+= --without-cxx \ --without-cxx-binding \ + --with-build-cc=${HOSTCC} \ --without-progs \ --with-fallbacks \ --without-ada \ 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}'} -- cgit v1.2.3