diff options
author | rh <rh@pkgsrc.org> | 1999-03-13 13:57:40 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 1999-03-13 13:57:40 +0000 |
commit | edefd85474afaa0cf1d20049e5a4d6811a0160ba (patch) | |
tree | 7db49e3a79ad35ad7a9c71d5d9599ed645092884 /textproc/sp/patches | |
parent | 41e25a0c4855b336b44bd35078f699379fe64199 (diff) | |
download | pkgsrc-edefd85474afaa0cf1d20049e5a4d6811a0160ba.tar.gz |
Initial import of sp-1.3, an SGML system conforming to ISO-8879 as
provided by Martin Laubach (with a few modifications to work under
NetBSD-1.3.3 as well as -current) -- thanks!
Diffstat (limited to 'textproc/sp/patches')
-rw-r--r-- | textproc/sp/patches/egcs-patch-ab | 11 | ||||
-rw-r--r-- | textproc/sp/patches/patch-aa | 39 |
2 files changed, 50 insertions, 0 deletions
diff --git a/textproc/sp/patches/egcs-patch-ab b/textproc/sp/patches/egcs-patch-ab new file mode 100644 index 00000000000..5a605ac5cb2 --- /dev/null +++ b/textproc/sp/patches/egcs-patch-ab @@ -0,0 +1,11 @@ +--- include/config.h.orig Fri Mar 12 23:16:03 1999 ++++ include/config.h Fri Mar 12 23:17:09 1999 +@@ -11,7 +11,7 @@ + // It's not missing, but it pulls in libg++ + #define SP_NEW_H_MISSING + // set_new_handler() has to be declared extern "C" +-#define SP_SET_NEW_HANDLER_EXTERN_C ++// #define SP_SET_NEW_HANDLER_EXTERN_C + #ifndef SP_MANUAL_INST + #define SP_MANUAL_INST + #endif diff --git a/textproc/sp/patches/patch-aa b/textproc/sp/patches/patch-aa new file mode 100644 index 00000000000..e9630fc583d --- /dev/null +++ b/textproc/sp/patches/patch-aa @@ -0,0 +1,39 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/03/13 13:57:40 rh Exp $ + +--- Makefile.orig Sun Dec 28 12:24:20 1997 ++++ Makefile Sat Mar 13 08:22:53 1999 +@@ -1,11 +1,10 @@ + # Copyright (c) 1994, 1995 James Clark + # See the file COPYING for copying permission. + +-prefix=/opt/local ++prefix=${PREFIX} + exec_prefix=$(prefix) + # Where to install the binaries + bindir=$(exec_prefix)/bin +-INSTALL=cp + # You might want to change this to uncomment this on BSD systems + #INSTALL=install + +@@ -32,7 +31,8 @@ + # Add -Dsig_atomic_t=int on SunOS 4.1.x with g++ (or any other platform + # which doesn't appropriately define sig_atomic_t). + XDEFINES= +-DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES) ++DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE \ ++ -DSGML_CATALOG_FILES_DEFAULT=\"${PREFIX}/share/sp/catalog\" $(XDEFINES) + CXXFLAGS=-ansi $(DEBUG) $(WARN) + # Flag to pass to CXX to make it output list of dependencies as a Makefile. + CXXDEPGENFLAGS=-MM +@@ -53,10 +53,9 @@ + # to the build directory, and set srcdir to point to the source directory. + srcdir=. + AR=ar +-RANLIB=: + # Uncomment this for SunOS 4.1.3 or FreeBSD + # (and probably other BSD flavor systems as well) +-#RANLIB=ranlib ++RANLIB=ranlib + M4=m4 + # perl is needed if you change or add messages + PERL=perl |