summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-02-10 23:32:00 +0000
committerrillig <rillig@pkgsrc.org>2006-02-10 23:32:00 +0000
commitb5edc9374d5e19c6f21b49a12affa349eeeb08c8 (patch)
treea600f3468bd0e5a4920d8d8985c06ccfc1ae5608
parent33388c39899f39d4f1dd58de6593c4e300e73409 (diff)
downloadpkgsrc-b5edc9374d5e19c6f21b49a12affa349eeeb08c8.tar.gz
Added a patch that prevents unused variables from being treated as
compile-time errors.
-rw-r--r--databases/geneweb/distinfo3
-rw-r--r--databases/geneweb/patches/patch-aa17
2 files changed, 19 insertions, 1 deletions
diff --git a/databases/geneweb/distinfo b/databases/geneweb/distinfo
index 2cf80b07ad0..48a612bd64b 100644
--- a/databases/geneweb/distinfo
+++ b/databases/geneweb/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2005/05/29 07:45:26 wiz Exp $
+$NetBSD: distinfo,v 1.11 2006/02/10 23:32:00 rillig Exp $
SHA1 (geneweb-4.10nb1/geneweb-4.10.tar.gz) = 0ab12497a3ffc3541228d9dc899c095b18e7fba1
RMD160 (geneweb-4.10nb1/geneweb-4.10.tar.gz) = 5d5c9d08d76bbc08a288e7ae56aa335b9cfc0fb8
Size (geneweb-4.10nb1/geneweb-4.10.tar.gz) = 998314 bytes
+SHA1 (patch-aa) = 5f90d1c0a8545b670587ee5d7bbd39829073671f
diff --git a/databases/geneweb/patches/patch-aa b/databases/geneweb/patches/patch-aa
new file mode 100644
index 00000000000..d18c73cf498
--- /dev/null
+++ b/databases/geneweb/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.3 2006/02/10 23:32:00 rillig Exp $
+
+Don't treat unused variables as errors.
+
+--- tools/Makefile.inc.orig 2002-11-29 07:03:04.000000000 +0100
++++ tools/Makefile.inc 2006-02-11 00:25:06.000000000 +0100
+@@ -5,8 +5,8 @@ CAMLP4_COMM=TOP=$(TOP) $(TOP)/tools/caml
+ CAMLP4F=-DUNIX
+ CAMLP4D=`camlp4 -where`
+ LIBUNIX=-cclib -lunix
+-OCAMLC=ocamlc.opt -warn-error A
+-OCAMLOPT=ocamlopt.opt -warn-error A
++OCAMLC=ocamlc.opt -warn-error Ay
++OCAMLOPT=ocamlopt.opt -warn-error Ay
+ OCAMLI=
+ OCAMLD=
+ STRIP=strip