tag 530484 patch
thanks

Steve M. Robbins <s...@debian.org> (24/05/2009):
> Upstream stopped building separate single- and multi-threaded variants
> of all libraries and Debian followed suit as of 1.37.0.  The
> single-threaded variant was named, e.g. "-lboost_regex" while the
> multi-threaded variant was suffixed with "-mt", i.e. named
> "-lboost_regex-mt".  Your package needs to change its linker
> arguments.

Fixed package uploaded with the attached patch.
 
Mraw,
KiBi.
diff -u xsd-3.2.0.1/debian/rules xsd-3.2.0.1/debian/rules
--- xsd-3.2.0.1/debian/rules
+++ xsd-3.2.0.1/debian/rules
@@ -34,6 +34,7 @@
 	test -d $(XSD_SRCDIR)
 	cd $(XSD_SRCDIR)/xsd-* && patch -p1 < $(CWD)/debian/patches/xsd_xsdcxx-rename.patch
 	cd $(XSD_SRCDIR)/xsd-* && patch -p1 < $(CWD)/debian/patches/xsd_manfix.patch
+	cd $(XSD_SRCDIR)       && patch -p1 < $(CWD)/debian/patches/xsd_fix-boost-ftbfs.patch
 
 	touch $@
 
diff -u xsd-3.2.0.1/debian/changelog xsd-3.2.0.1/debian/changelog
--- xsd-3.2.0.1/debian/changelog
+++ xsd-3.2.0.1/debian/changelog
@@ -1,3 +1,15 @@
+xsd (3.2.0.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with new boost (>= 1.37.0) by using the “-mt” suffix for
+    boost libraries since starting with this version, only this variant
+    is available (Closes: #530484):
+     + debian/patches: Add xsd_fix-boost-ftbfs.patch
+     + debian/rules: Apply that patch.
+  * Set urgency to “medium” since this bug affects testing too.
+
+ -- Cyril Brulebois <k...@debian.org>  Sat, 18 Jul 2009 10:51:36 +0200
+
 xsd (3.2.0.1-1) unstable; urgency=low
 
   * New upstream version. This version depends on Xerces-C 3.0.0 which
only in patch2:
unchanged:
--- xsd-3.2.0.1.orig/debian/patches/xsd_fix-boost-ftbfs.patch
+++ xsd-3.2.0.1/debian/patches/xsd_fix-boost-ftbfs.patch
@@ -0,0 +1,110 @@
+--- a/libbackend-elements-1.6.1/build/import/libboost/date-time/stub.make
++++ b/libbackend-elements-1.6.1/build/import/libboost/date-time/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_date_time,cpp_options: )
++$(call export,l: -lboost_date_time-mt,cpp_options: )
+ 
+ else
+ 
+--- a/libbackend-elements-1.6.1/build/import/libboost/filesystem/stub.make
++++ b/libbackend-elements-1.6.1/build/import/libboost/filesystem/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_filesystem,cpp_options: )
++$(call export,l: -lboost_filesystem-mt,cpp_options: )
+ 
+ else
+ 
+--- a/libbackend-elements-1.6.1/build/import/libboost/regex/stub.make
++++ b/libbackend-elements-1.6.1/build/import/libboost/regex/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_regex,cpp_options: )
++$(call export,l: -lboost_regex-mt,cpp_options: )
+ 
+ else
+ 
+--- a/libxsd-frontend-1.15.0/build/import/libboost/date-time/stub.make
++++ b/libxsd-frontend-1.15.0/build/import/libboost/date-time/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_date_time,cpp_options: )
++$(call export,l: -lboost_date_time-mt,cpp_options: )
+ 
+ else
+ 
+--- a/libxsd-frontend-1.15.0/build/import/libboost/filesystem/stub.make
++++ b/libxsd-frontend-1.15.0/build/import/libboost/filesystem/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_filesystem,cpp_options: )
++$(call export,l: -lboost_filesystem-mt,cpp_options: )
+ 
+ else
+ 
+--- a/libxsd-frontend-1.15.0/build/import/libboost/regex/stub.make
++++ b/libxsd-frontend-1.15.0/build/import/libboost/regex/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_regex,cpp_options: )
++$(call export,l: -lboost_regex-mt,cpp_options: )
+ 
+ else
+ 
+--- a/xsd-3.2.0-2/build/import/libboost/date-time/stub.make
++++ b/xsd-3.2.0-2/build/import/libboost/date-time/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_date_time,cpp_options: )
++$(call export,l: -lboost_date_time-mt,cpp_options: )
+ 
+ else
+ 
+--- a/xsd-3.2.0-2/build/import/libboost/filesystem/stub.make
++++ b/xsd-3.2.0-2/build/import/libboost/filesystem/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_filesystem,cpp_options: )
++$(call export,l: -lboost_filesystem-mt,cpp_options: )
+ 
+ else
+ 
+--- a/xsd-3.2.0-2/build/import/libboost/regex/stub.make
++++ b/xsd-3.2.0-2/build/import/libboost/regex/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_regex,cpp_options: )
++$(call export,l: -lboost_regex-mt,cpp_options: )
+ 
+ else
+ 
+--- a/xsd-3.2.0-2/build/import/libboost/serialization/stub.make
++++ b/xsd-3.2.0-2/build/import/libboost/serialization/stub.make
+@@ -13,7 +13,7 @@ ifdef libboost_installed
+ 
+ ifeq ($(libboost_installed),y)
+ 
+-$(call export,l: -lboost_serialization,cpp_options: )
++$(call export,l: -lboost_serialization-mt,cpp_options: )
+ 
+ else
+ 

Attachment: signature.asc
Description: Digital signature

Reply via email to