From 0a4c9186ba062df2a66275526e80489a3a56292db882f3772ccbf1dfa4dd4284 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 12 Jan 2015 15:12:55 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=182 --- ncurses-5.9-overwrite.dif | 4 ++-- ncurses-5.9-patches.tar.bz2 | 4 ++-- ncurses.changes | 19 +++++++++++++++++++ ncurses.spec | 16 ++++++++++++---- 4 files changed, 35 insertions(+), 8 deletions(-) diff --git a/ncurses-5.9-overwrite.dif b/ncurses-5.9-overwrite.dif index a6cff04..aa6424e 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:6800: result: $with_overwrite" >&5 + echo "$as_me:6811: result: $with_overwrite" >&5 echo "${ECHO_T}$with_overwrite" >&6 +WITH_OVERWRITE="$with_overwrite" - echo "$as_me:6803: checking if external terminfo-database is used" >&5 + echo "$as_me:6814: 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 2d92832..e930c37 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:38d26777892aa619e583755bc64077f4dc3b5f0dcf728f0d4d7737994dbca620 -size 4221720 +oid sha256:22a07850327668d4730b2f8fc63ad640791ea9a9ad9c9826fb16c6f6120eecc2 +size 4255024 diff --git a/ncurses.changes b/ncurses.changes index 2a85f97..a2130be 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Jan 12 08:49:11 UTC 2015 - werner@suse.de + +- Add ncurses patch 20150110 + + add a step to generating ".map" files, to declare any remaining + symbols beginning with "_" as local, at the last version node. + + improve configure checks for pkg-config, addressing a variant found + with FreeBSD ports. + + modify win_driver.c to provide characters for special keys, like + ansi.sys, when keypad mode is off, rather than returning nothing at + all (discussion with Eli Zaretskii). + + add "broken_linker" and "hashed-db" configure options to combinations + use for generating the ".map" and ".sym" files. + + avoid using "ld" directly when creating shared library, to simplify + cross-compiles. Also drop "-Bsharable" option from shared-library + rules for FreeBSD and DragonFly (FreeBSD #196592). + + fix a memory leak in form library Free_RegularExpression_Type() + (report by Pavel Balaev). + ------------------------------------------------------------------- Wed Jan 7 14:39:03 UTC 2015 - werner@suse.de diff --git a/ncurses.spec b/ncurses.spec index 7654fcd..99f451e 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -16,8 +16,14 @@ # +%bcond_with hasheddb +%bcond_with symversion + Name: ncurses #!BuildIgnore: terminfo +%if %{with hasheddb} +BuildRequires: db-devel +%endif BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: screen @@ -379,10 +385,6 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src # No --enable-xmc-glitch because this seems to break yast2 # on console/konsole (no magic cookie support on those?) # - # No --with-termlib=tinfo because libncurses depend on - # libtinfo (is linked with) and therefore there is no - # advantage about splitting of a libtinfo (IMHO). - # %if 0%{?suse_version} > 1310 SO=$(rpm -ql gpm-devel|grep %{_libdir}) SO=%{_libdir}/$(readlink $SO) @@ -456,6 +458,12 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src --with-ticlib=tic \ --with-pc-suffix \ --enable-pc-files \ +%if %{with symversion} + --with-versioned-syms \ +%endif +%if %{with hasheddb} + --with-hashed-db \ +%endif --with-pkg-config-libdir=%{_libdir}/pkgconfig kill $pid #