diff options
author | fredb <fredb> | 2003-11-09 06:15:24 +0000 |
---|---|---|
committer | fredb <fredb> | 2003-11-09 06:15:24 +0000 |
commit | 90de5a04230e847d10b8bdf22b1116778774f9b9 (patch) | |
tree | d99582e618b89c93b578ce23774f6a99ba11e7c8 /devel/pccts | |
parent | 983cf476644d9a0339c3e3f28cc1a5689693655b (diff) | |
download | pkgsrc-90de5a04230e847d10b8bdf22b1116778774f9b9.tar.gz |
Check for __STDC_HOSTED__ to see whether or not to use prototypes and
<stdargs.h>, as well as __STDC__, so this'll build with gcc-3.2.2.
Diffstat (limited to 'devel/pccts')
-rw-r--r-- | devel/pccts/distinfo | 5 | ||||
-rw-r--r-- | devel/pccts/patches/patch-ae | 22 | ||||
-rw-r--r-- | devel/pccts/patches/patch-af | 12 | ||||
-rw-r--r-- | devel/pccts/patches/patch-ag | 12 |
4 files changed, 50 insertions, 1 deletions
diff --git a/devel/pccts/distinfo b/devel/pccts/distinfo index 9b3942f6bbf..1c196750f61 100644 --- a/devel/pccts/distinfo +++ b/devel/pccts/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2001/04/21 00:44:41 wiz Exp $ +$NetBSD: distinfo,v 1.4 2003/11/09 06:15:24 fredb Exp $ SHA1 (pccts-1.33.22/pccts133mr22.zip) = ccdfaf8f69ddc59ad6d7e3f05922c693db0cf987 Size (pccts-1.33.22/pccts133mr22.zip) = 717522 bytes @@ -6,3 +6,6 @@ SHA1 (patch-aa) = f44db7a7fb0c8a81e8b5445b2ec7d6160c9a2fdc SHA1 (patch-ab) = b9ebaf849cb738bd975cdee733afa3a3c0d8e0c9 SHA1 (patch-ac) = b249a362461e460be6be7195d96ea7705485105f SHA1 (patch-ad) = 0af7bb8491402f8fb2e96fb0e5aa6cc117ffae0c +SHA1 (patch-ae) = bdfbc276cbf7217bdf48bb1b6df787d61f1d6267 +SHA1 (patch-af) = 5910279eb5d9d216c1051c48038792fc3841c568 +SHA1 (patch-ag) = 6637240de0c79b4f41f34d658ed99001adeab539 diff --git a/devel/pccts/patches/patch-ae b/devel/pccts/patches/patch-ae new file mode 100644 index 00000000000..191f516ae9d --- /dev/null +++ b/devel/pccts/patches/patch-ae @@ -0,0 +1,22 @@ +$NetBSD: patch-ae,v 1.1 2003/11/09 06:15:24 fredb Exp $ + +--- h/pcctscfg.h.orig 1999-10-07 21:19:11.000000000 -0500 ++++ h/pcctscfg.h +@@ -44,7 +44,7 @@ + /* should test __STDC__ for 1, but some compilers don't set value, just def */ + + #ifndef __USE_PROTOS +-#ifdef __STDC__ ++#if defined(__STDC__) || defined(__STDC_HOSTED__) + #define __USE_PROTOS + #endif + #ifdef __cplusplus +@@ -335,7 +335,7 @@ void special_fopen_actions(char * s) + #endif + #endif + +-#ifdef __STDC__ ++#if defined(__STDC__) || defined(__STDC_HOSTED__) + #ifndef PCCTS_USE_STDARG + #define PCCTS_USE_STDARG + #endif diff --git a/devel/pccts/patches/patch-af b/devel/pccts/patches/patch-af new file mode 100644 index 00000000000..b893b040ffa --- /dev/null +++ b/devel/pccts/patches/patch-af @@ -0,0 +1,12 @@ +$NetBSD: patch-af,v 1.1 2003/11/09 06:15:24 fredb Exp $ + +--- sorcerer/lib/sintstack.c.orig 1999-06-30 08:08:06.000000000 -0500 ++++ sorcerer/lib/sintstack.c +@@ -26,6 +26,7 @@ + * AHPCRC, University of Minnesota + * 1992-1994 + */ ++#include "pcctscfg.h" + #include <stdio.h> + #include <setjmp.h> + diff --git a/devel/pccts/patches/patch-ag b/devel/pccts/patches/patch-ag new file mode 100644 index 00000000000..10b70dff59b --- /dev/null +++ b/devel/pccts/patches/patch-ag @@ -0,0 +1,12 @@ +$NetBSD: patch-ag,v 1.1 2003/11/09 06:15:24 fredb Exp $ + +--- sorcerer/lib/sorlist.c.orig 1999-06-29 20:15:56.000000000 -0500 ++++ sorcerer/lib/sorlist.c +@@ -26,6 +26,7 @@ + * AHPCRC, University of Minnesota + * 1992-1994 + */ ++#include "pcctscfg.h" + #include <stdio.h> + #include <setjmp.h> + |