SHA256
3
0
forked from pool/ncurses
Dr. Werner Fink 2015-01-21 15:59:35 +00:00 committed by Git OBS Bridge
parent 7ec70cbd61
commit dae1d44a9a
3 changed files with 70 additions and 8 deletions

View File

@ -990,3 +990,23 @@
#define CANCELLED_NUMERIC (-2) #define CANCELLED_NUMERIC (-2)
#define CANCELLED_STRING (char *)(-1) #define CANCELLED_STRING (char *)(-1)
--- package/ncursest.map
+++ package/ncursest.map 2015-01-21 14:41:45.809518532 +0000
@@ -345,6 +345,7 @@ NCURSES_TINFO_5.7.20081102 {
_nc_screen_of;
_nc_set_no_padding;
_nc_set_tputs_trace;
+ _nc_sigprocmask;
_nc_stdscr;
_nc_strcodes;
_nc_strfnames;
--- package/ncursestw.map
+++ package/ncursestw.map 2015-01-21 14:42:04.281518331 +0000
@@ -346,6 +346,7 @@ NCURSES_TINFO_5.7.20081102 {
_nc_screen_of;
_nc_set_no_padding;
_nc_set_tputs_trace;
+ _nc_sigprocmask;
_nc_stdscr;
_nc_strcodes;
_nc_strfnames;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 21 15:58:08 UTC 2015 - werner@suse.de
- Now with symbol version control
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 21 13:24:17 UTC 2015 - werner@suse.de Wed Jan 21 13:24:17 UTC 2015 - werner@suse.de

View File

@ -17,7 +17,7 @@
%bcond_with hasheddb %bcond_with hasheddb
%bcond_with symversion %bcond_without symversion
Name: ncurses Name: ncurses
#!BuildIgnore: terminfo #!BuildIgnore: terminfo
@ -454,19 +454,23 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
--mandir=%{_mandir} \ --mandir=%{_mandir} \
--includedir=%{_incdir} \ --includedir=%{_incdir} \
"${WITHCHTYPE}" \ "${WITHCHTYPE}" \
--disable-widec \
--disable-tic-depends \ --disable-tic-depends \
--with-cxx-shared \ --with-cxx-shared \
--with-ticlib=tic \ --with-ticlib=tic \
--with-pc-suffix \ --with-pc-suffix \
--enable-pc-files \ --enable-pc-files \
%if %{with symversion} %if %{with symversion}
--with-versioned-syms \ %if %abi >= 6
--with-versioned-syms=${PWD}/package/ncursest.map \
%else
--with-versioned-syms=${PWD}/package/ncurses.map \
%endif
%endif %endif
%if %{with hasheddb} %if %{with hasheddb}
--with-hashed-db \ --with-hashed-db \
%endif %endif
--with-pkg-config-libdir=%{_libdir}/pkgconfig --with-pkg-config-libdir=%{_libdir}/pkgconfig
sleep 1
kill $pid kill $pid
# #
# The configure line # The configure line
@ -551,7 +555,16 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
# #
> $SCREENLOG > $SCREENLOG
tail -q -s 0.5 -f $SCREENLOG & pid=$! tail -q -s 0.5 -f $SCREENLOG & pid=$!
eval screen -L -D -m ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --disable-widec --disable-ext-colors --without-progs eval screen -L -D -m ./${c#*./} --with-pthread \
--enable-reentrant \
--enable-ext-mouse \
--disable-widec \
--disable-ext-colors \
%if %{with symversion}
--with-versioned-syms=${PWD}/package/ncursest.map \
%endif
--without-progs
sleep 1
kill $pid kill $pid
find -name fallback.o | xargs -r rm -vf find -name fallback.o | xargs -r rm -vf
cp fallback.c.build ncurses/fallback.c cp fallback.c.build ncurses/fallback.c
@ -582,10 +595,25 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
> $SCREENLOG > $SCREENLOG
tail -q -s 0.5 -f $SCREENLOG & pid=$! tail -q -s 0.5 -f $SCREENLOG & pid=$!
%if %abi >= 6 %if %abi >= 6
eval screen -L -D -m ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs eval screen -L -D -m ./${c#*./} --with-pthread \
%else --enable-reentrant \
eval screen -L -D -m ./${c#*./} --disable-ext-mouse --enable-widec --disable-ext-colors --without-progs --enable-ext-mouse \
--enable-widec \
--enable-ext-colors \
%if %{with symversion}
--with-versioned-syms=${PWD}/package/ncursestw.map \
%endif %endif
--without-progs
%else
eval screen -L -D -m ./${c#*./} --disable-ext-mouse \
--enable-widec \
--disable-ext-colors \
%if %{with symversion}
--with-versioned-syms=${PWD}/package/ncursesw.map \
%endif
--without-progs
%endif
sleep 1
kill $pid kill $pid
find -name fallback.o | xargs -r rm -vf find -name fallback.o | xargs -r rm -vf
cp fallback.c.build ncurses/fallback.c cp fallback.c.build ncurses/fallback.c
@ -613,7 +641,16 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
# #
> $SCREENLOG > $SCREENLOG
tail -q -s 0.5 -f $SCREENLOG & pid=$! tail -q -s 0.5 -f $SCREENLOG & pid=$!
eval screen -L -D -m ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs eval screen -L -D -m ./${c#*./} --with-pthread \
--enable-reentrant \
--enable-ext-mouse \
--enable-widec \
--enable-ext-colors \
%if %{with symversion}
--with-versioned-syms=${PWD}/package/ncursestw.map \
%endif
--without-progs
sleep 1
kill $pid kill $pid
find -name fallback.o | xargs -r rm -vf find -name fallback.o | xargs -r rm -vf
cp fallback.c.build ncurses/fallback.c cp fallback.c.build ncurses/fallback.c