[med-svn] r9570 - in trunk/packages/volview/trunk/debian: . patches

Mathieu Malaterre malat-guest at alioth.debian.org
Sun Feb 5 19:47:59 UTC 2012


Author: malat-guest
Date: 2012-02-05 19:47:59 +0000 (Sun, 05 Feb 2012)
New Revision: 9570

Added:
   trunk/packages/volview/trunk/debian/patches/fixstring.patch
Modified:
   trunk/packages/volview/trunk/debian/changelog
   trunk/packages/volview/trunk/debian/patches/series
Log:
Use hardening flags

Modified: trunk/packages/volview/trunk/debian/changelog
===================================================================
--- trunk/packages/volview/trunk/debian/changelog	2012-02-05 19:22:50 UTC (rev 9569)
+++ trunk/packages/volview/trunk/debian/changelog	2012-02-05 19:47:59 UTC (rev 9570)
@@ -3,6 +3,7 @@
   * Use any curl.h provider
   * Make sure to use vtkedge 0.2 and above
   * Fix mipsel compilation. Closes: #658273
+  * Use hardening flags
 
  -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 01 Feb 2012 21:14:28 +0100
 

Added: trunk/packages/volview/trunk/debian/patches/fixstring.patch
===================================================================
--- trunk/packages/volview/trunk/debian/patches/fixstring.patch	                        (rev 0)
+++ trunk/packages/volview/trunk/debian/patches/fixstring.patch	2012-02-05 19:47:59 UTC (rev 9570)
@@ -0,0 +1,22 @@
+Index: volview-3.4/VolViewLibraries/KWVolView/Features/vtkVVInformationInterface.cxx
+===================================================================
+--- volview-3.4.orig/VolViewLibraries/KWVolView/Features/vtkVVInformationInterface.cxx	2012-02-01 21:57:15.000000000 +0100
++++ volview-3.4/VolViewLibraries/KWVolView/Features/vtkVVInformationInterface.cxx	2012-02-01 22:30:04.000000000 +0100
+@@ -190,14 +190,14 @@
+   switch (volume_data->GetScope())
+     {
+     case vtkVVDataItem::ScopeMedical:
+-      sprintf(buffer, ks_("Scope|Medical"));
++      sprintf(buffer, "%s", ks_("Scope|Medical"));
+       break;
+     case vtkVVDataItem::ScopeScientific:
+-      sprintf(buffer, ks_("Scope|Scientific"));
++      sprintf(buffer, "%s", ks_("Scope|Scientific"));
+       break;
+     default:
+     case vtkVVDataItem::ScopeUnknown:
+-      sprintf(buffer, ks_("Scope|Unknown"));
++      sprintf(buffer, "%s", ks_("Scope|Unknown"));
+       break;
+     }
+   list->FindAndInsertCellText(0, labels->GetDataScopeLabel(),

Modified: trunk/packages/volview/trunk/debian/patches/series
===================================================================
--- trunk/packages/volview/trunk/debian/patches/series	2012-02-05 19:22:50 UTC (rev 9569)
+++ trunk/packages/volview/trunk/debian/patches/series	2012-02-05 19:47:59 UTC (rev 9570)
@@ -10,3 +10,4 @@
 fixupcurl.patch
 vvforward.patch
 removerpath.patch
+fixstring.patch




More information about the debian-med-commit mailing list