[med-svn] r2890 - in trunk/packages/minc/trunk/debian: . patches

smr at alioth.debian.org smr at alioth.debian.org
Sat Jan 3 22:19:51 UTC 2009


Author: smr
Date: 2009-01-03 22:19:51 +0000 (Sat, 03 Jan 2009)
New Revision: 2890

Added:
   trunk/packages/minc/trunk/debian/patches/05_parseargv.diff
Modified:
   trunk/packages/minc/trunk/debian/changelog
Log:
Patch arg parsing.

Modified: trunk/packages/minc/trunk/debian/changelog
===================================================================
--- trunk/packages/minc/trunk/debian/changelog	2009-01-03 22:13:30 UTC (rev 2889)
+++ trunk/packages/minc/trunk/debian/changelog	2009-01-03 22:19:51 UTC (rev 2890)
@@ -1,3 +1,11 @@
+minc (2.0.16-4) unstable; urgency=low
+
+  * debian/patches/05_parseargv.diff: New.  Patch from upstream to fix arg
+    parsing on 64bits.  Closes: #510629.  This was also the root cause of
+    mincheader and mincdiff failing.  Closes: #506276.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 03 Jan 2009 16:16:47 -0600
+
 minc (2.0.16-3) unstable; urgency=low
 
   * debian/control: Extend previous fix from build-depends to libminc-dev

Added: trunk/packages/minc/trunk/debian/patches/05_parseargv.diff
===================================================================
--- trunk/packages/minc/trunk/debian/patches/05_parseargv.diff	                        (rev 0)
+++ trunk/packages/minc/trunk/debian/patches/05_parseargv.diff	2009-01-03 22:19:51 UTC (rev 2890)
@@ -0,0 +1,19 @@
+Taken from upstream CVS 2009-01-03.
+
+Index: libsrc/ParseArgv.c
+===================================================================
+RCS file: /private-cvsroot/minc/libsrc/ParseArgv.c,v
+retrieving revision 6.9
+retrieving revision 6.10
+diff -u -b -B -r6.9 -r6.10
+--- libsrc/ParseArgv.c	12 Aug 2008 05:00:23 -0000	6.9
++++ libsrc/ParseArgv.c	3 Jan 2009 21:02:59 -0000	6.10
+@@ -174,7 +174,7 @@
+       infoPtr = matchPtr;
+       switch (infoPtr->type) {
+       case ARGV_CONSTANT:
+-         *((long *) infoPtr->dst) = (long) infoPtr->src;
++         *((int *) infoPtr->dst) = (int) infoPtr->src;
+          break;
+       case ARGV_INT:
+          nargs = (int) infoPtr->src;




More information about the debian-med-commit mailing list