Source: librcsb-core-wrapper
Version: 1.005-4
Severity: normal
Tags: patch

xerces-c will be transitioning from 3.1 to 3.2 soon.  However, 
librcsb-core-wrapper fails to build when built against libxerces-c3.2
due to it requireing a newer c++ standard version.

Patch attached.
diff -Nuar librcsb-core-wrapper-1.005/debian/patches/series librcsb-core-wrapper-1.005_modified/debian/patches/series
--- librcsb-core-wrapper-1.005/debian/patches/series	2015-07-10 12:35:34.000000000 -0400
+++ librcsb-core-wrapper-1.005_modified/debian/patches/series	2017-11-07 02:17:25.797200361 -0500
@@ -13,3 +13,4 @@
 make_test_target
 regcomp_cert_fix.patch
 gcc5.patch
+xerces32
diff -Nuar librcsb-core-wrapper-1.005/debian/patches/xerces32 librcsb-core-wrapper-1.005_modified/debian/patches/xerces32
--- librcsb-core-wrapper-1.005/debian/patches/xerces32	1969-12-31 19:00:00.000000000 -0500
+++ librcsb-core-wrapper-1.005_modified/debian/patches/xerces32	2017-11-07 02:28:32.820780682 -0500
@@ -0,0 +1,11 @@
+--- a/etc/make.platform.gnu4
++++ b/etc/make.platform.gnu4
+@@ -118,7 +118,7 @@ CFLAGS += $(OPT) $(ABI) $(PIC) $(ANSI_C_
+ CCC=g++
+ 
+ # C++ compiler ANSI/NON-ANSI flags
+-ANSI_C_PLUS_FLAG=-ansi
++ANSI_C_PLUS_FLAG=-std=c++11
+ NON_ANSI_C_PLUS_FLAG=-traditional-cpp
+ C_PLUS_WARNINGS=$(WARNINGS) $(NO_DEPRECATED)
+ 

Reply via email to