[Pkg-jed-commit] r327 - in trunk/packages/slang-slirp/debian: . patches

Rafael Laboissiere rafael at costa.debian.org
Fri Jun 9 21:29:03 UTC 2006


Author: rafael
Date: 2006-06-09 21:29:03 +0000 (Fri, 09 Jun 2006)
New Revision: 327

Added:
   trunk/packages/slang-slirp/debian/patches/
   trunk/packages/slang-slirp/debian/patches/pointer-int-cast.patch
Log:
Added patch file


Added: trunk/packages/slang-slirp/debian/patches/pointer-int-cast.patch
===================================================================
--- trunk/packages/slang-slirp/debian/patches/pointer-int-cast.patch	2006-06-09 21:27:43 UTC (rev 326)
+++ trunk/packages/slang-slirp/debian/patches/pointer-int-cast.patch	2006-06-09 21:29:03 UTC (rev 327)
@@ -0,0 +1,16 @@
+diff -Nur slirp-1.7.9/refs.c slirp-1.7.9.new/refs.c
+--- slirp-1.7.9/refs.c	2006-06-09 00:30:34.455413000 +0200
++++ slirp-1.7.9.new/refs.c	2006-06-09 00:32:02.511855888 +0200
+@@ -84,9 +84,10 @@
+ 
+ static unsigned int  ref_get_size(Slirp_Ref *sref, int which_dimension)
+ {
+-   /* Trick: avoid strict compiler warnings if this func winds up unused */
+-   unsigned int size = (unsigned int)&ref_get_size;
++   unsigned int size;
+ 
++   if (0) (void) &ref_get_size; /* avoid compiler warnings if unused */
++   
+    /* Slirp_Ref encapsulates arrays, S-Lang refs, and S-Lang mmt types,   */
+    /* the latter two of which are considered to point to a single object  */
+ 




More information about the Pkg-jed-commit mailing list