pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ocaml fix gethostbyfoo_r lossage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b146b8a7791c
branches:  trunk
changeset: 627934:b146b8a7791c
user:      christos <christos%pkgsrc.org@localhost>
date:      Sat Dec 21 16:21:20 2013 +0000

description:
fix gethostbyfoo_r lossage.

diffstat:

 lang/ocaml/Makefile                                       |   4 ++--
 lang/ocaml/distinfo                                       |   4 +++-
 lang/ocaml/patches/patch-config_auto__aux_gethostbyaddr.c |  15 +++++++++++++++
 lang/ocaml/patches/patch-config_auto__aux_gethostbyname.c |  15 +++++++++++++++
 4 files changed, 35 insertions(+), 3 deletions(-)

diffs (70 lines):

diff -r 589d15d10470 -r b146b8a7791c lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Sat Dec 21 15:24:15 2013 +0000
+++ b/lang/ocaml/Makefile       Sat Dec 21 16:21:20 2013 +0000
@@ -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 -r 589d15d10470 -r b146b8a7791c lang/ocaml/distinfo
--- a/lang/ocaml/distinfo       Sat Dec 21 15:24:15 2013 +0000
+++ b/lang/ocaml/distinfo       Sat Dec 21 16:21:20 2013 +0000
@@ -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_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 -r 589d15d10470 -r b146b8a7791c lang/ocaml/patches/patch-config_auto__aux_gethostbyaddr.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ocaml/patches/patch-config_auto__aux_gethostbyaddr.c Sat Dec 21 16:21:20 2013 +0000
@@ -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 -r 589d15d10470 -r b146b8a7791c lang/ocaml/patches/patch-config_auto__aux_gethostbyname.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ocaml/patches/patch-config_auto__aux_gethostbyname.c Sat Dec 21 16:21:20 2013 +0000
@@ -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



Home | Main Index | Thread Index | Old Index