X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/35a181a51f7c0776c9e067133d21bb9af8e661d9..6f210ed73ce0cef7d81c2f99832075b6793397a2:/package/ncurses/patches/500-cross.patch diff --git a/package/ncurses/patches/500-cross.patch b/package/ncurses/patches/500-cross.patch index ebebc225c..ace6252fe 100644 --- a/package/ncurses/patches/500-cross.patch +++ b/package/ncurses/patches/500-cross.patch @@ -1,12 +1,11 @@ -diff -ur ncurses-5.6/aclocal.m4 ncurses-5.6-owrt/aclocal.m4 ---- ncurses-5.6/aclocal.m4 2006-12-17 17:12:38.000000000 +0100 -+++ ncurses-5.6-owrt/aclocal.m4 2007-06-09 19:47:38.000000000 +0200 -@@ -3816,7 +3816,7 @@ +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -4298,7 +4298,7 @@ CF_EOF EXTRA_LDFLAGS="-Wl,-rpath,\${libdir} $EXTRA_LDFLAGS" fi CF_SHARED_SONAME -- MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,-lc -o $[@]' +- MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $[@]' + MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,$(LDFLAGS) -lc -o $[@]' ;; - openbsd2*) - CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC" + openbsd[[2-9]].*) + if test "$DFT_LWR_MODEL" = "shared" ; then