pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/cawf Don't override the system-supplied proto...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6cf32d67e906
branches:  trunk
changeset: 502754:6cf32d67e906
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Nov 08 19:33:50 2005 +0000

description:
Don't override the system-supplied prototype for getopt(3).

diffstat:

 textproc/cawf/distinfo         |   3 ++-
 textproc/cawf/patches/patch-ab |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 98426333284e -r 6cf32d67e906 textproc/cawf/distinfo
--- a/textproc/cawf/distinfo    Tue Nov 08 19:30:41 2005 +0000
+++ b/textproc/cawf/distinfo    Tue Nov 08 19:33:50 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:48:40 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/11/08 19:33:50 tv Exp $
 
 SHA1 (cawf-4.10/cawf.zip) = c16985f79c5d9b11de62dff6ed24d210ca12eb40
 RMD160 (cawf-4.10/cawf.zip) = 33bce828f0a88c05c32c221a9fd5d1ca5d4ad2b4
 Size (cawf-4.10/cawf.zip) = 287677 bytes
 SHA1 (patch-aa) = 21ff1ae5d3fb3a32cb855c2b4353ffbe62ebcd17
+SHA1 (patch-ab) = 52fa93c4903539f5cf56e2c904b7ffea3610899f
diff -r 98426333284e -r 6cf32d67e906 textproc/cawf/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cawf/patches/patch-ab    Tue Nov 08 19:33:50 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2005/11/08 19:33:50 tv Exp $
+
+--- proto.h.orig       1997-02-22 09:26:18.000000000 -0500
++++ proto.h
+@@ -36,6 +36,7 @@
+ # else        /* !defined(USG) */
+ #include <strings.h>
+ # endif       /* defined(USG) */
++#include <unistd.h>
+ #else /* !defined(UNIX) */
+ #include <string.h>
+ #endif        /* defined(UNIX) */
+@@ -103,7 +104,9 @@ _PROTOTYPE(int Findparms,(unsigned char 
+ _PROTOTYPE(int Findscale,(int n, double v, int e));
+ _PROTOTYPE(unsigned char *Findstr,(unsigned char *nm, unsigned char *s, int e));
+ _PROTOTYPE(void Free,(unsigned char **p));
++#if   !defined(UNIX)
+ _PROTOTYPE(int getopt,(int argc, char **argv, char *opts));
++#endif
+ _PROTOTYPE(int LenprtHF,(unsigned char *s, int p, int t, unsigned char **b, int bl));
+ _PROTOTYPE(int main,(int argc, char *argv[]));
+ _PROTOTYPE(void Macro,(unsigned char *inp));



Home | Main Index | Thread Index | Old Index