summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-09-14 12:03:37 +0000
committerjoerg <joerg@pkgsrc.org>2007-09-14 12:03:37 +0000
commitfad8ac6a3861ecb053c673c0a00877a567fc28db (patch)
tree7308628ad07be31be3a5ffb1676b7155c79535e9 /security
parent7b69a8d34f9f231a7e23c83cc3dd6ca842777e8f (diff)
downloadpkgsrc-fad8ac6a3861ecb053c673c0a00877a567fc28db.tar.gz
Hack around stupid GNUlib mess to allow building on DragonFly.
Diffstat (limited to 'security')
-rw-r--r--security/gnutls/distinfo4
-rw-r--r--security/gnutls/patches/patch-aa23
-rw-r--r--security/gnutls/patches/patch-ac23
3 files changed, 49 insertions, 1 deletions
diff --git a/security/gnutls/distinfo b/security/gnutls/distinfo
index a89dc8c5c9f..4ffffc634c3 100644
--- a/security/gnutls/distinfo
+++ b/security/gnutls/distinfo
@@ -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 --git a/security/gnutls/patches/patch-aa b/security/gnutls/patches/patch-aa
new file mode 100644
index 00000000000..9adf25fe4c6
--- /dev/null
+++ b/security/gnutls/patches/patch-aa
@@ -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 --git a/security/gnutls/patches/patch-ac b/security/gnutls/patches/patch-ac
new file mode 100644
index 00000000000..d2720dba961
--- /dev/null
+++ b/security/gnutls/patches/patch-ac
@@ -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@) \