pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gnutls Hack around stupid GNUlib mess to allo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c8bbd867e0a
branches:  trunk
changeset: 533297:6c8bbd867e0a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Sep 14 12:03:37 2007 +0000

description:
Hack around stupid GNUlib mess to allow building on DragonFly.

diffstat:

 security/gnutls/distinfo         |   4 +++-
 security/gnutls/patches/patch-aa |  23 +++++++++++++++++++++++
 security/gnutls/patches/patch-ac |  23 +++++++++++++++++++++++
 3 files changed, 49 insertions(+), 1 deletions(-)

diffs (70 lines):

diff -r 8a1a30723825 -r 6c8bbd867e0a security/gnutls/distinfo
--- a/security/gnutls/distinfo  Fri Sep 14 11:59:39 2007 +0000
+++ b/security/gnutls/distinfo  Fri Sep 14 12:03:37 2007 +0000
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.37 2007/09/05 21:51:21 drochner Exp $
+$NetBSD: distinfo,v 1.38 2007/09/14 12:03:37 joerg Exp $
 
 SHA1 (gnutls-2.0.0.tar.bz2) = 985d86cb942b9d79abb5c8966439f23141ad803a
 RMD160 (gnutls-2.0.0.tar.bz2) = 4f0fac158749ac9df9d0f1c0dd0264ef26230b93
 Size (gnutls-2.0.0.tar.bz2) = 4764031 bytes
+SHA1 (patch-aa) = 1d4ee449fd02fce00fdab055857281b69b17c1ae
 SHA1 (patch-ab) = d1e28c1e8bf1af4f65f38571840d92c88b222d8f
+SHA1 (patch-ac) = 2c31d26f4187f37bfbba08bedcb25ecb51225d4f
 SHA1 (patch-ad) = 24d7eb4fc75b90b97697a05267de8966313e8899
 SHA1 (patch-ae) = 3b74520c79a129a29dbeee6c6b66d5aa42b9aa47
 SHA1 (patch-af) = bd4701640dfef5bfdce87d620befd93098b0dff3
diff -r 8a1a30723825 -r 6c8bbd867e0a security/gnutls/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-aa  Fri Sep 14 12:03:37 2007 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.11 2007/09/14 12:03:37 joerg Exp $
+
+Hack around GNUlib idiosyncracy where the overwritten stdio.h includes
+sys/types.h which includes stdint.h (overwritten!) which includes wchar.h
+which includes stdio.h, BOOM.
+
+--- lgl/stdio_.h.orig  2007-09-14 11:29:05.000000000 +0000
++++ lgl/stdio_.h
+@@ -35,6 +35,14 @@
+ #include <stdarg.h>
+ #include <stddef.h>
+ 
++#ifdef __DragonFly__
++#include <machine/stdint.h>
++#ifndef _SSIZE_T_DECLARED
++#define _SSIZE_T_DECLARED
++typedef __ssize_t     ssize_t;
++#endif
++#endif
++
+ #if (@GNULIB_FSEEKO@ && @REPLACE_FSEEKO@) \
+   || (@GNULIB_FTELLO@ && @REPLACE_FTELLO@) \
+   || (@GNULIB_GETDELIM@ && !@HAVE_DECL_GETDELIM@) \
diff -r 8a1a30723825 -r 6c8bbd867e0a security/gnutls/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-ac  Fri Sep 14 12:03:37 2007 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.5 2007/09/14 12:03:38 joerg Exp $
+
+Hack around GNUlib idiosyncracy where the overwritten stdio.h includes
+sys/types.h which includes stdint.h (overwritten!) which includes wchar.h
+which includes stdio.h, BOOM.
+
+--- gl/stdio_.h.orig   2007-09-14 11:29:05.000000000 +0000
++++ gl/stdio_.h
+@@ -35,6 +35,14 @@
+ #include <stdarg.h>
+ #include <stddef.h>
+ 
++#ifdef __DragonFly__
++#include <machine/stdint.h>
++#ifndef _SSIZE_T_DECLARED
++#define _SSIZE_T_DECLARED
++typedef __ssize_t     ssize_t;
++#endif
++#endif
++
+ #if (@GNULIB_FSEEKO@ && @REPLACE_FSEEKO@) \
+   || (@GNULIB_FTELLO@ && @REPLACE_FTELLO@) \
+   || (@GNULIB_GETDELIM@ && !@HAVE_DECL_GETDELIM@) \



Home | Main Index | Thread Index | Old Index