From 9042ef11a4fef857c65334667e1df834520ebf77200d8b15ce05fc9e97c22491 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 27 Feb 2015 09:27:46 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=189 --- ncurses-5.9-overwrite.dif | 4 +-- ncurses-5.9-patches.tar.bz2 | 4 +-- ncurses-5.9.dif | 58 ++++++++++++++++++------------------- ncurses.changes | 12 ++++++++ 4 files changed, 45 insertions(+), 33 deletions(-) diff --git a/ncurses-5.9-overwrite.dif b/ncurses-5.9-overwrite.dif index 1dcc52c..23376cd 100644 --- a/ncurses-5.9-overwrite.dif +++ b/ncurses-5.9-overwrite.dif @@ -17,9 +17,9 @@ +++ configure 2013-09-30 09:17:52.000000000 +0000 @@ -6799,6 +6799,7 @@ else fi; - echo "$as_me:6892: result: $with_overwrite" >&5 + echo "$as_me:6899: result: $with_overwrite" >&5 echo "${ECHO_T}$with_overwrite" >&6 +WITH_OVERWRITE="$with_overwrite" - echo "$as_me:6895: checking if external terminfo-database is used" >&5 + echo "$as_me:6902: checking if external terminfo-database is used" >&5 echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6 diff --git a/ncurses-5.9-patches.tar.bz2 b/ncurses-5.9-patches.tar.bz2 index 21553a3..8b2432c 100644 --- a/ncurses-5.9-patches.tar.bz2 +++ b/ncurses-5.9-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2d568c2fd03e2d9866a612585254fc2549cddae68ffcbfa21602a29956e22999 -size 4347837 +oid sha256:441ddf562bb51a352e1771577cce6c0ac980cd8f2c66725f5b3a934d9d4d5417 +size 4386284 diff --git a/ncurses-5.9.dif b/ncurses-5.9.dif index a21093f..cf55c47 100644 --- a/ncurses-5.9.dif +++ b/ncurses-5.9.dif @@ -32,7 +32,7 @@ #include #if defined(__cplusplus) -@@ -4428,12 +4428,15 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <\$TMP CF_EOF if test -n "$cf_compress" ; then -@@ -4558,9 +4561,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <\$TMP CF_EOF if test -n "$cf_compress" ; then -@@ -11293,9 +11296,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man </dev/null ; then reqs="$PANEL_LIBRARY${suffix}, $MENU_LIBRARY${suffix}, $FORM_LIBRARY${suffix}, $MAIN_LIBRARY${suffix}" @@ -392,7 +392,7 @@ desc="$desc add-on library" fi -@@ -106,6 +109,8 @@ do +@@ -104,6 +107,8 @@ do if test $name != $TINFO_NAME ; then test -n "$reqs" && reqs="$reqs, " reqs="${reqs}${SUB_LIBRARY}${suffix}" @@ -401,7 +401,7 @@ fi fi -@@ -123,7 +128,7 @@ Description: $desc +@@ -121,7 +126,7 @@ Description: $desc Version: \${version} URL: http://invisible-island.net/ncurses Requires.private: $reqs @@ -411,11 +411,11 @@ Cflags: $CFLAGS EOF --- misc/ncurses-config.in -+++ misc/ncurses-config.in 2011-11-17 12:46:49.000000000 +0000 ++++ misc/ncurses-config.in 2015-02-27 09:16:29.033518189 +0000 @@ -98,7 +98,7 @@ while test $# -gt 0; do # compile/link --cflags) - INCS= + INCS="@PKG_CFLAGS@" - if test "x@WITH_OVERWRITE@" = xno ; then + if test "${THIS%[0-5]*}" != ncurses ; then INCS="$INCS -I${includedir}/${THIS}" @@ -786,7 +786,7 @@ ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, --- ncurses/Makefile.in +++ ncurses/Makefile.in 2011-02-28 13:39:31.000000000 +0000 -@@ -215,7 +215,7 @@ $(DESTDIR)$(libdir) : +@@ -216,7 +216,7 @@ $(DESTDIR)$(libdir) : ../lib : ; mkdir $@ ./fallback.c : $(tinfo)/MKfallback.sh diff --git a/ncurses.changes b/ncurses.changes index ad101b6..bf15274 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Feb 27 09:18:04 UTC 2015 - werner@suse.de + +- Add ncurses patch 20150221 + + capture define's related to -D_XOPEN_SOURCE from the configure check + and add those to the *-config and *.pc files, to simplify use for + the wide-character libraries. + + modify ncurses.spec to accommodate Fedora21's location of pkg-config + directory. + + correct sense of "--disable-lib-suffixes" configure option (report + by Nicolas Boos, cf: 20140426). + ------------------------------------------------------------------- Mon Feb 16 10:12:17 UTC 2015 - werner@suse.de