forked from pool/ncurses
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=53
This commit is contained in:
parent
6b701ee6d7
commit
e155f32103
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eedffa433a0cdfee3183eff64179e33684d9a7b1ab1da5597df14378724827c9
|
||||
size 6970
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1be06220869b279a822d7d52f0ccc3d5ade6a88bc0fd46118c09e18cbdb7a155
|
||||
size 2043172
|
@ -1,16 +1,6 @@
|
||||
--- configure
|
||||
+++ configure 2010-10-11 14:04:42.000000000 +0000
|
||||
@@ -6159,6 +6159,7 @@ else
|
||||
fi;
|
||||
echo "$as_me:6160: result: $with_overwrite" >&5
|
||||
echo "${ECHO_T}$with_overwrite" >&6
|
||||
+WITH_OVERWRITE="$with_overwrite"
|
||||
|
||||
echo "$as_me:6163: checking if external terminfo-database is used" >&5
|
||||
echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6
|
||||
--- configure.in
|
||||
+++ configure.in 2010-10-12 08:14:30.779926168 +0000
|
||||
@@ -435,6 +435,7 @@ AC_ARG_ENABLE(overwrite,
|
||||
+++ configure.in 2010-10-12 08:14:31.000000000 +0000
|
||||
@@ -415,6 +415,7 @@ AC_ARG_ENABLE(overwrite,
|
||||
[with_overwrite=$enableval],
|
||||
[if test "$prefix" = "/usr" ; then with_overwrite=yes; else with_overwrite=no; fi])
|
||||
AC_MSG_RESULT($with_overwrite)
|
||||
@ -18,3 +8,13 @@
|
||||
|
||||
AC_MSG_CHECKING(if external terminfo-database is used)
|
||||
AC_ARG_ENABLE(database,
|
||||
--- configure
|
||||
+++ configure 2010-10-11 14:04:42.000000000 +0000
|
||||
@@ -6314,6 +6314,7 @@ else
|
||||
fi;
|
||||
echo "$as_me:6315: result: $with_overwrite" >&5
|
||||
echo "${ECHO_T}$with_overwrite" >&6
|
||||
+WITH_OVERWRITE="$with_overwrite"
|
||||
|
||||
echo "$as_me:6318: checking if external terminfo-database is used" >&5
|
||||
echo $ECHO_N "checking if external terminfo-database is used... $ECHO_C" >&6
|
3
ncurses-5.9-patches.tar.bz2
Normal file
3
ncurses-5.9-patches.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3c122b20a1e56c9e22381ec331e28149a320f8b1fd1f187cbf7277e56cff435
|
||||
size 574500
|
65
ncurses-5.9-tack-tinfo.dif
Normal file
65
ncurses-5.9-tack-tinfo.dif
Normal file
@ -0,0 +1,65 @@
|
||||
--- tack/Makefile.in
|
||||
+++ tack/Makefile.in 2011-11-17 14:06:49.191147158 +0000
|
||||
@@ -99,8 +99,8 @@ LOCAL_LIBDIR = @top_builddir@/lib
|
||||
|
||||
LD = @LD@
|
||||
LINK = @LINK_PROGS@ $(CC)
|
||||
-LDFLAGS = @EXTRA_LDFLAGS@ \
|
||||
- @TICS_ARGS@ @TINFO_ARGS@ @LDFLAGS@ @LD_MODEL@ @LIBS@
|
||||
+LDFLAGS = @EXTRA_LDFLAGS@ @TICS_LDFLAGS@ @TINFO_LDFLAGS@ \
|
||||
+ @LDFLAGS@ @LD_MODEL@ @TICS_LIBS@ @TINFO_LIBS@ @LIBS@
|
||||
|
||||
LDFLAGS_LIBTOOL = $(LDFLAGS) $(CFLAGS_LIBTOOL)
|
||||
LDFLAGS_NORMAL = $(LDFLAGS) $(CFLAGS_NORMAL)
|
||||
--- tack/configure
|
||||
+++ tack/configure 2011-11-17 13:51:32.283146036 +0000
|
||||
@@ -2360,8 +2360,10 @@ LIB_SUFFIX=""
|
||||
LIB_UNINSTALL=""
|
||||
LINK_PROGS=""
|
||||
LOCAL_LDFLAGS=""
|
||||
-TICS_ARGS=""
|
||||
-TINFO_ARGS='$(LIBS_CURSES)'
|
||||
+TICS_LDFLAGS=""
|
||||
+TICS_LIBS=""
|
||||
+TINFO_LDFLAGS=""
|
||||
+TINFO_LIBS='$(LIBS_CURSES)'
|
||||
cf_cv_abi_version=""
|
||||
cf_cv_rel_version=""
|
||||
|
||||
@@ -9241,8 +9243,10 @@ s,@LIB_SUFFIX@,$LIB_SUFFIX,;t t
|
||||
s,@LIB_UNINSTALL@,$LIB_UNINSTALL,;t t
|
||||
s,@LINK_PROGS@,$LINK_PROGS,;t t
|
||||
s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t
|
||||
-s,@TICS_ARGS@,$TICS_ARGS,;t t
|
||||
-s,@TINFO_ARGS@,$TINFO_ARGS,;t t
|
||||
+s,@TICS_LDFLAGS@,$TICS_LDFLAGS,;t t
|
||||
+s,@TICS_LIBS@,$TICS_LIBS,;t t
|
||||
+s,@TINFO_LIBS@,$TINFO_LIBS,;t t
|
||||
+s,@TINFO_LDFLAGS2@,$TINFO_LDFLAGS2,;t t
|
||||
s,@cf_cv_abi_version@,$cf_cv_abi_version,;t t
|
||||
s,@cf_cv_rel_version@,$cf_cv_rel_version,;t t
|
||||
s,@NCURSES_TREE@,$NCURSES_TREE,;t t
|
||||
--- tack/configure.in
|
||||
+++ tack/configure.in 2011-11-17 13:46:07.751146206 +0000
|
||||
@@ -75,8 +75,10 @@ LIB_SUFFIX="" AC_SUBST(LIB_SUFFIX)
|
||||
LIB_UNINSTALL="" AC_SUBST(LIB_UNINSTALL)
|
||||
LINK_PROGS="" AC_SUBST(LINK_PROGS)
|
||||
LOCAL_LDFLAGS="" AC_SUBST(LOCAL_LDFLAGS)
|
||||
-TICS_ARGS="" AC_SUBST(TICS_ARGS)
|
||||
-TINFO_ARGS='$(LIBS_CURSES)' AC_SUBST(TINFO_ARGS)
|
||||
+TICS_LDFLAGS="" AC_SUBST(TICS_LDFLAGS)
|
||||
+TICS_LIBS="" AC_SUBST(TICS_LIBS)
|
||||
+TINFO_LDFLAGS="" AC_SUBST(TINFO_LDFLAGS)
|
||||
+TINFO_LIBS='$(LIBS_CURSES)' AC_SUBST(TINFO_LIBS)
|
||||
cf_cv_abi_version="" AC_SUBST(cf_cv_abi_version)
|
||||
cf_cv_rel_version="" AC_SUBST(cf_cv_rel_version)
|
||||
|
||||
@@ -160,7 +162,7 @@ strstr \
|
||||
CF_SYS_TIME_SELECT
|
||||
CF_SIG_ATOMIC_T
|
||||
|
||||
-TICS_ARGS="$LIBS"
|
||||
+TICS_LIBS="$LIBS"
|
||||
LIBS=
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
@ -1,6 +1,6 @@
|
||||
--- aclocal.m4
|
||||
+++ aclocal.m4 2010-10-11 13:57:42.000000000 +0000
|
||||
@@ -549,7 +549,7 @@ AC_MSG_CHECKING([for size of bool])
|
||||
@@ -595,7 +595,7 @@ AC_MSG_CHECKING([for size of bool])
|
||||
AC_CACHE_VAL(cf_cv_type_of_bool,[
|
||||
rm -f cf_test.out
|
||||
AC_TRY_RUN([
|
||||
@ -9,7 +9,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
@@ -3851,12 +3851,15 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -4165,12 +4165,15 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
echo '? missing rename for '\$cf_source
|
||||
cf_target="\$cf_source"
|
||||
fi
|
||||
@ -27,7 +27,7 @@
|
||||
sed -f $cf_man_alias \\
|
||||
CF_EOF
|
||||
|
||||
@@ -3866,7 +3869,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -4180,7 +4183,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
CF_EOF
|
||||
else
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
@ -36,7 +36,7 @@
|
||||
CF_EOF
|
||||
fi
|
||||
|
||||
@@ -3899,7 +3902,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -4220,7 +4223,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
mv \$TMP.$cf_so_strip \$TMP
|
||||
fi
|
||||
fi
|
||||
@ -45,7 +45,7 @@
|
||||
CF_EOF
|
||||
fi
|
||||
|
||||
@@ -3908,23 +3911,23 @@ case "$MANPAGE_FORMAT" in #(vi
|
||||
@@ -4229,23 +4232,23 @@ case "$MANPAGE_FORMAT" in #(vi
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
if test \$form = format ; then
|
||||
# BSDI installs only .0 suffixes in the cat directories
|
||||
@ -75,7 +75,7 @@
|
||||
for cf_alias in \$aliases
|
||||
do
|
||||
if test \$section = 1 ; then
|
||||
@@ -3933,7 +3936,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -4254,7 +4257,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
|
||||
if test "$MANPAGE_SYMLINKS" = yes ; then
|
||||
if test -f \$cf_alias\${suffix} ; then
|
||||
@ -84,7 +84,7 @@
|
||||
then
|
||||
continue
|
||||
fi
|
||||
@@ -3943,18 +3946,18 @@ CF_EOF
|
||||
@@ -4264,18 +4267,18 @@ CF_EOF
|
||||
case "x$LN_S" in #(vi
|
||||
*-f) #(vi
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
@ -106,7 +106,7 @@
|
||||
echo ".so \$cf_source" >\$TMP
|
||||
CF_EOF
|
||||
if test -n "$cf_compress" ; then
|
||||
@@ -3974,9 +3977,9 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -4295,9 +4298,9 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
)
|
||||
)
|
||||
elif test \$verb = removing ; then
|
||||
@ -119,7 +119,7 @@
|
||||
)
|
||||
test -d \$cf_subdir\${section} &&
|
||||
test -n "\$aliases" && (
|
||||
@@ -3996,6 +3999,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -4317,6 +4320,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
# echo ".hy 0"
|
||||
cat \$TMP
|
||||
fi
|
||||
@ -129,8 +129,8 @@
|
||||
done
|
||||
--- configure.in
|
||||
+++ configure.in 2010-10-12 08:54:24.000000000 +0000
|
||||
@@ -1763,6 +1763,7 @@ if test "$with_termlib" != no ; then
|
||||
TINFO_ARGS="-L${LIB_DIR} $TEST_ARGS"
|
||||
@@ -1727,6 +1727,7 @@ if test "$with_termlib" != no ; then
|
||||
TINFO_LIBS="$TEST_ARGS"
|
||||
SHLIB_LIST="$SHLIB_LIST -l${TINFO_LIB_SUFFIX}"
|
||||
fi
|
||||
+ TINFO_ARGS="$TINFO_ARGS -L${LIB_DIR} -l${LIB_NAME}${DFT_ARG_SUFFIX}"
|
||||
@ -139,16 +139,16 @@
|
||||
TINFO_NAME=${LIB_NAME}
|
||||
--- configure
|
||||
+++ configure 2010-10-12 08:54:46.000000000 +0000
|
||||
@@ -5401,7 +5401,7 @@ irix*) #(vi
|
||||
@@ -5542,7 +5542,7 @@ irix*) #(vi
|
||||
fi
|
||||
;;
|
||||
linux*|gnu*|k*bsd*-gnu) #(vi
|
||||
- LD_RPATH_OPT="-Wl,-rpath,"
|
||||
+ LD_RPATH_OPT="-Wl,-rpath-link,"
|
||||
;;
|
||||
openbsd[2-9].*) #(vi
|
||||
openbsd[2-9].*|mirbsd*) #(vi
|
||||
LD_RPATH_OPT="-Wl,-rpath,"
|
||||
@@ -9890,12 +9890,15 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -10611,12 +10611,15 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
echo '? missing rename for '\$cf_source
|
||||
cf_target="\$cf_source"
|
||||
fi
|
||||
@ -166,7 +166,7 @@
|
||||
sed -f $cf_man_alias \\
|
||||
CF_EOF
|
||||
|
||||
@@ -9905,7 +9908,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -10626,7 +10629,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
CF_EOF
|
||||
else
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
@ -175,7 +175,7 @@
|
||||
CF_EOF
|
||||
fi
|
||||
|
||||
@@ -9938,7 +9941,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -10666,7 +10669,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
mv \$TMP.$cf_so_strip \$TMP
|
||||
fi
|
||||
fi
|
||||
@ -184,7 +184,7 @@
|
||||
CF_EOF
|
||||
fi
|
||||
|
||||
@@ -9947,23 +9950,23 @@ case "$MANPAGE_FORMAT" in #(vi
|
||||
@@ -10675,23 +10678,23 @@ case "$MANPAGE_FORMAT" in #(vi
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
if test \$form = format ; then
|
||||
# BSDI installs only .0 suffixes in the cat directories
|
||||
@ -214,7 +214,7 @@
|
||||
for cf_alias in \$aliases
|
||||
do
|
||||
if test \$section = 1 ; then
|
||||
@@ -9972,7 +9975,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -10700,7 +10703,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
|
||||
if test "$MANPAGE_SYMLINKS" = yes ; then
|
||||
if test -f \$cf_alias\${suffix} ; then
|
||||
@ -223,7 +223,7 @@
|
||||
then
|
||||
continue
|
||||
fi
|
||||
@@ -9982,18 +9985,18 @@ CF_EOF
|
||||
@@ -10710,18 +10713,18 @@ CF_EOF
|
||||
case "x$LN_S" in #(vi
|
||||
*-f) #(vi
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
@ -245,7 +245,7 @@
|
||||
echo ".so \$cf_source" >\$TMP
|
||||
CF_EOF
|
||||
if test -n "$cf_compress" ; then
|
||||
@@ -10013,9 +10016,9 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -10741,9 +10744,9 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
)
|
||||
)
|
||||
elif test \$verb = removing ; then
|
||||
@ -258,7 +258,7 @@
|
||||
)
|
||||
test -d \$cf_subdir\${section} &&
|
||||
test -n "\$aliases" && (
|
||||
@@ -10035,6 +10038,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -10763,6 +10766,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
# echo ".hy 0"
|
||||
cat \$TMP
|
||||
fi
|
||||
@ -266,8 +266,8 @@
|
||||
;;
|
||||
esac
|
||||
done
|
||||
@@ -17551,7 +17555,7 @@ else
|
||||
#line 17550 "configure"
|
||||
@@ -18507,7 +18511,7 @@ else
|
||||
#line 18506 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
-#include <stdlib.h>
|
||||
@ -275,8 +275,8 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
@@ -18705,6 +18709,7 @@ if test "$with_termlib" != no ; then
|
||||
TINFO_ARGS="-L${LIB_DIR} $TEST_ARGS"
|
||||
@@ -19808,6 +19812,7 @@ if test "$with_termlib" != no ; then
|
||||
TINFO_LIBS="$TEST_ARGS"
|
||||
SHLIB_LIST="$SHLIB_LIST -l${TINFO_LIB_SUFFIX}"
|
||||
fi
|
||||
+ TINFO_ARGS="$TINFO_ARGS -L${LIB_DIR} -l${LIB_NAME}${DFT_ARG_SUFFIX}"
|
||||
@ -348,18 +348,18 @@
|
||||
called \fIwindows\fR, which can be thought of as two-dimensional
|
||||
arrays of characters representing all or part of a CRT screen.
|
||||
--- misc/ncurses-config.in
|
||||
+++ misc/ncurses-config.in 2010-01-12 10:43:31.000000000 +0000
|
||||
@@ -75,7 +75,7 @@ while test $# -gt 0; do
|
||||
if test "${includedir}" != /usr/include ; then
|
||||
INCS="-I${includedir}"
|
||||
fi
|
||||
+++ misc/ncurses-config.in 2011-11-17 12:46:48.587146941 +0000
|
||||
@@ -73,7 +73,7 @@ while test $# -gt 0; do
|
||||
# compile/link
|
||||
--cflags)
|
||||
INCS=
|
||||
- if test "x@WITH_OVERWRITE@" = xno ; then
|
||||
+ if test "${THIS%[0-5]*}" != ncurses ; then
|
||||
INCS="$INCS -I${includedir}/${THIS}"
|
||||
fi
|
||||
sed -e 's,^[ ]*,,' -e 's, [ ]*, ,g' -e 's,[ ]*$,,' <<-ENDECHO
|
||||
if test "${includedir}" != /usr/include ; then
|
||||
--- misc/terminfo.src
|
||||
+++ misc/terminfo.src 2011-02-28 13:37:36.107926455 +0000
|
||||
+++ misc/terminfo.src 2011-11-17 12:48:39.183647547 +0000
|
||||
@@ -301,7 +301,9 @@ dumb|80-column dumb tty,
|
||||
am,
|
||||
cols#80,
|
||||
@ -371,7 +371,7 @@
|
||||
gn, use=dumb,
|
||||
lpr|printer|line printer,
|
||||
OTbs, hc, os,
|
||||
@@ -936,9 +938,15 @@ linux-c|linux console 1.3.6+ for older n
|
||||
@@ -934,9 +936,15 @@ linux-c|linux console 1.3.6+ for older n
|
||||
# The 2.2.x kernels add a private mode that sets the cursor type; use that to
|
||||
# get a block cursor for cvvis.
|
||||
# reported by Frank Heckenbach <frank@g-n-u.de>.
|
||||
@ -381,14 +381,14 @@
|
||||
+# missed cvvis entry. A `\E[?1c' in civis will cause a visible but
|
||||
+# zero high cusor ... re-add it for kernels 2.6.11+
|
||||
+#
|
||||
linux|linux console,
|
||||
linux2.2|linux 2.2.x console,
|
||||
civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c,
|
||||
- cvvis=\E[?25h\E[?8c, use=linux-c-nc,
|
||||
+ cvvis=\E[?25h\E[?0c, use=linux-c-nc,
|
||||
|
||||
# Subject: linux 2.6.26 vt back_color_erase
|
||||
# Changes to the Linux console driver broke bce model as reported in
|
||||
@@ -2376,6 +2384,7 @@ vt132|DEC vt132,
|
||||
# Linux 2.6.x has a fix for SI/SO to work with UTF-8 encoding added here:
|
||||
# http://lkml.indiana.edu/hypermail/linux/kernel/0602.2/0868.html
|
||||
@@ -2441,6 +2449,7 @@ vt132|DEC vt132,
|
||||
# at the top of the keyboard. The "DO" key is used as F10 to avoid conflict
|
||||
# with the key marked (ESC) on the vt220. See vt220d for an alternate mapping.
|
||||
# PF1--PF4 are used as F1--F4.
|
||||
@ -396,7 +396,7 @@
|
||||
#
|
||||
vt220-old|vt200-old|DEC VT220 in vt100 emulation mode,
|
||||
OTbs, OTpt, am, mir, xenl, xon,
|
||||
@@ -2385,7 +2394,7 @@ vt220-old|vt200-old|DEC VT220 in vt100 e
|
||||
@@ -2450,7 +2459,7 @@ vt220-old|vt200-old|DEC VT220 in vt100 e
|
||||
bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
|
||||
clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
|
||||
csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
|
||||
@ -405,7 +405,7 @@
|
||||
dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
|
||||
if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
|
||||
is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B,
|
||||
@@ -2533,6 +2542,7 @@ vt320nam|v320n|DEC VT320 in vt100 emul.
|
||||
@@ -2598,6 +2607,7 @@ vt320nam|v320n|DEC VT320 in vt100 emul.
|
||||
# to SMASH the 1k-barrier...
|
||||
# From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
|
||||
# (vt320: uncommented <fsl> --esr)
|
||||
@ -413,7 +413,7 @@
|
||||
vt320|vt300|dec vt320 7 bit terminal,
|
||||
am, eslok, hs, mir, msgr, xenl,
|
||||
cols#80, lines#24, wsl#80,
|
||||
@@ -2542,7 +2552,7 @@ vt320|vt300|dec vt320 7 bit terminal,
|
||||
@@ -2607,7 +2617,7 @@ vt320|vt300|dec vt320 7 bit terminal,
|
||||
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
|
||||
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
|
||||
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
|
||||
@ -422,7 +422,7 @@
|
||||
ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$},
|
||||
home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL,
|
||||
il1=\E[L, ind=\ED,
|
||||
@@ -2976,13 +2986,14 @@ putty-vt100|VT100+ keyboard layout,
|
||||
@@ -3041,13 +3051,14 @@ putty-vt100|VT100+ keyboard layout,
|
||||
# retrieving the window title, and for setting the window size (i.e., using
|
||||
# "resize -s"), though it does not pass SIGWINCH to the application if the
|
||||
# user resizes the window with the mouse.
|
||||
@ -438,7 +438,7 @@
|
||||
dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
|
||||
flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
|
||||
il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~,
|
||||
@@ -3182,6 +3193,7 @@ xterm-r6|xterm-old|xterm X11R6 version,
|
||||
@@ -3248,6 +3259,7 @@ xterm-r6|xterm-old|xterm X11R6 version,
|
||||
use=vt100+enq,
|
||||
# This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
|
||||
# The name has been changed and some aliases have been removed.
|
||||
@ -446,7 +446,7 @@
|
||||
xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
|
||||
OTbs, am, bce, km, mir, msgr, xenl,
|
||||
cols#80, it#8, lines#24, ncv@,
|
||||
@@ -3191,7 +3203,7 @@ xterm-xf86-v32|xterm terminal emulator (
|
||||
@@ -3257,7 +3269,7 @@ xterm-xf86-v32|xterm terminal emulator (
|
||||
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
|
||||
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
|
||||
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
|
||||
@ -455,7 +455,7 @@
|
||||
ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
|
||||
flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
|
||||
ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
|
||||
@@ -3631,8 +3643,26 @@ xterm-noapp|xterm with cursor keys in no
|
||||
@@ -3724,8 +3736,26 @@ xterm-noapp|xterm with cursor keys in no
|
||||
xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
|
||||
lines#24, use=xterm-old,
|
||||
|
||||
@ -482,17 +482,17 @@
|
||||
use=xterm-new,
|
||||
|
||||
# This entry assumes that xterm's handling of VT100 SI/SO is disabled by
|
||||
@@ -3730,7 +3760,7 @@ xterm-color|nxterm|generic color xterm,
|
||||
op=\E[m, use=xterm-r6, use=klone+color,
|
||||
@@ -3895,7 +3925,7 @@ xterms-sun|small (80x24) xterm with sunF
|
||||
|
||||
#### GNOME (VTE)
|
||||
# this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
|
||||
-gnome-rh62|Gnome terminal,
|
||||
+gnome-rh62|Gnome terminal on Red Hat,
|
||||
bce,
|
||||
kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
|
||||
use=xterm-color,
|
||||
@@ -3876,10 +3906,14 @@ mgt|Multi GNOME Terminal,
|
||||
|
||||
@@ -4043,10 +4073,14 @@ mgt|Multi GNOME Terminal,
|
||||
#### KDE
|
||||
# This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
|
||||
# or not is debatable).
|
||||
-kvt|KDE terminal,
|
||||
@ -507,7 +507,7 @@
|
||||
# Konsole 1.0.1
|
||||
# (formerly known as kvt)
|
||||
#
|
||||
@@ -3994,14 +4028,14 @@ konsole-256color|KDE console window with
|
||||
@@ -4162,14 +4196,14 @@ konsole-256color|KDE console window with
|
||||
mlterm|multi lingual terminal emulator,
|
||||
am, eslok, km, mc5i, mir, msgr, npc, xenl, XT,
|
||||
colors#8, cols#80, it#8, lines#24, pairs#64,
|
||||
@ -525,7 +525,7 @@
|
||||
home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
|
||||
ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
|
||||
is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
|
||||
@@ -4055,6 +4089,7 @@ mlterm-256color|mlterm 3.0 with xterm 25
|
||||
@@ -4224,6 +4258,7 @@ mlterm-256color|mlterm 3.0 with xterm 25
|
||||
# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
|
||||
# Since rxvt is not really compatible with xterm, it should be configured as
|
||||
# "rxvt" or "rxvt-color".
|
||||
@ -533,7 +533,7 @@
|
||||
#
|
||||
# removed dch/dch1 because they are inconsistent with bce/ech -TD
|
||||
# remove km as per tack test -TD
|
||||
@@ -4066,13 +4101,14 @@ rxvt-basic|rxvt terminal base (X Window
|
||||
@@ -4235,13 +4270,14 @@ rxvt-basic|rxvt terminal base (X Window
|
||||
clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
|
||||
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
|
||||
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
|
||||
@ -551,7 +551,7 @@
|
||||
rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
|
||||
rmul=\E[24m,
|
||||
rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
|
||||
@@ -4081,7 +4117,7 @@ rxvt-basic|rxvt terminal base (X Window
|
||||
@@ -4250,7 +4286,7 @@ rxvt-basic|rxvt terminal base (X Window
|
||||
sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
|
||||
sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
|
||||
smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq,
|
||||
@ -560,7 +560,7 @@
|
||||
# Key Codes from rxvt reference:
|
||||
#
|
||||
# Note: Shift + F1-F10 generates F11-F20
|
||||
@@ -4164,8 +4200,8 @@ rxvt-basic|rxvt terminal base (X Window
|
||||
@@ -4333,8 +4369,8 @@ rxvt-basic|rxvt terminal base (X Window
|
||||
# Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
|
||||
rxvt+pcfkeys|fragment for PC-style fkeys,
|
||||
kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
|
||||
@ -571,7 +571,7 @@
|
||||
kend=\E[8~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
|
||||
kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
|
||||
kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
|
||||
@@ -4203,6 +4239,39 @@ rxvt-cygwin-native|rxvt terminal emulato
|
||||
@@ -4372,6 +4408,39 @@ rxvt-cygwin-native|rxvt terminal emulato
|
||||
acsc=+\257\,\256-\^0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376,
|
||||
use=rxvt-cygwin,
|
||||
|
||||
@ -611,7 +611,7 @@
|
||||
# This variant is supposed to work with rxvt 2.7.7 when compiled with
|
||||
# NO_BRIGHTCOLOR defined. rxvt needs more work...
|
||||
rxvt-16color|xterm with 16 colors like aixterm,
|
||||
@@ -4230,7 +4299,7 @@ mrxvt-256color|multitabbed rxvt with 256
|
||||
@@ -4401,7 +4470,7 @@ mrxvt-256color|multitabbed rxvt with 256
|
||||
# Eterm 0.9.3
|
||||
#
|
||||
# removed kf0 which conflicts with kf10 -TD
|
||||
@ -620,7 +620,7 @@
|
||||
# Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT
|
||||
# but does otherwise follow the rxvt+pcfkeys model -TD
|
||||
# remove nonworking flash -TD
|
||||
@@ -4244,13 +4313,13 @@ Eterm|Eterm-color|Eterm with xterm-style
|
||||
@@ -4415,13 +4484,13 @@ Eterm|Eterm-color|Eterm with xterm-style
|
||||
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
|
||||
cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
|
||||
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
|
||||
@ -636,7 +636,7 @@
|
||||
kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
|
||||
mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
|
||||
rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=,
|
||||
@@ -4622,7 +4691,7 @@ pty|4bsd pseudo teletype,
|
||||
@@ -4850,7 +4919,7 @@ pty|4bsd pseudo teletype,
|
||||
smso=\Ea$, smul=\Ea!, use=cbunix,
|
||||
|
||||
# The codes supported by the term.el terminal emulation in GNU Emacs 19.30
|
||||
@ -645,7 +645,7 @@
|
||||
am, mir, xenl,
|
||||
cols#80, lines#24,
|
||||
bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
|
||||
@@ -4635,6 +4704,13 @@ eterm|gnu emacs term.el terminal emulati
|
||||
@@ -4863,6 +4932,13 @@ eterm|gnu emacs term.el terminal emulati
|
||||
rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
|
||||
sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
|
||||
smul=\E[4m,
|
||||
@ -659,7 +659,7 @@
|
||||
|
||||
# The codes supported by the term.el terminal emulation in GNU Emacs 22.2
|
||||
eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
|
||||
@@ -4683,7 +4759,7 @@ screen|VT 100/ANSI X3.64 virtual termina
|
||||
@@ -4911,7 +4987,7 @@ screen|VT 100/ANSI X3.64 virtual termina
|
||||
cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
|
||||
dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
|
||||
flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
|
||||
@ -668,7 +668,7 @@
|
||||
kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
|
||||
kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
|
||||
kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
|
||||
@@ -4862,7 +4938,7 @@ screen2|old VT 100/ANSI X3.64 virtual te
|
||||
@@ -5090,7 +5166,7 @@ screen2|old VT 100/ANSI X3.64 virtual te
|
||||
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
|
||||
dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
|
||||
el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
|
||||
@ -677,7 +677,7 @@
|
||||
kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
|
||||
kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
|
||||
nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
|
||||
@@ -6581,7 +6657,7 @@ hp700-wy|HP700/41 emulating wyse30,
|
||||
@@ -6809,7 +6885,7 @@ hp700-wy|HP700/41 emulating wyse30,
|
||||
ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
|
||||
sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
|
||||
smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
|
||||
@ -686,7 +686,7 @@
|
||||
am, da, db, xhp,
|
||||
cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
|
||||
acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
|
||||
@@ -9712,6 +9788,7 @@ msk22714|mskermit22714|UCB MS-DOS Kermit
|
||||
@@ -9940,6 +10016,7 @@ msk22714|mskermit22714|UCB MS-DOS Kermit
|
||||
# at support for the VT320 itself.
|
||||
# Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
|
||||
# (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
|
||||
@ -694,7 +694,7 @@
|
||||
vt320-k3|MS-Kermit 3.00's vt320 emulation,
|
||||
am, eslok, hs, km, mir, msgr, xenl,
|
||||
cols#80, it#8, lines#49, pb#9600, vt#3,
|
||||
@@ -9721,7 +9798,7 @@ vt320-k3|MS-Kermit 3.00's vt320 emulatio
|
||||
@@ -9949,7 +10026,7 @@ vt320-k3|MS-Kermit 3.00's vt320 emulatio
|
||||
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
|
||||
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
|
||||
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
|
||||
@ -703,7 +703,7 @@
|
||||
dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
|
||||
flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
|
||||
fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
|
||||
@@ -13996,7 +14073,7 @@ ibm3101|i3101|IBM 3101-10,
|
||||
@@ -14225,7 +14302,7 @@ ibm3101|i3101|IBM 3101-10,
|
||||
cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
|
||||
el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
|
||||
kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH,
|
||||
@ -712,7 +712,7 @@
|
||||
is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
|
||||
sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;,
|
||||
sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162,
|
||||
@@ -14224,7 +14301,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
|
||||
@@ -14453,7 +14530,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
|
||||
sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
|
||||
sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m,
|
||||
tbc=\E[3g,
|
||||
@ -722,8 +722,8 @@
|
||||
s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
|
||||
ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
|
||||
--- ncurses/Makefile.in
|
||||
+++ ncurses/Makefile.in 2011-02-28 13:39:30.571925904 +0000
|
||||
@@ -205,7 +205,7 @@ $(DESTDIR)$(libdir) :
|
||||
+++ ncurses/Makefile.in 2011-02-28 13:39:31.000000000 +0000
|
||||
@@ -206,7 +206,7 @@ $(DESTDIR)$(libdir) :
|
||||
../lib : ; mkdir $@
|
||||
|
||||
./fallback.c : $(tinfo)/MKfallback.sh
|
||||
@ -734,7 +734,7 @@
|
||||
sh -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@
|
||||
--- ncurses/curses.priv.h
|
||||
+++ ncurses/curses.priv.h 2006-05-18 14:07:15.000000000 +0000
|
||||
@@ -1875,6 +1875,8 @@ extern NCURSES_EXPORT(char *) _nc_trace_
|
||||
@@ -1926,6 +1926,8 @@ extern NCURSES_EXPORT(char *) _nc_trace_
|
||||
extern NCURSES_EXPORT(char *) _nc_tracechar (SCREEN *, int);
|
||||
extern NCURSES_EXPORT(char *) _nc_tracemouse (SCREEN *, MEVENT const *);
|
||||
extern NCURSES_EXPORT(int) _nc_access (const char *, int);
|
||||
@ -792,17 +792,17 @@
|
||||
|
||||
--- ncurses/tinfo/access.c
|
||||
+++ ncurses/tinfo/access.c 2010-10-11 13:57:42.000000000 +0000
|
||||
@@ -36,6 +36,9 @@
|
||||
#include <sys/stat.h>
|
||||
@@ -35,6 +35,9 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#include <tic.h>
|
||||
+#ifdef linux
|
||||
+# include <sys/fsuid.h>
|
||||
+#endif
|
||||
|
||||
MODULE_ID("$Id: access.c,v 1.16 2010/01/23 17:57:43 tom Exp $")
|
||||
MODULE_ID("$Id: access.c,v 1.20 2011/06/05 00:48:00 tom Exp $")
|
||||
|
||||
@@ -105,6 +108,30 @@ _nc_basename(char *path)
|
||||
@@ -112,6 +115,30 @@ _nc_basename(char *path)
|
||||
return path + _nc_pathlast(path);
|
||||
}
|
||||
|
||||
@ -834,8 +834,8 @@
|
||||
_nc_access(const char *path, int mode)
|
||||
{
|
||||
--- ncurses/tinfo/lib_setup.c
|
||||
+++ ncurses/tinfo/lib_setup.c 2011-02-28 13:40:41.847925526 +0000
|
||||
@@ -556,6 +556,9 @@ _nc_locale_breaks_acs(TERMINAL * termp)
|
||||
+++ ncurses/tinfo/lib_setup.c 2011-02-28 13:40:42.000000000 +0000
|
||||
@@ -538,6 +538,9 @@ _nc_locale_breaks_acs(TERMINAL * termp)
|
||||
} else if ((value = tigetnum("U8")) >= 0) {
|
||||
result = value; /* use extension feature */
|
||||
} else if ((env = getenv("TERM")) != 0) {
|
||||
@ -846,16 +846,16 @@
|
||||
result = 1; /* always broken */
|
||||
} else if (strstr(env, "screen") != 0
|
||||
--- ncurses/tinfo/read_entry.c
|
||||
+++ ncurses/tinfo/read_entry.c 2011-02-28 13:41:44.063927030 +0000
|
||||
@@ -369,6 +369,7 @@ _nc_read_file_entry(const char *const fi
|
||||
+++ ncurses/tinfo/read_entry.c 2011-02-28 13:41:44.000000000 +0000
|
||||
@@ -372,6 +372,7 @@ _nc_read_file_entry(const char *const fi
|
||||
int limit;
|
||||
char buffer[MAX_ENTRY_SIZE + 1];
|
||||
|
||||
+ _nc_fsid();
|
||||
if (_nc_access(filename, R_OK) < 0
|
||||
|| (fp = fopen(filename, "rb")) == 0) {
|
||||
T(("cannot open terminfo %s (errno=%d)", filename, errno));
|
||||
@@ -386,6 +387,7 @@ _nc_read_file_entry(const char *const fi
|
||||
TR(TRACE_DATABASE, ("cannot open terminfo %s (errno=%d)", filename, errno));
|
||||
@@ -389,6 +390,7 @@ _nc_read_file_entry(const char *const fi
|
||||
}
|
||||
fclose(fp);
|
||||
}
|
||||
@ -864,8 +864,8 @@
|
||||
return (code);
|
||||
}
|
||||
--- ncurses/tinfo/read_termcap.c
|
||||
+++ ncurses/tinfo/read_termcap.c 2006-05-18 14:07:15.000000000 +0000
|
||||
@@ -323,14 +323,18 @@ _nc_getent(
|
||||
+++ ncurses/tinfo/read_termcap.c 2011-11-17 12:50:07.503147538 +0000
|
||||
@@ -322,14 +322,18 @@ _nc_getent(
|
||||
*/
|
||||
if (fd >= 0) {
|
||||
(void) lseek(fd, (off_t) 0, SEEK_SET);
|
||||
@ -891,10 +891,10 @@
|
||||
myfd = TRUE;
|
||||
}
|
||||
lineno = 0;
|
||||
@@ -1101,8 +1105,10 @@ _nc_read_termcap_entry(const char *const
|
||||
@@ -1115,8 +1119,10 @@ _nc_read_termcap_entry(const char *const
|
||||
for (i = 0; i < filecount; i++) {
|
||||
|
||||
T(("Looking for %s in %s", tn, termpaths[i]));
|
||||
TR(TRACE_DATABASE, ("Looking for %s in %s", tn, termpaths[i]));
|
||||
+ _nc_fsid();
|
||||
if (_nc_access(termpaths[i], R_OK) == 0
|
||||
&& (fp = fopen(termpaths[i], "r")) != (FILE *) 0) {
|
||||
@ -902,7 +902,7 @@
|
||||
_nc_set_source(termpaths[i]);
|
||||
|
||||
/*
|
||||
@@ -1114,6 +1120,7 @@ _nc_read_termcap_entry(const char *const
|
||||
@@ -1128,6 +1134,7 @@ _nc_read_termcap_entry(const char *const
|
||||
|
||||
(void) fclose(fp);
|
||||
}
|
||||
@ -912,7 +912,7 @@
|
||||
if (copied != 0)
|
||||
--- test/test.priv.h
|
||||
+++ test/test.priv.h 2006-05-18 14:07:19.000000000 +0000
|
||||
@@ -622,12 +622,12 @@ extern char *strnames[], *strcodes[], *s
|
||||
@@ -645,12 +645,12 @@ extern char *strnames[], *strcodes[], *s
|
||||
#endif
|
||||
|
||||
/* out-of-band values for representing absent capabilities */
|
3
ncurses-5.9.tar.bz2
Normal file
3
ncurses-5.9.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5dd699104648b6da0212bc2c65c2b7bf101795a634c7e2b4f5976715339bcf8d
|
||||
size 2043534
|
374
ncurses.changes
374
ncurses.changes
@ -1,3 +1,377 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 12:00:10 UTC 2011 - werner@suse.de
|
||||
|
||||
- Update to tack 1.07-20110626
|
||||
- Enlarge hash size for run time linker
|
||||
- Enforce bind references to global function symbols to the
|
||||
definition within libncurses and libtinfo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 17 13:16:17 UTC 2011 - werner@suse.de
|
||||
|
||||
- Add ncurses patch 5.9.20111112
|
||||
* add pccon entries for OpenBSD console (Alexei Malinin).
|
||||
* build-fix for OpenBSD 4.9 with gcc 4.2.1, setting _XOPEN_SOURCE to
|
||||
600 to work around inconsistent ifdef'ing of wcstof between C and
|
||||
C++ header files.
|
||||
* modify capconvert script to accept more than exact match on "xterm",
|
||||
e.g., the "xterm-*" variants, to exclude from the conversion (patch
|
||||
by Robert Millan).
|
||||
* fix a typo misc/Makefile.in, used in uninstalling pc-files.
|
||||
|
||||
- Add ncurses patch 5.9.20111030
|
||||
* modify make_db_path() to allow creating "terminfo.db" in the same
|
||||
directory as an existing "terminfo" directory. This fixes a case
|
||||
where switching between hashed/filesystem databases would cause the
|
||||
new hashed database to be installed in the next best location -
|
||||
root's home directory.
|
||||
* add variable cf_cv_prog_gnat_correct to those passed to
|
||||
config.status, fixing a problem with Ada95 builds (cf: 20111022).
|
||||
* change feature test from _XPG5 to _XOPEN_SOURCE in two places, to
|
||||
accommodate broken implementations for _XPG6.
|
||||
* eliminate usage of NULL symbol from etip.h, to reduce header
|
||||
interdependencies.
|
||||
* add configure check to decide when to add _XOPEN_SOURCE define to
|
||||
compiler options, i.e., for Solaris 10 and later (cf: 20100403).
|
||||
This is a workaround for gcc 4.6, which fails to build the c++
|
||||
binding if that symbol is defined by the application, due to
|
||||
incorrectly combining the corresponding feature test macros
|
||||
(report by Peter Kruse).
|
||||
|
||||
- Add ncurses patch 5.9.20111022
|
||||
* correct logic for discarding mouse events, retaining the partial
|
||||
events used to build up click, double-click, etc, until needed
|
||||
(cf: 20110917).
|
||||
* fix configure script to avoid creating unused Ada95 makefile when
|
||||
gnat does not work.
|
||||
* cleanup width-related gcc 3.4.3 warnings for 64-bit platform, for the
|
||||
internal functions of libncurses. The external interface of courses
|
||||
uses bool, which still produces these warnings.
|
||||
|
||||
- Add ncurses patch 5.9.20111015
|
||||
* improve description of --disable-tic-depends option to make it
|
||||
clear that it may be useful whether or not the --with-termlib
|
||||
option is also given (report by Sven Joachim).
|
||||
* amend termcap equivalent for set_pglen_inch to use the X/Open
|
||||
"YI" rather than the obsolete Solaris 2.5 "sL" (cf: 990109).
|
||||
* improve manpage for tgetent differences from termcap library.
|
||||
- Add ncurses patch 5.9.20111008
|
||||
* moved static data from db_iterator.c to lib_data.c
|
||||
* modify db_iterator.c for memory-leak checking, fix one leak.
|
||||
* modify misc/gen-pkgconfig.in to use Requires.private for the parts
|
||||
of ncurses rather than Requires, as well as Libs.private for the
|
||||
other library dependencies (prompted by Debian #644728).
|
||||
|
||||
- Add ncurses patch 5.9.20111001
|
||||
* modify tic "-K" option to only set the strict-flag rather than force
|
||||
source-output. That allows the same flag to control the parser for
|
||||
input and output of termcap source.
|
||||
* modify _nc_getent() to ignore backslash at the end of a comment line,
|
||||
making it consistent with ncurses' parser.
|
||||
* restore a special-case check for directory needed to make termcap
|
||||
text files load as if they were databases (cf: 20110924).
|
||||
* modify tic's resolution/collision checking to attempt to remove the
|
||||
conflicting alias from the second entry in the pair, which is
|
||||
normally following in the source file. Also improved the warning
|
||||
message to make it simpler to see which alias is the problem.
|
||||
* improve performance of the database iterator by caching search-list.
|
||||
|
||||
- Add ncurses patch 5.9.20110925
|
||||
* add a missing "else" in changes to _nc_read_tic_entry().
|
||||
|
||||
- Add ncurses patch 5.9.20110924
|
||||
* modify _nc_read_tic_entry() so that hashed-database is checked before
|
||||
filesystem.
|
||||
* updated CF_CURSES_LIBS check in test/configure script.
|
||||
* modify configure script and makefiles to split TIC_ARGS and
|
||||
TINFO_ARGS into pieces corresponding to LDFLAGS and LIBS variables,
|
||||
to help separate searches for tic- and tinfo-libraries (patch by Nick
|
||||
Alcock aka "Nix").
|
||||
* build-fix for lib_mouse.c changes (ch: 20110917).
|
||||
|
||||
- Add ncurses patch 5.9.20110917
|
||||
* fix compiler warning for clang 2.9
|
||||
* improve merging of mouse events (integrated patch by Damien
|
||||
Guibouret).
|
||||
* correct mask-check used in lib_mouse for wheel mouse buttons 4/5
|
||||
(patch by Damien Guibouret).
|
||||
|
||||
- Add ncurses patch 5.9.20110910
|
||||
* modify misc/gen_edit.sh to select a "linux" entry which works with
|
||||
the current kernel rather than assuming it is always "linux3.0"
|
||||
(cf: 20110716).
|
||||
* revert a change to getmouse() which had the undesirable side-effect
|
||||
of suppressing button-release events (report by Damien Guibouret,
|
||||
cf: 20100102).
|
||||
* add xterm+kbs fragment from xterm #272 -TD
|
||||
* add configure option --with-pkg-config-libdir to provide control over
|
||||
the actual directory into which pc-files are installed, do not use
|
||||
the pkg-config environment variables (discussion with Frederic L W
|
||||
Meunier).
|
||||
* add link to mailing-list archive in announce.html.in, as done in
|
||||
FAQ (prompted by question by Andrius Bentkus).
|
||||
* improve manpage install by adjusting the "#include" examples to
|
||||
show the ncurses-subdirectory used when --disable-overwrite option
|
||||
is used.
|
||||
* install an alias for "curses" to the ncurses manpage, tied to the
|
||||
--with-curses-h configure option (suggested by Reuben Thomas).
|
||||
|
||||
- Add ncurses patch 5.9.20110903
|
||||
* propagate error-returns from wresize, i.e., the internal
|
||||
increase_size and decrease_size functions through resize_term (report
|
||||
by Tim van der Molen, cf: 20020713).
|
||||
* fix typo in tset manpage (patch by Sven Joachim).
|
||||
|
||||
- Add ncurses patch 5.9.20110820
|
||||
* add a check to ensure that termcap files which might have "^?" do
|
||||
not use the terminfo interpretation as "\177".
|
||||
* minor cleanup of X-terminal emulator section of terminfo.src -TD
|
||||
* add terminator entry -TD
|
||||
* add simpleterm entry -TD
|
||||
* improve wattr_get macros by ensuring that if the window pointer is
|
||||
null, then the attribute and color values returned will be zero
|
||||
(cf: 20110528).
|
||||
|
||||
- Add ncurses patch 5.9.20110813
|
||||
* add substitution for $RPATH_LIST to misc/ncurses-config.in
|
||||
* improve performance of tic with hashed-database by caching the
|
||||
database connection, using atexit() to cleanup.
|
||||
* modify treatment of 2-character aliases at the beginning of termcap
|
||||
entries so they are not counted in use-resolution, since these are
|
||||
guaranteed to be unique. Also ignore these aliases when reporting
|
||||
the primary name of the entry (cf: 20040501)
|
||||
* double-check gn (generic) flag in terminal descriptions to
|
||||
accommodate old/buggy termcap databases which misused that feature.
|
||||
* minor fixes to _nc_tgetent(), ensure buffer is initialized even on
|
||||
error-return.
|
||||
|
||||
- Add ncurses patch 5.9.20110807
|
||||
* improve rpath fix from 20110730 by ensuring that the new $RPATH_LIST
|
||||
variable is defined in the makefiles which use it.
|
||||
* build-fix for DragonFlyBSD's pkgsrc in test/configure script.
|
||||
* build-fixes for NetBSD 5.1 with termcap support enabled.
|
||||
* corrected k9 in dg460-ansi, add other features based on manuals -TD
|
||||
* improve trimming of whitespace at the end of terminfo/termcap output
|
||||
from tic/infocmp.
|
||||
* when writing termcap source, ensure that colons in the description
|
||||
field are translated to a non-delimiter, i.e., "=".
|
||||
* add "-0" option to tic/infocmp, to make the termcap/terminfo source
|
||||
use a single line.
|
||||
* add a null-pointer check when handling the $CC variable.
|
||||
|
||||
- Add ncurses patch 5.9.20110730
|
||||
* modify configure script and makefiles in c++ and progs to allow the
|
||||
directory used for rpath option to be overridden, e.g., to work
|
||||
around updates to the variables used by tic during an install.
|
||||
* add -K option to tic/infocmp, to provide stricter BSD-compatibility
|
||||
for termcap output.
|
||||
* add _nc_strict_bsd variable in tic library which controls the
|
||||
"strict" BSD termcap compatibility from 20110723, plus these
|
||||
features:
|
||||
* allow escapes such as "\8" and "\9" when reading termcap
|
||||
* disallow "\a", "\e", "\l", "\s" and "\:" escapes when reading
|
||||
termcap files, passing through "a", "e", etc.
|
||||
* expand "\:" as "\072" on output.
|
||||
* modify _nc_get_token() to reset the token's string value in case
|
||||
there is a string-typed token lacking the "=" marker.
|
||||
* fix a few memory leaks in _nc_tgetent.
|
||||
* fix a few places where reading from a termcap file could refer to
|
||||
freed memory.
|
||||
* add an overflow check when converting terminfo/termcap numeric
|
||||
values, since terminfo stores those in a short, and they must be
|
||||
positive.
|
||||
* correct internal variables used for translating to termcap "%>"
|
||||
feature, and translating from termcap %B to terminfo, needed by
|
||||
tctest (cf: 19991211).
|
||||
* amend a minor fix to acsc when loading a termcap file to separate it
|
||||
from warnings needed for tic (cf: 20040710)
|
||||
* modify logic in _nc_read_entry() and _nc_read_tic_entry() to allow
|
||||
a termcap file to be handled via TERMINFO_DIRS.
|
||||
* modify _nc_infotocap() to include non-mandatory padding when
|
||||
translating to termcap.
|
||||
* modify _nc_read_termcap_entry(), passing a flag in the case where
|
||||
getcap is used, to reduce interactive warning messages.
|
||||
|
||||
- Add ncurses patch 5.9.20110723
|
||||
* add a check in start_color() to limit color-pairs to 256 when
|
||||
extended colors are not supported (patch by David Benjamin).
|
||||
* modify setcchar to omit no-longer-needed OR'ing of color pair in
|
||||
the SetAttr() macro (patch by David Benjamin).
|
||||
* add kich1 to sun terminfo entry (Yuri Pankov)
|
||||
* use bold rather than reverse for smso in sun-color terminfo entry
|
||||
(Yuri Pankov).
|
||||
* improve generation of termcap using tic/infocmp -C option, e.g.,
|
||||
to correspond with 4.2BSD (prompted by discussion with Yuri Pankov
|
||||
regarding Schilling's test program):
|
||||
* translate %02 and %03 to %2 and %3 respectively.
|
||||
* suppress string capabilities which use %s, not supported by tgoto
|
||||
* use \040 rather than \s
|
||||
* expand null characters as \200 rather than \0
|
||||
* modify configure script to support shared libraries for DragonFlyBSD.
|
||||
|
||||
- Add ncurses patch 5.9.20110716
|
||||
* replace an assert() in _nc_Free_Argument() with a regular null
|
||||
pointer check (report/analysis by Franjo Ivancic).
|
||||
* modify configure --enable-pc-files option to take into account the
|
||||
PKG_CONFIG_PATH variable (report by Frederic L W Meunier).
|
||||
* add/use xterm+tmux chunk from xterm #271 -TD
|
||||
* resync xterm-new entry from xterm #271 -TD
|
||||
* add E3 extended capability to linux-basic (Miroslav Lichvar)
|
||||
* add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
|
||||
* add SI/SO change to linux2.6 entry (Debian #515609) -TD
|
||||
* fix inconsistent tabset path in pcmw (Todd C. Miller).
|
||||
* remove a backslash which continued comment, obscuring altos3
|
||||
definition with OpenBSD toolset (Nicholas Marriott).
|
||||
|
||||
- Add ncurses patch 5.9.20110702
|
||||
* add workaround from xterm #271 changes to ensure that compiler flags
|
||||
are not used in the $CC variable.
|
||||
* improve support for shared libraries, tested with AIX 5.3, 6.1 and
|
||||
7.1 with both gcc 4.2.4 and cc.
|
||||
* modify configure checks for AIX to include release 7.x
|
||||
* add loader flags/libraries to libtool options so that dynamic loading
|
||||
works properly, adapted from ncurses-5.7-ldflags-with-libtool.patch
|
||||
at gentoo prefix repository (patch by Michael Haubenwallner).
|
||||
|
||||
- Add ncurses patch 5.9.20110626
|
||||
* move include of nc_termios.h out of term_entry.h, since the latter
|
||||
is installed, e.g., for tack while the former is not (report by
|
||||
Sven Joachim).
|
||||
|
||||
- Add ncurses patch 5.9.20110625
|
||||
* improve cleanup() function in lib_tstp.c, using _exit() rather than
|
||||
exit() and checking for SIGTERM rather than SIGQUIT (prompted by
|
||||
comments forwarded by Nicholas Marriott).
|
||||
* reduce name pollution from term.h, moving fallback #define's for
|
||||
tcgetattr(), etc., to new private header nc_termios.h (report by
|
||||
Sergio NNX).
|
||||
* two minor fixes for tracing (patch by Vassili Courzakis).
|
||||
* improve trace initialization by starting it in use_env() and
|
||||
ripoffline().
|
||||
* review old email, add details for some changelog entries.
|
||||
|
||||
- Add ncurses patch 5.9.20110611
|
||||
* update minix entry to minix 3.2 (Thomas Cort).
|
||||
* fix a strict compiler warning in change to wattr_get (cf: 20110528).
|
||||
|
||||
- Add ncurses patch 5.9.20110604
|
||||
* fixes for MirBSD port:
|
||||
* set default prefix to /usr.
|
||||
* add support for shared libraries in configure script.
|
||||
* use S_ISREG and S_ISDIR consistently, with fallback definitions.
|
||||
* add a few more checks based on ncurses/link_test.
|
||||
* modify MKlib_gen.sh to handle sp-funcs renaming of NCURSES_OUTC type.
|
||||
|
||||
- Add ncurses patch 5.9.20110528
|
||||
* add case to CF_SHARED_OPTS for Interix (patch by Markus Duft).
|
||||
* used ncurses/link_test to check for behavior when the terminal has
|
||||
not been initialized and when an application passes null pointers
|
||||
to the library. Added checks to cover this (prompted by Redhat
|
||||
#707344).
|
||||
* modify MKlib_gen.sh to make its main() function call each function
|
||||
with zero parameters, to help find inconsistent checking for null
|
||||
pointers, etc.
|
||||
|
||||
- Add ncurses patch 5.9.20110521
|
||||
* fix warnings from clang 2.7 "--analyze"
|
||||
|
||||
- Add ncurses patch 5.9.20110514
|
||||
* compiler-warning fixes in panel and progs.
|
||||
* modify CF_PKG_CONFIG macro, from changes to tin -TD
|
||||
* modify CF_CURSES_FUNCS configure macro, used in test directory
|
||||
configure script:
|
||||
* work around (non-optimizer) bug in gcc 4.2.1 which caused
|
||||
test-expression to be omitted from executable.
|
||||
* force the linker to see a link-time expression of a symbol, to
|
||||
help work around weak-symbol issues.
|
||||
|
||||
- Add ncurses patch 5.9.20110507
|
||||
* update discussion of MKfallback.sh script in INSTALL; normally the
|
||||
script is used automatically via the configured makefiles. However
|
||||
there are still occasions when it might be used directly by packagers
|
||||
(report by Gunter Schaffler).
|
||||
* modify misc/ncurses-config.in to omit the "-L" option from the
|
||||
"--libs" output if the library directory is /usr/lib.
|
||||
* change order of tests for curses.h versus ncurses.h headers in the
|
||||
configure scripts for Ada95 and test-directories, to look for
|
||||
ncurses.h, from fixes to tin -TD
|
||||
* modify ncurses/tinfo/access.c to account for Tandem's root uid
|
||||
(report by Joachim Schmitz).
|
||||
|
||||
- Add ncurses patch 5.9.20110430
|
||||
* modify rules in Ada95/src/Makefile.in to ensure that the PIC option
|
||||
is not used when building a static library (report by Nicolas
|
||||
Boulenguez):
|
||||
* Ada95 build-fix for big-endian architectures such as sparc. This
|
||||
undoes one of the fixes from 20110319, which added an "Unused" member
|
||||
to representation clauses, replacing that with pragmas to suppress
|
||||
warnings about unused bits (patch by Nicolas Boulenguez):
|
||||
|
||||
- Add ncurses patch 5.9.20110423
|
||||
* add check in test/configure for use_window, use_screen.
|
||||
* add configure-checks for getopt's variables, which may be declared
|
||||
as different types on some Unix systems.
|
||||
* add check in test/configure for some legacy curses types of the
|
||||
function pointer passed to tputs().
|
||||
* modify init_pair() to accept -1's for color value after
|
||||
assume_default_colors() has been called (Debian #337905).
|
||||
* modify test/background.c, adding commmand-line options to demonstrate
|
||||
assume_default_colors() and use_default_colors().
|
||||
|
||||
- Add ncurses patch 5.9.20110416
|
||||
* modify configure script/source-code to only define _POSIX_SOURCE if
|
||||
the checks for sigaction and/or termios fail, and if _POSIX_C_SOURCE
|
||||
and _XOPEN_SOURCE are undefined (report by Valentin Ochs).
|
||||
* update config.guess, config.sub
|
||||
|
||||
- Add ncurses patch 5.9.20110409
|
||||
* fixes to build c++ binding with clang 3.0 (patch by Alexander
|
||||
Kolesen).
|
||||
* add check for unctrl.h in test/configure, to work around breakage in
|
||||
some ncurses packages.
|
||||
* add "--disable-widec" option to test/configure script.
|
||||
* add "--with-curses-colr" and "--with-curses-5lib" options to the
|
||||
test/configure script to address testing with very old machines.
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 17 13:00:34 UTC 2011 - werner@suse.de
|
||||
|
||||
- Update to ncurses 5.9
|
||||
* various build-fixes for the rpm/dpkg scripts.
|
||||
* add "--enable-rpath-link" option to Ada95/configure, to allow
|
||||
packages to suppress the rpath feature which is normally used for
|
||||
the in-tree build of sample programs.
|
||||
* corrected definition of libdir variable in Ada95/src/Makefile.in,
|
||||
needed for rpm script.
|
||||
* add "--with-shared" option to Ada95/configure script, to allow
|
||||
making the C-language parts of the binding use appropriate compiler
|
||||
options if building a shared library with gnat.
|
||||
* portability fixes for Ada95 binding
|
||||
* update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and
|
||||
CF_X_ATHENA_LIBS.
|
||||
* add configure check to determine if gnat's project feature supports
|
||||
libraries, i.e., collections of .ali files.
|
||||
* make all dereferences in Ada95 samples explicit.
|
||||
* fix typo in comment in lib_add_wch.c (patch by Petr Pavlu).
|
||||
* add configure check for, ifdef's for math.h which is in a separate
|
||||
package on Solaris and potentially not installed (report by Petr
|
||||
Pavlu).
|
||||
* fixes for Ada95 binding
|
||||
* change order of -I options from ncurses*-config script when the
|
||||
--disable-overwrite option was used, so that the subdirectory include
|
||||
is listed first.
|
||||
* modify the make-tar.sh scripts to add a MANIFEST and NEWS file.
|
||||
* modify configure script to provide value for HTML_DIR in
|
||||
Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is
|
||||
distributed separately (report by Nicolas Boulenguez).
|
||||
* modify configure script to add -g and/or -O3 to ADAFLAGS if the
|
||||
CFLAGS for the build has these options.
|
||||
* amend change from 20070324, to not add 1 to the result of getmaxx
|
||||
and getmaxy in the Ada binding (report by Nicolas Boulenguez for
|
||||
thread in comp.lang.ada).
|
||||
* build-fix Ada95/samples for gnat 4.5
|
||||
* spelling fixes for Ada95/samples/explain.txt
|
||||
* fixes for Ada95 binding
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 16 11:08:09 UTC 2011 - werner@suse.de
|
||||
|
||||
|
40
ncurses.spec
40
ncurses.spec
@ -36,7 +36,7 @@ AutoReqProv: on
|
||||
Obsoletes: ncurses-64bit
|
||||
%endif
|
||||
#
|
||||
Version: 5.8
|
||||
Version: 5.9
|
||||
Release: 1
|
||||
Summary: New curses Libraries
|
||||
Url: http://invisible-island.net/ncurses/ncurses.html
|
||||
@ -45,15 +45,16 @@ Source1: ncurses-%{version}-patches.tar.bz2
|
||||
Source2: handle.linux
|
||||
Source3: README.devel
|
||||
Source4: ncurses-rpmlintrc
|
||||
Source5: tack-1.07.tar.bz2
|
||||
Source5: tack-1.07-20110626.tar.bz2
|
||||
Source6: edit.sed
|
||||
Source7: baselibs.conf
|
||||
Patch0: ncurses-%{version}.dif
|
||||
Patch1: ncurses-5.7-printw.dif
|
||||
Patch3: ncurses-5.8-overwrite.dif
|
||||
Patch3: ncurses-5.9-overwrite.dif
|
||||
Patch4: ncurses-5.7-tack.dif
|
||||
Patch5: ncurses-5.7-gpm.dif
|
||||
Patch6: ncurses-5.6-fallback.dif
|
||||
Patch7: ncurses-5.9-tack-tinfo.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _sysconfdir /etc
|
||||
%global _miscdir %{_datadir}/misc
|
||||
@ -276,6 +277,7 @@ mv tack-* tack
|
||||
%patch -P 4 -p0 -b .hs
|
||||
%patch -P 5 -p0 -b .gpm
|
||||
%patch -P 6 -p0 -b .fb
|
||||
%patch -P 7 -p0 -b .tc
|
||||
%patch -P 0 -p0 -b .p0
|
||||
rm -vf include/ncurses_dll.h
|
||||
rm -vf mkdirs.sh
|
||||
@ -283,6 +285,33 @@ rm -vf tar-copy.sh
|
||||
rm -vf mk-dlls.sh
|
||||
|
||||
%build
|
||||
cflags ()
|
||||
{
|
||||
local flag=$1; shift
|
||||
local var=$1; shift
|
||||
test -n "${flag}" -a -n "${var}" || return
|
||||
case "${!var}" in
|
||||
*${flag}*) return
|
||||
esac
|
||||
set -o noclobber
|
||||
case "$flag" in
|
||||
-Wl,*)
|
||||
if echo 'int main () { return 0; }' | \
|
||||
${CC:-gcc} -Werror $flag -o /dev/null -xc - > /dev/null 2>&1 ; then
|
||||
eval $var=\${$var:+\$$var\ }$flag
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if ${CC:-gcc} -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then
|
||||
eval $var=\${$var:+\$$var\ }$flag
|
||||
fi
|
||||
if ${CXX:-g++} -Werror $flag -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1 ; then
|
||||
eval $var=\${$var:+\$$var\ }$flag
|
||||
fi
|
||||
esac
|
||||
set +o noclobber
|
||||
}
|
||||
|
||||
test ! -f /.buildenv || . /.buildenv
|
||||
OPATH=$PATH
|
||||
FALLBK="xterm,linux,vt100,vt102"
|
||||
@ -292,8 +321,11 @@ rm -vf mk-dlls.sh
|
||||
if [[ "$BUILD_BASENAME" = debug-* ]] ; then
|
||||
CFLAGS="${CFLAGS} -g -DTRACE"
|
||||
fi
|
||||
cflags -Wl,-O2 LDFLAGS
|
||||
cflags -Wl,-Bsymbolic-functions LDFLAGS
|
||||
cflags -Wl,--hash-size=8599 LDFLAGS
|
||||
cflags -Wl,--as-needed LDFLAGS
|
||||
CXXFLAGS=$CFLAGS
|
||||
# LDFLAGS="-Wl,-Bsymbolic-functions"
|
||||
test -n "$TERM" || TERM=linux
|
||||
GZIP="-9"
|
||||
export CC CFLAGS CXX CXXFLAGS GZIP TERM LDFLAGS
|
||||
|
3
tack-1.07-20110626.tar.bz2
Normal file
3
tack-1.07-20110626.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:794d6475af531d75f68c1e16e7a13feb7dbe5906abdd5b0d02e9fed486f901a0
|
||||
size 146020
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:935265276da3072df1e7f77fd9560d5e7e6d94c45c60585f321bc87d16ec6845
|
||||
size 140024
|
Loading…
Reference in New Issue
Block a user