[Pkg-gnutls-commits] r64 - in /libgcrypt11/trunk/debian/patches: 11_gcrypt_h_362636.patch 11_gnutls_h_362636.patch

jamesw-guest at users.alioth.debian.org jamesw-guest at users.alioth.debian.org
Thu Jun 8 16:13:14 UTC 2006


Author: jamesw-guest
Date: Thu Jun  8 16:13:13 2006
New Revision: 64

URL: http://svn.debian.org/wsvn/pkg-gnutls/?sc=1&rev=64
Log:
Get the name of the patch correct

Added:
    libgcrypt11/trunk/debian/patches/11_gcrypt_h_362636.patch
Removed:
    libgcrypt11/trunk/debian/patches/11_gnutls_h_362636.patch

Added: libgcrypt11/trunk/debian/patches/11_gcrypt_h_362636.patch
URL: http://svn.debian.org/wsvn/pkg-gnutls/libgcrypt11/trunk/debian/patches/11_gcrypt_h_362636.patch?rev=64&op=file
==============================================================================
--- libgcrypt11/trunk/debian/patches/11_gcrypt_h_362636.patch (added)
+++ libgcrypt11/trunk/debian/patches/11_gcrypt_h_362636.patch Thu Jun  8 16:13:13 2006
@@ -1,0 +1,27 @@
+diff -Nur libgcrypt11-1.2.2/src/gcrypt.h libgcrypt11-1.2.2.new/src/gcrypt.h
+--- libgcrypt11-1.2.2/src/gcrypt.h	2005-10-05 09:44:00.000000000 +0100
++++ libgcrypt11-1.2.2.new/src/gcrypt.h	2006-06-08 16:55:37.000000000 +0100
+@@ -257,7 +257,7 @@
+ static int gcry_pthread_mutex_init (void **priv)			      \
+ {									      \
+   int err = 0;								      \
+-  pthread_mutex_t *lock = malloc (sizeof (pthread_mutex_t));		      \
++  pthread_mutex_t *lock = (pthread_mutex_t*) malloc (sizeof (pthread_mutex_t));		      \
+ 									      \
+   if (!lock)								      \
+     err = ENOMEM;							      \
+@@ -272,11 +272,11 @@
+   return err;								      \
+ }									      \
+ static int gcry_pthread_mutex_destroy (void **lock)			      \
+-  { int err = pthread_mutex_destroy (*lock);  free (*lock); return err; }     \
++  { int err = pthread_mutex_destroy ((pthread_mutex_t*) *lock);  free (*lock); return err; }     \
+ static int gcry_pthread_mutex_lock (void **lock)			      \
+-  { return pthread_mutex_lock (*lock); }				      \
++  { return pthread_mutex_lock ((pthread_mutex_t*) *lock); }				      \
+ static int gcry_pthread_mutex_unlock (void **lock)			      \
+-  { return pthread_mutex_unlock (*lock); }				      \
++  { return pthread_mutex_unlock ((pthread_mutex_t*) *lock); }				      \
+ 									      \
+ static struct gcry_thread_cbs gcry_threads_pthread =			      \
+ { GCRY_THREAD_OPTION_PTHREAD, NULL,					      \




More information about the Pkg-gnutls-commits mailing list