[med-svn] r8521 - in trunk/packages/mriconvert/trunk/debian: . patches

Steven Michael Robbins smr at alioth.debian.org
Fri Nov 11 05:12:56 UTC 2011


Author: smr
Date: 2011-11-11 05:12:55 +0000 (Fri, 11 Nov 2011)
New Revision: 8521

Added:
   trunk/packages/mriconvert/trunk/debian/patches/wxwidgets-initializer.patch
Modified:
   trunk/packages/mriconvert/trunk/debian/changelog
   trunk/packages/mriconvert/trunk/debian/patches/series
Log:
Fix segfault patch.

Modified: trunk/packages/mriconvert/trunk/debian/changelog
===================================================================
--- trunk/packages/mriconvert/trunk/debian/changelog	2011-11-11 04:54:10 UTC (rev 8520)
+++ trunk/packages/mriconvert/trunk/debian/changelog	2011-11-11 05:12:55 UTC (rev 8521)
@@ -1,3 +1,11 @@
+mriconvert (2.0.217-4) unstable; urgency=low
+
+  * patches/wxwidgets-initializer.patch: New.  Pass argc, argv to
+    wxInitializer constructor (thanks, Olly Betts).  Fixes segfault; see
+    #646654.
+
+ -- Steve M. Robbins <smr at debian.org>  Thu, 10 Nov 2011 23:06:44 -0600
+
 mriconvert (2.0.217-3) unstable; urgency=low
 
   * rules: Search for built binary in */release.

Modified: trunk/packages/mriconvert/trunk/debian/patches/series
===================================================================
--- trunk/packages/mriconvert/trunk/debian/patches/series	2011-11-11 04:54:10 UTC (rev 8520)
+++ trunk/packages/mriconvert/trunk/debian/patches/series	2011-11-11 05:12:55 UTC (rev 8521)
@@ -1 +1,2 @@
 findwxwidgets.patch
+wxwidgets-initializer.patch

Added: trunk/packages/mriconvert/trunk/debian/patches/wxwidgets-initializer.patch
===================================================================
--- trunk/packages/mriconvert/trunk/debian/patches/wxwidgets-initializer.patch	                        (rev 0)
+++ trunk/packages/mriconvert/trunk/debian/patches/wxwidgets-initializer.patch	2011-11-11 05:12:55 UTC (rev 8521)
@@ -0,0 +1,18 @@
+Description: Fix segfault
+ Pass argc, argv to wxInitializer constructor (thanks, Olly Betts).
+Author: Steve Robbins <smr at debian.org>
+Bug: 646654
+Forwarded: yes
+
+
+--- mriconvert-2.0.217.orig/McVerter.cpp
++++ mriconvert-2.0.217/McVerter.cpp
+@@ -26,7 +26,7 @@
+ int main(int argc, char** argv)
+ {
+   // First make sure we can use wx stuff.
+-  wxInitializer initializer;
++    wxInitializer initializer(argc, argv);
+   if ( !initializer )
+   {
+     cerr << "Failed to initialize the wxWidgets library, aborting.";




More information about the debian-med-commit mailing list