summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-07-24 04:43:44 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-07-24 04:43:44 +0000
commit72c90e4f527848e7108bbb6ba305faf99591ce91 (patch)
tree6b79e6b892d4bc5f16af7a8efbbbff5bc8f62d62 /net-libs
parentinitial ebuild (diff)
downloadhistorical-72c90e4f527848e7108bbb6ba305faf99591ce91.tar.gz
historical-72c90e4f527848e7108bbb6ba305faf99591ce91.tar.bz2
historical-72c90e4f527848e7108bbb6ba305faf99591ce91.zip
add extern C headers to extra.h (#51206)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/gnutls/ChangeLog6
-rw-r--r--net-libs/gnutls/Manifest7
-rw-r--r--net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch23
-rw-r--r--net-libs/gnutls/gnutls-1.0.14.ebuild9
4 files changed, 40 insertions, 5 deletions
diff --git a/net-libs/gnutls/ChangeLog b/net-libs/gnutls/ChangeLog
index 5319bc9a20e8..9f2601379efe 100644
--- a/net-libs/gnutls/ChangeLog
+++ b/net-libs/gnutls/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/gnutls
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.23 2004/07/02 02:50:17 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.24 2004/07/24 04:43:43 liquidx Exp $
+
+ 24 Jul 2004; Alastair Tse <liquidx@gentoo.org>
+ +files/gnutls-1.0.14-extra.h.patch, gnutls-1.0.14.ebuild:
+ add extern C headers to extra.h (#51206)
01 Jul 2004; Tom Gall <gentoo.org> gnutls-1.0.14.ebuild:
stable on ppc64, bug #54804
diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest
index 8c7826345a9f..bef6a3aae73b 100644
--- a/net-libs/gnutls/Manifest
+++ b/net-libs/gnutls/Manifest
@@ -1,10 +1,11 @@
-MD5 63a05b7186482f37738f712e16d38434 ChangeLog 3008
MD5 f77f13c1b8dded211ed9b623513bba16 gnutls-0.8.10.ebuild 1218
MD5 81412d7eaa9beecf365e5a3e44b00042 gnutls-0.8.12.ebuild 1280
+MD5 2af94f0926f83cb6c4c9ba52aca9347d gnutls-1.0.14.ebuild 1893
+MD5 cdb483ce5303d6080928083071708480 ChangeLog 3163
MD5 e4ad73882c9a5cb4d90c981761b021a8 gnutls-1.0.4.ebuild 1372
MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219
-MD5 54f148cac104d1a0b006ae444b47d939 gnutls-1.0.14.ebuild 1772
MD5 b2ae83a3180a66ab61bdf08669f27399 files/digest-gnutls-0.8.10 66
MD5 ec1e68cbc333074c03943a0927d46c01 files/digest-gnutls-0.8.12 66
-MD5 0f5a5be1e092fb96ea291fdf5699d05f files/digest-gnutls-1.0.4 65
MD5 3e65b092ba91de3afba12ede1cbbb5a3 files/digest-gnutls-1.0.14 67
+MD5 f18a27b918852e159e830cf474c71447 files/gnutls-1.0.14-extra.h.patch 480
+MD5 0f5a5be1e092fb96ea291fdf5699d05f files/digest-gnutls-1.0.4 65
diff --git a/net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch b/net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch
new file mode 100644
index 000000000000..73fe8edb2a37
--- /dev/null
+++ b/net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch
@@ -0,0 +1,23 @@
+--- includes/gnutls/extra.h 2004-03-25 04:43:49.000000000 -0500
++++ includes/gnutls/extra.h.new 2004-07-24 00:31:11.716460832 -0400
+@@ -27,6 +27,10 @@
+
+ #define LIBGNUTLS_EXTRA_VERSION LIBGNUTLS_VERSION
+
++#ifdef __cplusplus
++#extern "C" {
++#endif
++
+ /* SRP */
+
+ typedef struct DSTRUCT* gnutls_srp_server_credentials;
+@@ -119,5 +123,9 @@
+ int gnutls_srp_base64_decode_alloc( const gnutls_datum *b64_data,
+ gnutls_datum* result);
+
++#ifdef __cplusplus
++}
++#endif
++
+
+ #endif
diff --git a/net-libs/gnutls/gnutls-1.0.14.ebuild b/net-libs/gnutls/gnutls-1.0.14.ebuild
index 2e955b3784c8..c25d6ebfc25e 100644
--- a/net-libs/gnutls/gnutls-1.0.14.ebuild
+++ b/net-libs/gnutls/gnutls-1.0.14.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.0.14.ebuild,v 1.4 2004/07/02 02:50:17 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.0.14.ebuild,v 1.5 2004/07/24 04:43:44 liquidx Exp $
+
+inherit eutils
DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
HOMEPAGE="http://www.gnutls.org/"
@@ -36,6 +38,11 @@ DEPEND="${RDEPEND}
# libtasn1
# opencdk
+src_unpack() {
+ unpack ${A}
+ cd ${S}/includes/gnutls; epatch ${FILESDIR}/${PN}-1.0.14-extra.h.patch
+}
+
src_compile() {
# I think this vvv gets ignored if not present
local myconf="--without-included-libtasn1 --without-included-opencdk"