diff options
author | agc <agc@pkgsrc.org> | 1997-10-06 14:51:03 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-06 14:51:03 +0000 |
commit | 6f28891f98b790fd8b1b722ecca201f5d52d4dc0 (patch) | |
tree | e09348c800e8880ab1546ac9a88260dac0f5ee84 /lang/icon/patches | |
parent | 7aad20a3c7345a32db1f0f92b9b81869e82a834d (diff) | |
download | pkgsrc-6f28891f98b790fd8b1b722ecca201f5d52d4dc0.tar.gz |
Initial import of FreeBSD lang ports into the NetBSD
packages system.
Diffstat (limited to 'lang/icon/patches')
-rw-r--r-- | lang/icon/patches/patch-aa | 17 | ||||
-rw-r--r-- | lang/icon/patches/patch-ab | 18 | ||||
-rw-r--r-- | lang/icon/patches/patch-ca | 58 | ||||
-rw-r--r-- | lang/icon/patches/patch-cc | 45 | ||||
-rw-r--r-- | lang/icon/patches/patch-cd | 76 |
5 files changed, 214 insertions, 0 deletions
diff --git a/lang/icon/patches/patch-aa b/lang/icon/patches/patch-aa new file mode 100644 index 00000000000..7795de34fde --- /dev/null +++ b/lang/icon/patches/patch-aa @@ -0,0 +1,17 @@ +--- config/unix/i386_freebsd/define.h.orig Tue Mar 7 21:50:58 1995 ++++ config/unix/i386_freebsd/define.h Sat Nov 2 17:24:10 1996 +@@ -21,6 +21,7 @@ + + #define Standard + #define Double ++#define IconEcvt + #define IconGcvt + #define GetHost + #define SysOpt +@@ -41,5 +42,5 @@ + #define LoadFunc + #define SystemFnc + +- ++#define LinkLibs " -lm" + #define COpts "-I/usr/X11R6/include" diff --git a/lang/icon/patches/patch-ab b/lang/icon/patches/patch-ab new file mode 100644 index 00000000000..d20f29f9044 --- /dev/null +++ b/lang/icon/patches/patch-ab @@ -0,0 +1,18 @@ +--- src/runtime/rmisc.r.orig Sat Nov 4 00:26:32 1995 ++++ src/runtime/rmisc.r Sat Nov 2 16:48:35 1996 +@@ -125,15 +125,6 @@ + return buf; + #endif /* OS2EMX */ + +-#if FreeBSD +-#define ecvt(w,x,y,z) 0 +- +- sprintf(buf, "%f", number); +- for(i=strlen(buf); i>1 && buf[i-1]=='0' && buf[i-2]!='.'; i--) +- buf[i-1] = '\0'; +- return buf; +-#endif /* FreeBSD */ +- + p1 = ecvt(number, ndigit, &decpt, &sign); + p2 = buf; + if (sign) diff --git a/lang/icon/patches/patch-ca b/lang/icon/patches/patch-ca new file mode 100644 index 00000000000..5dc9692650a --- /dev/null +++ b/lang/icon/patches/patch-ca @@ -0,0 +1,58 @@ +*** Makefile.orig Fri Jul 29 21:41:19 1994 +--- Makefile Wed Mar 1 19:34:18 1995 +*************** +*** 241,243 **** +--- 241,259 ---- + -cd tests; $(MAKE) Clean + + ################################################################## ++ ++ install: ++ @bin/patchstr bin/iconc ${PREFIX}/share/icon/ ++ @bin/patchstr bin/icont ${PREFIX}/bin/iconx ++ install -c -s -g bin -o bin -m 755 bin/iconc ${PREFIX}/bin/iconc ++ install -c -s -g bin -o bin -m 755 bin/icont ${PREFIX}/bin/icont ++ install -c -s -g bin -o bin -m 755 bin/iconx ${PREFIX}/bin/iconx ++ install -c -s -g bin -o bin -m 755 bin/patchstr ${PREFIX}/bin/patchstr ++ @mkdir -p ${PREFIX}/share/icon ++ install -c -g bin -o bin -m 644 bin/dlrgint.o ${PREFIX}/share/icon/dlrgint.o ++ install -c -g bin -o bin -m 644 bin/rt.a ${PREFIX}/share/icon/rt.a ++ install -c -g bin -o bin -m 644 bin/rt.db ${PREFIX}/share/icon/rt.db ++ install -c -g bin -o bin -m 644 bin/rt.h ${PREFIX}/share/icon/rt.h ++ @mkdir -p ${PREFIX}/man/man1 ++ install -c -g bin -o bin -m 444 docs/icon.1 ${PREFIX}/man/man1/icon.1 ++ @gzip -9fn ${PREFIX}/man/man1/icon.1 +*** config/unix/Config/Makefile.orig Fri Jul 29 21:40:55 1994 +--- config/unix/Config/Makefile Wed Mar 1 14:27:05 1995 +*************** +*** 1,7 **** +- CC=cc +- CFLAGS= -DVarTran +- LDFLAGS= + SHELL=/bin/sh + MAKE=make + + all: +--- 1,5 ---- + SHELL=/bin/sh ++ CFLAGS+= -DVarTran + MAKE=make + + all: +*** src/vtran/Vtmake2.orig Fri Jul 29 21:25:28 1994 +--- src/vtran/Vtmake2 Wed Mar 1 14:27:14 1995 +*************** +*** 1,7 **** +- CC=cc +- CFLAGS= -DVarTran +- LDFLAGS= + SHELL=/bin/sh + MAKE=make + + OBJS= cat.o tparse.o tlex.o tmem.o trans.o \ +--- 1,5 ---- + SHELL=/bin/sh ++ CFLAGS+= -DVarTran + MAKE=make + + OBJS= cat.o tparse.o tlex.o tmem.o trans.o \ diff --git a/lang/icon/patches/patch-cc b/lang/icon/patches/patch-cc new file mode 100644 index 00000000000..86ff84ffe76 --- /dev/null +++ b/lang/icon/patches/patch-cc @@ -0,0 +1,45 @@ +*** src/h/sys.h.orig Fri Jul 29 21:24:57 1994 +--- src/h/sys.h Wed Mar 1 15:43:55 1995 +*************** +*** 181,192 **** +--- 181,195 ---- + #include <sys/ioctl.h> + #include <errno.h> + #include <sys/signal.h> ++ #ifdef __FreeBSD__ ++ #include <sgtty.h> ++ #endif + #endif /* HaveTioc */ + + #endif /* KeyboardFncs */ + + #ifdef LoadFunc + #include <dlfcn.h> + #endif /* LoadFunc */ + + #endif /* UNIX */ +*** src/runtime/fload.r.orig Fri Jul 29 21:22:51 1994 +--- src/runtime/fload.r Sun Apr 16 14:02:26 1995 +*************** +*** 24,29 **** +--- 24,33 ---- + + #ifdef FreeBSD + ++ /* Look at the DL_GETERRNO constant, if it exists this is FreeBSD 1.1.5 ++ or 2.0. If it doesn't exist this must be post 2.0 with an dlerror */ ++ ++ #passthru #ifdef DL_GETERRNO + /* Sorry, no dlerror() on FreeBSD. Fake it. */ + char *dlerror(void) + { +*************** +*** 34,39 **** +--- 38,44 ---- + else + return(NULL); + } ++ #passthru #endif + + #endif /* __FreeBSD__ */ + diff --git a/lang/icon/patches/patch-cd b/lang/icon/patches/patch-cd new file mode 100644 index 00000000000..51b3432e112 --- /dev/null +++ b/lang/icon/patches/patch-cd @@ -0,0 +1,76 @@ +*** ipl/procs/evinit.icn.orig Fri Jul 29 21:32:02 1994 +--- ipl/procs/evinit.icn Wed Mar 1 20:50:24 1995 +*************** +*** 17,23 **** + # + ############################################################################ + +! $include "evdefs.icn" + + procedure EvInit(f,input,output,error) + if not MTEvInit(f,input,output,error) then fail +--- 17,23 ---- + # + ############################################################################ + +! $include "../incl/evdefs.icn" + + procedure EvInit(f,input,output,error) + if not MTEvInit(f,input,output,error) then fail +*** ipl/procs/evnames.icn.orig Fri Jul 29 21:32:02 1994 +--- ipl/procs/evnames.icn Wed Mar 1 20:50:34 1995 +*************** +*** 29,35 **** + + link twt + +! $include "evdefs.icn" + + procedure evnames() + static namemap +--- 29,35 ---- + + link twt + +! $include "../incl/evdefs.icn" + + procedure evnames() + static namemap +*** ipl/procs/evsyms.icn.orig Fri Jul 29 21:31:37 1994 +--- ipl/procs/evsyms.icn Wed Mar 1 20:50:48 1995 +*************** +*** 28,34 **** + + link twt + +! $include "evdefs.icn" + + procedure evsyms() + static symmap +--- 28,34 ---- + + link twt + +! $include "../incl/evdefs.icn" + + procedure evsyms() + static symmap +*** ipl/procs/typesyms.icn.orig Fri Jul 29 21:32:08 1994 +--- ipl/procs/typesyms.icn Wed Mar 1 20:50:59 1995 +*************** +*** 27,33 **** + # + ############################################################################ + +! $include "evdefs.icn" + + procedure typesyms() + static typetable +--- 27,33 ---- + # + ############################################################################ + +! $include "../incl/evdefs.icn" + + procedure typesyms() + static typetable |