[Pkg-gnutls-commits] r87 - in /packages/gnutls13/trunk/debian: changelog patches/15_fixcompilewarning.diff

ametzler at users.alioth.debian.org ametzler at users.alioth.debian.org
Sat Jun 17 08:28:00 UTC 2006


Author: ametzler
Date: Sat Jun 17 08:27:59 2006
New Revision: 87

URL: http://svn.debian.org/wsvn/pkg-gnutls/?sc=1&rev=87
Log:
correct order of funtion arguments of _gnutls_write_uint16 in auth_cert.c

Added:
    packages/gnutls13/trunk/debian/patches/15_fixcompilewarning.diff
Modified:
    packages/gnutls13/trunk/debian/changelog

Modified: packages/gnutls13/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls13/trunk/debian/changelog?rev=87&op=diff
==============================================================================
--- packages/gnutls13/trunk/debian/changelog (original)
+++ packages/gnutls13/trunk/debian/changelog Sat Jun 17 08:27:59 2006
@@ -12,6 +12,7 @@
     - add patches/10_certtoolmanpage.diff  patches/12_lessdeps.diff
   * Fix libgnutls-dev's Suggests to point to existing package. (gnutls-doc)
   * Also ship css-, devhelp- and sgml files in gnutls-doc.
+  * patches/15_fixcompilewarning.diff correct order of funtion arguments.
 
   [ James Westby ]
   * This release allows the port to be specified as the name of the service 

Added: packages/gnutls13/trunk/debian/patches/15_fixcompilewarning.diff
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls13/trunk/debian/patches/15_fixcompilewarning.diff?rev=87&op=file
==============================================================================
--- packages/gnutls13/trunk/debian/patches/15_fixcompilewarning.diff (added)
+++ packages/gnutls13/trunk/debian/patches/15_fixcompilewarning.diff Sat Jun 17 08:27:59 2006
@@ -1,0 +1,20 @@
+http://lists.gnupg.org/pipermail/gnutls-dev/2006-June/001138.html
+ > > auth_cert.c:1436: warning: passing argument 1 of
+ > > '_gnutls_write_uint16' makes integer from pointer without a cast
+ > This looks like a pure bug to me.  Nikos?
+ Ouch. Yes indeed it is a bug. I'll commit a fix.
+
+http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/gnutls/lib/auth_cert.c?root=GNU+TLS+Library&r1=2.109&r2=2.110
+
+diff -ur gnutls13-1.4.0/lib/auth_cert.c.orig gnutls13-1.4.0/lib/auth_cert.c
+--- gnutls13-1.4.0/lib/auth_cert.c.orig	2006-06-17 09:56:50.824839016 +0200
++++ gnutls13-1.4.0/lib/auth_cert.c	2006-06-17 09:57:13.322418864 +0200
+@@ -1433,7 +1433,7 @@
+     }
+   else
+     {
+-      _gnutls_write_uint16( pdata, 0);
++      _gnutls_write_uint16( 0, pdata);
+       /* pdata+=2; */
+     }
+ 




More information about the Pkg-gnutls-commits mailing list