diff options
author | dholland <dholland@pkgsrc.org> | 2011-09-05 00:15:37 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-09-05 00:15:37 +0000 |
commit | e40e1347ee3018fa0aa6543f7d48cf859e883b9f (patch) | |
tree | 19708a6b38b9a9d28c7ccf5042c90ad1ac3ccc2b /lang/pict | |
parent | 0727faa865a787b0bd0d6839eb8a828018a105af (diff) | |
download | pkgsrc-e40e1347ee3018fa0aa6543f7d48cf859e883b9f.tar.gz |
void main
Diffstat (limited to 'lang/pict')
-rw-r--r-- | lang/pict/distinfo | 6 | ||||
-rw-r--r-- | lang/pict/patches/patch-ba | 15 | ||||
-rw-r--r-- | lang/pict/patches/patch-bb | 15 | ||||
-rw-r--r-- | lang/pict/patches/patch-bc | 15 | ||||
-rw-r--r-- | lang/pict/patches/patch-bd | 21 |
5 files changed, 71 insertions, 1 deletions
diff --git a/lang/pict/distinfo b/lang/pict/distinfo index c05d3b5ff59..eeecf1ffc90 100644 --- a/lang/pict/distinfo +++ b/lang/pict/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/10/28 06:13:40 dholland Exp $ +$NetBSD: distinfo,v 1.2 2011/09/05 00:15:37 dholland Exp $ SHA1 (pict-4.1.tar.gz) = e3d3341d4dc54ed015b0d89eab6760ee7f14c5cd RMD160 (pict-4.1.tar.gz) = aea1df3530387c592a1c5eb9e8f464e242109f86 @@ -9,6 +9,10 @@ SHA1 (patch-ac) = e6e93f42efc49d6d3a37335b4a40ec5694b2e0d4 SHA1 (patch-ad) = 5867631186c5973b76d81704306fb142e479b72d SHA1 (patch-ae) = 5eaf7be65894e22a7200e8075dfb988722220765 SHA1 (patch-af) = 38a20d8bf945b3a3662d4c4ebc0d7158eac607ec +SHA1 (patch-ba) = b7dc6e6b43935e2c87e636cd43ebd9fb9c53c762 +SHA1 (patch-bb) = bf1b3a2fb74f4740439bc4c3f67f8aa3178a5600 +SHA1 (patch-bc) = 81f178d7e48f21afb5fbc1c21f4de839307568c1 +SHA1 (patch-bd) = d1784b7d180c26625205d68aa0143d7796a80c2f SHA1 (patch-ya) = d7513a4431ede203217bb39feb42b62c2f9784b0 SHA1 (patch-yb) = 19c3a5d892f253a450f10ce468b8238653543ee5 SHA1 (patch-yc) = abc0298eedeb0d459ce067567f96c759df025eb1 diff --git a/lang/pict/patches/patch-ba b/lang/pict/patches/patch-ba new file mode 100644 index 00000000000..95e014b1153 --- /dev/null +++ b/lang/pict/patches/patch-ba @@ -0,0 +1,15 @@ +$NetBSD: patch-ba,v 1.1 2011/09/05 00:15:37 dholland Exp $ + +fix void main. + +--- Config/bytecopy.c~ 1998-03-22 23:26:53.000000000 +0000 ++++ Config/bytecopy.c +@@ -3,7 +3,7 @@ + + char buffer[27]; + +-void main (void) ++int main (void) + { + COPY(buffer,"abcdefghijklmnopqrstuvwxyz",27); + if (strcmp(buffer,"abcdefghijklmnopqrstuvwxyz") != 0) exit(1); diff --git a/lang/pict/patches/patch-bb b/lang/pict/patches/patch-bb new file mode 100644 index 00000000000..7a28598c83b --- /dev/null +++ b/lang/pict/patches/patch-bb @@ -0,0 +1,15 @@ +$NetBSD: patch-bb,v 1.1 2011/09/05 00:15:37 dholland Exp $ + +fix void main. + +--- Config/autoconf~ 1998-03-22 23:26:53.000000000 +0000 ++++ Config/autoconf +@@ -6,7 +6,7 @@ touch Config test.h config.h config.outp + # Test for broken include files (SunOS) + + echo "#include <stdio.h>" > test.c +-echo "void main() { fprintf(stderr,\"hello\"); }" >> test.c ++echo "int main() { fprintf(stderr,\"hello\"); return 0; }" >> test.c + if gcc -Wall -c test.c 2>config.output; then + if grep -q implicit config.output; then + echo "Some function prototypes seem to be missing" diff --git a/lang/pict/patches/patch-bc b/lang/pict/patches/patch-bc new file mode 100644 index 00000000000..90760097178 --- /dev/null +++ b/lang/pict/patches/patch-bc @@ -0,0 +1,15 @@ +$NetBSD: patch-bc,v 1.1 2011/09/05 00:15:37 dholland Exp $ + +fix void main. + +--- Examples/Tests/persona.c~ 1998-03-22 23:27:02.000000000 +0000 ++++ Examples/Tests/persona.c +@@ -13,7 +13,7 @@ + #include <pwd.h> + #include <grp.h> + +-void main () ++int main () + { + int n; + gid_t *g; diff --git a/lang/pict/patches/patch-bd b/lang/pict/patches/patch-bd new file mode 100644 index 00000000000..a9e92418298 --- /dev/null +++ b/lang/pict/patches/patch-bd @@ -0,0 +1,21 @@ +$NetBSD: patch-bd,v 1.1 2011/09/05 00:15:37 dholland Exp $ + +fix void main. + +--- Runtime/main.c~ 1998-03-22 23:27:18.000000000 +0000 ++++ Runtime/main.c +@@ -9,7 +9,7 @@ Val *Free, *StartQ, *EndQ, *StartH, *End + int ArgC; + char **ArgV; + +-void main(int argc, char *argv[]) { ++int main(int argc, char *argv[]) { + /* Save argc and argv */ + ArgC = argc; ArgV = argv; + /* Initialise the heap */ +@@ -25,4 +25,5 @@ void main(int argc, char *argv[]) { + * running the rest of the program. + */ + pictMain0(); scheduler(); ++ return 0; + } |