[gnutls-dev] [PATCH] compile error in libextra

Ian Peters itp@ximian.com
Tue Apr 1 00:25:01 2003


--=-/nYZAMTblI4hI1er1zsO
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

gnutls 0.9.4 doesn't compile out of the box on RH8 with a function
prototype mismatch in libextra/gnutls_openpgp.[ch].  Patch attached.

Ian

--=-/nYZAMTblI4hI1er1zsO
Content-Disposition: inline; filename=gnutls-0.9.4-libextra-prototype-mismatch.patch
Content-Type: text/x-patch; name=gnutls-0.9.4-libextra-prototype-mismatch.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

diff -Nru -x '*~' -x '*.o' -x '*.orig' -x '*.rej' gnutls-0.9.4.orig/libextra/gnutls_openpgp.h gnutls-0.9.4/libextra/gnutls_openpgp.h
--- gnutls-0.9.4.orig/libextra/gnutls_openpgp.h	2003-02-12 07:01:29.000000000 -0500
+++ gnutls-0.9.4/libextra/gnutls_openpgp.h	2003-03-31 17:16:15.000000000 -0500
@@ -94,7 +94,7 @@
 /* internal */
 int _gnutls_openpgp_cert2gnutls_cert(
     gnutls_cert *cert,
-    const gnutls_datum *raw );
+    gnutls_datum raw );
 
 int
 _gnutls_openpgp_request_key(

--=-/nYZAMTblI4hI1er1zsO--