summaryrefslogtreecommitdiff
path: root/devel/ncurses/patches/patch-aa
diff options
context:
space:
mode:
authorjlam <jlam>2000-10-12 14:56:42 +0000
committerjlam <jlam>2000-10-12 14:56:42 +0000
commit6f1602191466eec6099e74e29a91e635f7c4e332 (patch)
tree51c88ec7fd7971f7a3c8b588af11f0034acb199a /devel/ncurses/patches/patch-aa
parent2b8b3c0d223945a564ced5e9ad3be6846bfd2204 (diff)
downloadpkgsrc-6f1602191466eec6099e74e29a91e635f7c4e332.tar.gz
Update ncurses to 5.1 (20001009). Changes from version 5.0 include better
support for termcap, new extensions for color, several bug fixes, minor API changes, buffer-overrun checks.
Diffstat (limited to 'devel/ncurses/patches/patch-aa')
-rw-r--r--devel/ncurses/patches/patch-aa141
1 files changed, 71 insertions, 70 deletions
diff --git a/devel/ncurses/patches/patch-aa b/devel/ncurses/patches/patch-aa
index 5df330ee469..412cfb6df34 100644
--- a/devel/ncurses/patches/patch-aa
+++ b/devel/ncurses/patches/patch-aa
@@ -1,71 +1,72 @@
-$NetBSD: patch-aa,v 1.9 2000/07/14 21:29:09 jlam Exp $
+$NetBSD: patch-aa,v 1.10 2000/10/12 14:56:45 jlam Exp $
---- c++/Makefile.in.orig Sat Oct 23 16:13:02 1999
-+++ c++/Makefile.in Fri Jul 14 15:55:55 2000
-@@ -77,10 +77,10 @@
- LINK = @LINK_PROGS@ $(CXX) @CXXLDFLAGS@
-
- LIBROOT = ncurses++
--LIBNAME = @LIB_PREFIX@$(LIBROOT).a
-+LIBNAME = @LIB_PREFIX@$(LIBROOT).la
-
--LDFLAGS = @EXTRA_LDFLAGS@ -L../lib -L$(libdir) \
-- -l$(LIBROOT) \
-+LDFLAGS = @EXTRA_LDFLAGS@ -L$(libdir) \
-+ $(LIBNAME) \
- @TEST_ARGS@ @LDFLAGS@ \
- @LD_MODEL@ @LIBS@ @EXTRA_LIBS@ @LOCAL_LDFLAGS@ $(CXXLIBS)
-
-@@ -94,7 +94,7 @@
- AUTO_SRC = \
- etip.h
-
--all: $(AUTO_SRC) ../lib/$(LIBNAME) demo$x
-+all: $(AUTO_SRC) $(LIBNAME) demo$x
-
- sources : $(AUTO_SRC)
-
-@@ -111,9 +111,8 @@
- $(MODEL)/cursesapp.o \
- $(MODEL)/cursesmain.o
-
--../lib/$(LIBNAME) : $(LIB_OBJS)
-- $(AR) $(AR_OPTS) $@ $?
-- $(RANLIB) $@
-+$(LIBNAME) : $(LIB_OBJS)
-+ cd ../lib && $(LINK) -o lib$(LIBROOT).la $(LIB_OBJS:.o=.lo) -rpath $(INSTALL_PREFIX)$(libdir) -version-info $(NCURSES_MAJOR):$(NCURSES_MINOR)
-
- OBJS_DEMO = $(MODEL)/demo.o
-
-@@ -121,7 +120,7 @@
- $(cursesf_h) $(cursesm_h) $(cursesapp_h)
-
- demo$x: $(OBJS_DEMO) \
-- ../lib/$(LIBNAME) \
-+ $(LIBNAME) \
- @TEST_DEPS@
- @ECHO_LINK@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT)
-
-@@ -133,18 +132,18 @@
- $(srcdir)/../mkinstalldirs $@
-
- install \
--install.libs:: ../lib/$(LIBNAME) $(INSTALL_PREFIX)$(libdir)
-- $(INSTALL) ../lib/$(LIBNAME) $(INSTALL_PREFIX)$(libdir)/$(LIBNAME)
-+install.libs:: $(LIBNAME) $(INSTALL_PREFIX)$(libdir)
-+ $(LIBTOOL) $(INSTALL_DATA) $(LIBNAME) $(INSTALL_PREFIX)$(libdir)/$(LIBNAME)
-
- uninstall \
- uninstall.libs::
-- -rm -f $(INSTALL_PREFIX)$(libdir)/$(LIBNAME)
-+ -$(LIBTOOL) rm -f $(INSTALL_PREFIX)$(libdir)/$(LIBNAME)
-
- mostlyclean ::
- -rm -f core tags TAGS *~ *.ln *.atac trace
-
- clean :: mostlyclean
-- -rm -f demo$x $(AUTO_SRC) ../lib/$(LIBNAME) $(LIB_OBJS) $(OBJS_DEMO)
-+ -rm -f demo$x $(AUTO_SRC) $(LIBNAME) $(LIB_OBJS) $(OBJS_DEMO)
-
- distclean :: clean
- -rm -f Makefile
+--- INSTALL.orig Thu Oct 12 04:52:50 2000
++++ INSTALL
+@@ -104,6 +104,8 @@
+
+ libncurses_p.a (profile)
+
++ libncurses.la (libtool)
++
+ If you do not specify any models, the normal and debug libraries will be
+ configured. Typing `configure' with no arguments is equivalent to:
+
+@@ -126,6 +128,13 @@
+ and SunOS with gcc, but more work needs to be done to make shared libraries
+ work on other systems.
+
++ If you have libtool installed, you can type
++
++ ./configure --with-libtool
++
++ to generate the appropriate static and/or shared libraries for your
++ platform using libtool.
++
+ You can make curses and terminfo fall back to an existing file of termcap
+ definitions by configuring with --enable-termcap. If you do this, the
+ library will search /etc/termcap before the terminfo database, and will
+@@ -176,7 +185,8 @@
+ The terminfo(5) manual page must be preprocessed with tbl(1) before
+ being formatted by nroff(1). Modern man(1) implementations tend to do
+ this by default, but you may want to look at your version's manual page
+- to be sure.
++ to be sure. You may also install the manual pages after preprocessing
++ with tbl(1) by specifying the configure option --with-manpage-tbl.
+
+ If the system already has a curses library that you need to keep using
+ for some bizarre binary-compatibility reason, you'll need to distinguish
+@@ -494,6 +504,10 @@
+ NOTE: a few systems build shared libraries with fixed pathnames; this
+ option probably will not work for those configurations.
+
++ --with-libtool
++ Generate libraries with libtool. If this option is selected, then
++ it overrides all other library model specifications.
++
+ --with-manpage-format=XXX
+ Tell the configure script how you would like to install man-pages. The
+ option value must be one of these: gzip, compress, BSDI, normal,
+@@ -513,6 +527,11 @@
+ this on systems that do not support symbolic links will result in
+ copying the man-page for each alias.
+
++ --with-manpage-tbl
++ Tell the configure script that you with to preprocess the manpages
++ by running them through tbl to generate tables understandable by
++ nroff.
++
+ --with-normal
+ Generate normal (i.e., static) libraries (default).
+
+@@ -557,6 +576,11 @@
+ --without-ada
+ Suppress the configure script's check for Ada95, do not build the
+ Ada95 binding and related demo.
++
++ --without-curses-h
++ Don't install the ncurses header with the name "curses.h". Rather,
++ install as "ncurses.h" and modify the installed headers and manpages
++ accordingly.
+
+ --without-cxx
+ XSI curses declares "bool" as part of the interface. C++ also declares