Skip to contentSkip to conversation

curlpp: fix build with gcc-6 and remove blacklist

PATCH New Derek Straka 1 participant 1 message Jun 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 curlpp: fix build with gcc-6 and remove blacklist

---
 meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb +4 -3
index 43e69b9..78b9432 100644
@@ -16,6 +16,10 @@ SRC_URI[sha256sum] = "e3f9427b27c5bddf898d383d45c0d3d5397e2056ff935d9a5cdaef6a9a
 
 inherit autotools-brokensep pkgconfig binconfig
 
+# Upstream is currently working on porting the code to use std::unique_ptr instead of the
+# deprecated auto_ptr.  For now, ignore the issue.
+CXXFLAGS += "-Wno-error=deprecated-declarations"
+
 PACKAGES =+ "libcurlpp libcurlpp-dev libcurlpp-staticdev"
 
 FILES_lib${BPN} = "${libdir}/lib*.so.* \
@@ -29,6 +33,3 @@ FILES_lib${BPN}-dev = "${includedir} \
 FILES_lib${BPN}-staticdev = "${libdir}/lib*.a"
 
 BBCLASSEXTEND = "native nativesdk"
-
-# http://errors.yoctoproject.org/Errors/Details/68623/
-PNBLACKLIST[curlpp] ?= "BROKEN: fails to build with gcc-6"
Signature · 1 line
1.9.1