[Pkg-jed-commit] r324 - in trunk/packages/slgtk/debian: . patches

Rafael Laboissiere rafael at costa.debian.org
Fri Jun 9 21:25:11 UTC 2006


Author: rafael
Date: 2006-06-09 21:25:09 +0000 (Fri, 09 Jun 2006)
New Revision: 324

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


Added: trunk/packages/slgtk/debian/patches/pointer-int-cast.patch
===================================================================
--- trunk/packages/slgtk/debian/patches/pointer-int-cast.patch	2006-06-09 13:29:39 UTC (rev 323)
+++ trunk/packages/slgtk/debian/patches/pointer-int-cast.patch	2006-06-09 21:25:09 UTC (rev 324)
@@ -0,0 +1,15 @@
+diff -Nur slgtk-0.5.15-r4/slirp/refs.c slgtk-0.5.15-r4.new/slirp/refs.c
+--- slgtk-0.5.15-r4/slirp/refs.c	2005-05-05 22:18:03.000000000 +0200
++++ slgtk-0.5.15-r4.new/slirp/refs.c	2006-06-09 10:03:05.734394288 +0200
+@@ -84,8 +84,9 @@
+ 
+ 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