summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/siag/Makefile4
-rw-r--r--misc/siag/files/md54
-rw-r--r--misc/siag/patches/patch-aa71
-rw-r--r--misc/siag/patches/patch-ab48
4 files changed, 4 insertions, 123 deletions
diff --git a/misc/siag/Makefile b/misc/siag/Makefile
index cd51b7128af..8ba197be770 100644
--- a/misc/siag/Makefile
+++ b/misc/siag/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/12/04 03:48:34 hubertf Exp $
+# $NetBSD: Makefile,v 1.2 1998/12/25 21:41:29 hubertf Exp $
-DISTNAME= siag-3.1.0
+DISTNAME= siag-3.1.2
CATEGORIES= misc textproc math
MASTER_SITES= ftp://ftp.edu.stockholm.se/pub/siag/
diff --git a/misc/siag/files/md5 b/misc/siag/files/md5
index 639d9ce777d..f9c2dc64b79 100644
--- a/misc/siag/files/md5
+++ b/misc/siag/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.1.1.1 1998/12/04 03:48:34 hubertf Exp $
+$NetBSD: md5,v 1.2 1998/12/25 21:41:29 hubertf Exp $
-MD5 (siag-3.1.0.tar.gz) = 8fe84f1b418192bd981b092e2d730ce0
+MD5 (siag-3.1.2.tar.gz) = abc669180e01a2be57ad0fbea9882052
diff --git a/misc/siag/patches/patch-aa b/misc/siag/patches/patch-aa
deleted file mode 100644
index fa94f9bef0b..00000000000
--- a/misc/siag/patches/patch-aa
+++ /dev/null
@@ -1,71 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 1998/12/04 03:48:34 hubertf Exp $
-
---- siod/slibu.c.orig Thu Dec 3 04:26:29 1998
-+++ siod/slibu.c Thu Dec 3 05:04:41 1998
-@@ -15,13 +15,15 @@
- #endif
- #endif
-
-+#ifndef __NetBSD__
- #ifndef _XOPEN_SOURCE /* and another */
--#define _XOPEN_SOURCE
-+#define _XOPEN_SOURCE 2
- #endif
-
- #ifndef _POSIX_SOURCE
- #define _POSIX_SOURCE
- #endif
-+#endif /* __NetBSD__ */
-
- #ifndef _BSD_SOURCE
- #define _BSD_SOURCE
-@@ -89,6 +91,10 @@
- #define PATH_MAX MAXPATHLEN
- #endif
-
-+#if defined(__NetBSD__)
-+#include <sys/syslimits.h>
-+#endif
-+
- #if defined(VMS)
- #include <unixlib.h>
- #include <stat.h>
-@@ -276,6 +282,7 @@
- return(NIL);}
- #endif
-
-+#ifndef __NetBSD__
- LISP lputpwent(LISP alist,LISP file)
- {int iflag = no_interrupt(1);
- int status;
-@@ -284,6 +291,7 @@
- status = putpwent(&p,get_c_file(file,NULL));
- no_interrupt(iflag);
- return(NIL);}
-+#endif
-
- LISP laccess_problem(LISP lfname,LISP lacc)
- {char *fname = get_c_string(lfname);
-@@ -995,7 +1003,7 @@
- else
- return(NIL);}
-
--LISP lchmod(LISP path,LISP mode)
-+LISP _lchmod(LISP path,LISP mode)
- {if (chmod(get_c_string(path),get_c_long(mode)))
- return(err("chmod",llast_c_errmsg(-1)));
- else
-@@ -1954,10 +1962,12 @@
- #if defined(__osf__)
- init_subr_1("setpwfile",lsetpwfile);
- #endif
-+#ifndef __NetBSD__
- init_subr_2("putpwent",lputpwent);
-+#endif
- init_subr_2("access-problem?",laccess_problem);
- init_subr_3("utime",lutime);
-- init_subr_2("chmod",lchmod);
-+ init_subr_2("chmod",_lchmod);
- init_subr_2("fchmod",lfchmod);
- #endif
- init_subr_1("random",lrandom);
diff --git a/misc/siag/patches/patch-ab b/misc/siag/patches/patch-ab
deleted file mode 100644
index e9bed34f7a9..00000000000
--- a/misc/siag/patches/patch-ab
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 1998/12/04 03:48:34 hubertf Exp $
-
---- xcommon/DragAndDrop.c.BAK Thu Dec 3 04:51:21 1998
-+++ xcommon/DragAndDrop.c Thu Dec 3 04:57:07 1998
-@@ -22,7 +22,11 @@
- #include <X11/Xmu/WinUtil.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#ifdef __NetBSD__
-+#include <machine/limits.h>
-+#else
- #include <values.h>
-+#endif
-
- /* Local variables */
- static Display *dpy; /* current display */
-@@ -463,13 +467,13 @@
-
- /* Set the data */
- AuxData = Data;
-- AuxSize = ( Size <= MAXINT ? (int)Size : MAXINT );
-+ AuxSize = ( Size <= INT_MAX ? (int)Size : INT_MAX );
- XChangeProperty(dpy,root,DndSelection,XA_STRING,8,
- PropModeReplace,Data,AuxSize);
- for(Size-=(unsigned long)AuxSize;Size;Size-=(unsigned long)AuxSize)
- {
- Data+=AuxSize;
-- AuxSize = ( (Size<=(MAXINT)) ? (int)Size : (MAXINT) );
-+ AuxSize = ( (Size<=(INT_MAX)) ? (int)Size : (INT_MAX) );
- XChangeProperty(dpy,root,DndSelection,XA_STRING,8,
- PropModeAppend,Data,AuxSize);
- }
-@@ -477,13 +481,13 @@
- /* Set the data for old DND version */
- Size = BackSize;
- AuxData = Data;
-- AuxSize = ( Size <= MAXINT ? (int)Size : MAXINT );
-+ AuxSize = ( Size <= INT_MAX ? (int)Size : INT_MAX );
- XChangeProperty(dpy,root,OldDndSelection,XA_STRING,8,
- PropModeReplace,Data,AuxSize);
- for(Size-=(unsigned long)AuxSize;Size;Size-=(unsigned long)AuxSize)
- {
- Data+=AuxSize;
-- AuxSize = ( (Size<=(MAXINT)) ? (int)Size : (MAXINT) );
-+ AuxSize = ( (Size<=(INT_MAX)) ? (int)Size : (INT_MAX) );
- XChangeProperty(dpy,root,OldDndSelection,XA_STRING,8,
- PropModeAppend,Data,AuxSize);
- }