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

Steven Michael Robbins smr at alioth.debian.org
Sat Sep 14 05:40:15 UTC 2013


Author: smr
Date: 2013-09-14 05:40:14 +0000 (Sat, 14 Sep 2013)
New Revision: 14701

Added:
   trunk/packages/minc/trunk/debian/patches/maxpathlen.patch
Modified:
   trunk/packages/minc/trunk/debian/changelog
   trunk/packages/minc/trunk/debian/patches/series
Log:
Work around missing MAXPATHLEN.

Modified: trunk/packages/minc/trunk/debian/changelog
===================================================================
--- trunk/packages/minc/trunk/debian/changelog	2013-09-14 05:37:47 UTC (rev 14700)
+++ trunk/packages/minc/trunk/debian/changelog	2013-09-14 05:40:14 UTC (rev 14701)
@@ -1,3 +1,10 @@
+minc (2.2.00-3) unstable; urgency=low
+
+  * patches/maxpathlen.patch: New.  Work around missing MAXPATHLEN on
+    hurd.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 14 Sep 2013 00:39:06 -0500
+
 minc (2.2.00-2) unstable; urgency=low
 
   * patches/pod_fix.diff: New.  Fix POD documentation to comply with

Added: trunk/packages/minc/trunk/debian/patches/maxpathlen.patch
===================================================================
--- trunk/packages/minc/trunk/debian/patches/maxpathlen.patch	                        (rev 0)
+++ trunk/packages/minc/trunk/debian/patches/maxpathlen.patch	2013-09-14 05:40:14 UTC (rev 14701)
@@ -0,0 +1,14 @@
+--- minc-2.2.00.orig/progs/mincmorph/mincmorph.c
++++ minc-2.2.00/progs/mincmorph/mincmorph.c
+@@ -30,6 +30,11 @@
+ #define INTERNAL_PREC NC_FLOAT         /* should be NC_FLOAT or NC_DOUBLE */
+ #define DEF_DOUBLE -DBL_MAX
+ 
++#ifndef MAXPATHLEN
++#define MAXPATHLEN 1024
++#endif
++
++
+ /* function prototypes */
+ char    *get_real_from_string(char *string, double *value);
+ char    *get_string_from_string(char *string, char **value);

Modified: trunk/packages/minc/trunk/debian/patches/series
===================================================================
--- trunk/packages/minc/trunk/debian/patches/series	2013-09-14 05:37:47 UTC (rev 14700)
+++ trunk/packages/minc/trunk/debian/patches/series	2013-09-14 05:40:14 UTC (rev 14701)
@@ -1,3 +1,4 @@
+maxpathlen.patch
 makefile.patch
 01_mincedit-sensible-viewer.diff
 acrnema-version.patch




More information about the debian-med-commit mailing list