diff options
author | agc <agc@pkgsrc.org> | 1999-11-23 13:20:09 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-11-23 13:20:09 +0000 |
commit | 8d9cc3595304a031608a4a607875166adab39a79 (patch) | |
tree | 23be8cdc40ac3c9e51f61b213993712cb0e1cb3b /www | |
parent | c9176705ec908b653ab4cc8409ad3470d76d043a (diff) | |
download | pkgsrc-8d9cc3595304a031608a4a607875166adab39a79.tar.gz |
Make this package compile on Solaris. Add a patch to subdivide BSD
hosts, provided by Wolfgang Rupprecht <wolfgang@wsrcc.com> in a
message to current-users@netbsd.org. Regenerate patch sums.
Diffstat (limited to 'www')
-rw-r--r-- | www/analog/files/patch-sum | 5 | ||||
-rw-r--r-- | www/analog/patches/patch-aa | 19 | ||||
-rw-r--r-- | www/analog/patches/patch-ab | 22 |
3 files changed, 40 insertions, 6 deletions
diff --git a/www/analog/files/patch-sum b/www/analog/files/patch-sum index 63b1ccb13f5..345901b19a7 100644 --- a/www/analog/files/patch-sum +++ b/www/analog/files/patch-sum @@ -1,3 +1,4 @@ -$NetBSD: patch-sum,v 1.3 1999/11/16 21:27:42 tron Exp $ +$NetBSD: patch-sum,v 1.4 1999/11/23 13:20:09 agc Exp $ -MD5 (patch-aa) = d28f2513c0156d616ad887e45eef3510 +MD5 (patch-aa) = 4f3d7045f73a0e71535c53b9b1fe53c2 +MD5 (patch-ab) = f456ceae2e6ae4aa9782fd15fff2169b diff --git a/www/analog/patches/patch-aa b/www/analog/patches/patch-aa index c929227607e..43aa1439203 100644 --- a/www/analog/patches/patch-aa +++ b/www/analog/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.5 1999/11/16 21:27:42 tron Exp $ +$NetBSD: patch-aa,v 1.6 1999/11/23 13:20:10 agc Exp $ ---- Makefile.orig Tue Nov 16 19:50:24 1999 -+++ Makefile Tue Nov 16 19:53:03 1999 +--- Makefile.orig Sun Nov 14 14:17:21 1999 ++++ Makefile Tue Nov 23 13:05:31 1999 @@ -2,10 +2,14 @@ # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/ CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different @@ -19,7 +19,18 @@ $NetBSD: patch-aa,v 1.5 1999/11/16 21:27:42 tron Exp $ # ... -DEBCDIC -DNEED_STRCMP -DNEED_MEMMOVE ... # ... -DNEED_STRTOUL -DNEED_DIFFTIME -DNEED_FLOATINGPOINT_H # Solaris 2 (SunOS 5) might need DEFS = -DNEED_STRCMP -@@ -25,10 +29,10 @@ +@@ -20,15 +24,21 @@ + # OS/2 with EMX requires LIBS = -lsocket; so does BS2000/OSD + # SVR4 requires LIBS = -lsocket -lnsl + ++OPSYS!= uname -s ++ ++.if ${OPSYS} == "SunOS" ++LIBS+= -lsocket -lnsl ++.endif ++ + PROGRAM = analog + OBJS = alias.o analog.o cache.o dates.o globals.o hash.o init.o init2.o \ input.o macinput.o macstuff.o output.o output2.o process.o settings.o \ sort.o tree.o utils.o win32.o HEADERS = anlghead.h anlghea2.h anlghea3.h anlghea4.h macdir.h diff --git a/www/analog/patches/patch-ab b/www/analog/patches/patch-ab new file mode 100644 index 00000000000..f494813826c --- /dev/null +++ b/www/analog/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.4 1999/11/23 13:20:10 agc Exp $ + +--- tree.c 1999/11/23 13:06:38 1.1 ++++ tree.c 1999/11/23 13:08:49 +@@ -781,8 +781,16 @@ + } + else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL) + *name = "Unix:Linux"; ++ else if (strstr(whole, "NetBSD") != NULL) ++ *name = "Unix:NetBSD"; ++ else if (strstr(whole, "OpenBSD") != NULL) ++ *name = "Unix:OpenBSD"; ++ else if (strstr(whole, "FreeBSD") != NULL) ++ *name = "Unix:FreeBSD"; ++ else if (strstr(whole, "BSDi") != NULL) ++ *name = "Unix:BSDi"; + else if (strstr(whole, "BSD") != NULL) +- *name = "Unix:BSD"; ++ *name = "Unix:otherBSD"; + else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL) + *name = "Unix:SunOS"; + else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL || |