summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2013-12-21 16:21:20 +0000
committerchristos <christos@pkgsrc.org>2013-12-21 16:21:20 +0000
commit13f0871e65c19d5c063dc23eaf424b4c822878ff (patch)
tree2296e4ab6352e4477ab1253a67f37b1b8d5e1c95 /lang/ocaml
parent697df0a2c1c0da84dadd26ace795e80406d81334 (diff)
downloadpkgsrc-13f0871e65c19d5c063dc23eaf424b4c822878ff.tar.gz
fix gethostbyfoo_r lossage.
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/Makefile4
-rw-r--r--lang/ocaml/distinfo4
-rw-r--r--lang/ocaml/patches/patch-config_auto__aux_gethostbyaddr.c15
-rw-r--r--lang/ocaml/patches/patch-config_auto__aux_gethostbyname.c15
4 files changed, 35 insertions, 3 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 16a9b536c6c..1f68a42223d 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.87 2013/12/10 19:26:22 jperkin Exp $
+# $NetBSD: Makefile,v 1.88 2013/12/21 16:21:20 christos Exp $
.include "Makefile.common"
-#PKGREVISION= 2
+PKGREVISION= 1
CONFIGURE_ARGS+= -no-tk
CONFIGURE_ARGS+= -cc ${CC}
diff --git a/lang/ocaml/distinfo b/lang/ocaml/distinfo
index 4dd6771f6d1..6cdea65f20c 100644
--- a/lang/ocaml/distinfo
+++ b/lang/ocaml/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.73 2013/11/04 16:39:32 joerg Exp $
+$NetBSD: distinfo,v 1.74 2013/12/21 16:21:20 christos Exp $
SHA1 (ocaml-4.01.0.tar.bz2) = a814feca204e50f082515a3845cdd18c6d0e24b6
RMD160 (ocaml-4.01.0.tar.bz2) = eedf28f446489c6b2c1f82782f5ee852293fc0b7
@@ -10,6 +10,8 @@ SHA1 (patch-asmrun_power-bsd.S) = bd52898dde14adc1dbf9cd85a7f8af4d77218e6f
SHA1 (patch-asmrun_signals_osdep.h) = cc7131ef020563ae28c1fddbe8fe634174f73826
SHA1 (patch-byterun_Makefile) = 9681ce78c78879d29d9c58f35278a14e6cb18e96
SHA1 (patch-camlp4_man_Makefile) = c3a5dc09a2cc15d969c4e074be7da98a979f7db4
+SHA1 (patch-config_auto__aux_gethostbyaddr.c) = 40e54b02b704cafcdfe5487bddebe8558071ac77
+SHA1 (patch-config_auto__aux_gethostbyname.c) = 775bd8ff0e8b175df1912d37845a0b64001597a0
SHA1 (patch-configure) = 4f302dd5713060eb53a2255173406d9b9017d5a1
SHA1 (patch-debugger_Makefile.shared) = 583fa88caf965164aa3b638dda4c2a6e8878bdf9
SHA1 (patch-man_Makefile) = 3f52dd1fcbde53399852a6490d5f27fc7c1c98e5
diff --git a/lang/ocaml/patches/patch-config_auto__aux_gethostbyaddr.c b/lang/ocaml/patches/patch-config_auto__aux_gethostbyaddr.c
new file mode 100644
index 00000000000..6f1088c86cd
--- /dev/null
+++ b/lang/ocaml/patches/patch-config_auto__aux_gethostbyaddr.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-config_auto__aux_gethostbyaddr.c,v 1.1 2013/12/21 16:21:20 christos Exp $
+
+--- config/auto-aux/gethostbyaddr.c.orig 2012-10-15 13:50:56.000000000 -0400
++++ config/auto-aux/gethostbyaddr.c 2013-12-21 11:16:25.000000000 -0500
+@@ -19,6 +19,10 @@
+ #include <sys/types.h>
+ #include <netdb.h>
+
++#ifdef __NetBSD__
++#error "the test does not handle missing prototypes"
++#endif
++
+ int main(int argc, char ** argv)
+ {
+ #if NUM_ARGS == 7
diff --git a/lang/ocaml/patches/patch-config_auto__aux_gethostbyname.c b/lang/ocaml/patches/patch-config_auto__aux_gethostbyname.c
new file mode 100644
index 00000000000..e3eb3b7ca2b
--- /dev/null
+++ b/lang/ocaml/patches/patch-config_auto__aux_gethostbyname.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-config_auto__aux_gethostbyname.c,v 1.1 2013/12/21 16:21:20 christos Exp $
+
+--- config/auto-aux/gethostbyname.c.orig 2012-10-15 13:50:56.000000000 -0400
++++ config/auto-aux/gethostbyname.c 2013-12-21 11:16:39.000000000 -0500
+@@ -19,6 +19,10 @@
+ #include <sys/types.h>
+ #include <netdb.h>
+
++#ifdef __NetBSD__
++#error "the test does not handle missing prototypes"
++#endif
++
+ int main(int argc, char ** argv)
+ {
+ #if NUM_ARGS == 5