diff options
author | joerg <joerg> | 2006-01-04 21:57:08 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-04 21:57:08 +0000 |
commit | f5cfcf6347c70a9cc6123415fdc64fb2336e10d5 (patch) | |
tree | f6675febea22b9ecfe1606bca2683e8cb19f2006 | |
parent | 69fa2aa4ec7a14c5e965f2f8519aab5738421c3f (diff) | |
download | pkgsrc-f5cfcf6347c70a9cc6123415fdc64fb2336e10d5.tar.gz |
One of the first questions in every C class is about the return type
of main. Why does it have to be int? Well, not returning anything can
result in a random exit code. Add make(1) as caller and the normal
behaviour of just stopping on the first error and this package has
a very low success rate for building e.g. on DragonFly.
-rw-r--r-- | biology/azara/distinfo | 4 | ||||
-rw-r--r-- | biology/azara/patches/patch-ad | 19 | ||||
-rw-r--r-- | biology/azara/patches/patch-ae | 20 |
3 files changed, 42 insertions, 1 deletions
diff --git a/biology/azara/distinfo b/biology/azara/distinfo index 22e29ac3756..d7b018e4491 100644 --- a/biology/azara/distinfo +++ b/biology/azara/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/11/19 17:23:46 kristerw Exp $ +$NetBSD: distinfo,v 1.3 2006/01/04 21:57:08 joerg Exp $ SHA1 (azara-2.7-src.tar.gz) = 53caa85953f700cdc4ec9ef26d2bb7d9448b77b0 RMD160 (azara-2.7-src.tar.gz) = 2426102dbb87984f88ec1266b72d2e307484af0c @@ -6,3 +6,5 @@ Size (azara-2.7-src.tar.gz) = 565272 bytes SHA1 (patch-aa) = 1066c1e1b070020bbdd18439b27e15d359dd5e69 SHA1 (patch-ab) = 46e512fba5b00cb36cd2b2d50db4919875124309 SHA1 (patch-ac) = 12b37403ce7107989d2e0e5c7e9b3b6868464f5c +SHA1 (patch-ad) = 0da330b12768124586f786c7e980d540a4414d54 +SHA1 (patch-ae) = d87b2cdcc33a423eba3a17a95cc66d8c13390e81 diff --git a/biology/azara/patches/patch-ad b/biology/azara/patches/patch-ad new file mode 100644 index 00000000000..d850dac04d7 --- /dev/null +++ b/biology/azara/patches/patch-ad @@ -0,0 +1,19 @@ +$NetBSD: patch-ad,v 1.1 2006/01/04 21:57:08 joerg Exp $ + +--- help/txt2hlp.c.orig 2006-01-04 21:49:13.000000000 +0000 ++++ help/txt2hlp.c +@@ -26,7 +26,7 @@ static void print_line(String line, FILE + } + } + +-void main(int argc, char **argv) ++int main(int argc, char **argv) + { + int i, count; + char *prefix, *ptr, *full_prefix; +@@ -129,4 +129,5 @@ void main(int argc, char **argv) + + fclose(fp_in); + fclose(fp_out); ++ return(0); + } diff --git a/biology/azara/patches/patch-ae b/biology/azara/patches/patch-ae new file mode 100644 index 00000000000..5e8b642a2ae --- /dev/null +++ b/biology/azara/patches/patch-ae @@ -0,0 +1,20 @@ +$NetBSD: patch-ae,v 1.1 2006/01/04 21:57:09 joerg Exp $ + +--- help/txt2html.c.orig 2006-01-04 21:51:17.000000000 +0000 ++++ help/txt2html.c +@@ -190,7 +190,7 @@ static void print_line(String line, FILE + fprintf(fp, "\n"); + } + +-void main(int argc, char **argv) ++int main(int argc, char **argv) + { + char *prefix, *name, *ptr; + Line input_file, output_file, line, module, error_msg; +@@ -248,4 +248,6 @@ void main(int argc, char **argv) + + fclose(fp_in); + fclose(fp_out); ++ ++ return(0); + } |