Author: smr
Date: 2013-07-10 03:35:47 +0000 (Wed, 10 Jul 2013)
New Revision: 14133

Added:
   trunk/packages/mriconvert/trunk/debian/patches/boost-exception.patch
Modified:
   trunk/packages/mriconvert/trunk/debian/changelog
   trunk/packages/mriconvert/trunk/debian/control
   trunk/packages/mriconvert/trunk/debian/patches/series
Log:
Link with Boost.Exception.

Modified: trunk/packages/mriconvert/trunk/debian/changelog
===================================================================
--- trunk/packages/mriconvert/trunk/debian/changelog    2013-07-09 23:54:44 UTC 
(rev 14132)
+++ trunk/packages/mriconvert/trunk/debian/changelog    2013-07-10 03:35:47 UTC 
(rev 14133)
@@ -1,3 +1,15 @@
+mriconvert (1:2.0.4-2) unstable; urgency=low
+
+  * patches/boost-exception.patch: New.  Link with
+    -lboost_program_options.  The build on MIPS and ARM failed because
+    Boost program-options needs symbols from Boost exception.
+  
+  * control: Add build-dependency for Boost.Exception.  Unfortunately, the
+    current boost-defaults is missing an unversioned boost-exception-dev,
+    so added deps for Boost 1.53.
+
+ -- Steve M. Robbins <[email protected]>  Tue, 09 Jul 2013 22:35:19 -0500
+
 mriconvert (1:2.0.4-1) unstable; urgency=low
 
   * New upstream.

Modified: trunk/packages/mriconvert/trunk/debian/control
===================================================================
--- trunk/packages/mriconvert/trunk/debian/control      2013-07-09 23:54:44 UTC 
(rev 14132)
+++ trunk/packages/mriconvert/trunk/debian/control      2013-07-10 03:35:47 UTC 
(rev 14133)
@@ -5,7 +5,8 @@
 Maintainer: Debian Med Packaging Team 
<[email protected]>
 Uploaders: Steve M. Robbins <[email protected]>
 Build-Depends: debhelper (>= 9),
-               libboost-program-options-dev,
+               libboost-program-options1.53-dev,
+               libboost-exception1.53-dev,
                libinsighttoolkit3-dev,
                libwxgtk2.8-dev,
                cableswig,

Added: trunk/packages/mriconvert/trunk/debian/patches/boost-exception.patch
===================================================================
--- trunk/packages/mriconvert/trunk/debian/patches/boost-exception.patch        
                        (rev 0)
+++ trunk/packages/mriconvert/trunk/debian/patches/boost-exception.patch        
2013-07-10 03:35:47 UTC (rev 14133)
@@ -0,0 +1,14 @@
+Link with -lboost_program_options.  The build on MIPS and ARM failed
+because Boost program-options needs symbols from Boost exception.
+
+--- mriconvert-2.0.4.orig/CMakeLists.txt
++++ mriconvert-2.0.4/CMakeLists.txt
+@@ -32,7 +32,7 @@
+   
+ ## Setup for Boost.
+ set( Boost_USE_STATIC_LIBS TRUE )
+-find_package( Boost COMPONENTS program_options REQUIRED )
++find_package( Boost COMPONENTS program_options exception REQUIRED )
+ if (Boost_FOUND)
+   include_directories( ${Boost_INCLUDE_DIRS} )
+   link_directories( ${Boost_LIBRARY_DIRS} )

Modified: trunk/packages/mriconvert/trunk/debian/patches/series
===================================================================
--- trunk/packages/mriconvert/trunk/debian/patches/series       2013-07-09 
23:54:44 UTC (rev 14132)
+++ trunk/packages/mriconvert/trunk/debian/patches/series       2013-07-10 
03:35:47 UTC (rev 14133)
@@ -1 +1 @@
-
+boost-exception.patch


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to