summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-01-06 20:35:38 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-01-06 20:35:38 +0000
commit020ed761ef4205cb6efc828d06c4f2651679c13e (patch)
tree17a397dadd64528a0fda635a2b021c7f36b06d51 /net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch
parentNew TLS/qregex patch from bug 56512 (Manifest recommit) (diff)
downloadgentoo-2-020ed761ef4205cb6efc828d06c4f2651679c13e.tar.gz
gentoo-2-020ed761ef4205cb6efc828d06c4f2651679c13e.tar.bz2
gentoo-2-020ed761ef4205cb6efc828d06c4f2651679c13e.zip
Over zelously pruned patch. Bug #76890 refers
Diffstat (limited to 'net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch')
-rw-r--r--net-libs/gnutls/files/gnutls-1.0.14-extra.h.patch23
1 files changed, 23 insertions, 0 deletions
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..ea041017cde2
--- /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