Control: tag -1 patch

Dear Maintainer,

Please consider applying below patch.

diff -Nru curlpp-0.7.3/debian/changelog curlpp-0.7.3/debian/changelog
--- curlpp-0.7.3/debian/changelog	2014-02-07 16:01:51.000000000 +0000
+++ curlpp-0.7.3/debian/changelog	2014-05-15 02:41:59.000000000 +0100
@@ -1,3 +1,10 @@
+curlpp (0.7.3-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with gcc-4.9. (Closes: 746841)
+
+ -- Dimitri John Ledkov <[email protected]>  Thu, 15 May 2014 02:41:20 +0100
+
 curlpp (0.7.3-5) unstable; urgency=low
 
   [ Logan Rosen ]
diff -Nru curlpp-0.7.3/debian/patches/gcc-4.9.patch curlpp-0.7.3/debian/patches/gcc-4.9.patch
--- curlpp-0.7.3/debian/patches/gcc-4.9.patch	1970-01-01 01:00:00.000000000 +0100
+++ curlpp-0.7.3/debian/patches/gcc-4.9.patch	2014-05-15 02:41:53.000000000 +0100
@@ -0,0 +1,30 @@
+Description: Fix ftbfs with gcc-4.9. (Closes: 746841)
+Author: Dimitri John Ledkov <[email protected]>
+Bug-Debian: http://bugs.debian.org/746841
+
+--- curlpp-0.7.3.orig/examples/example21.cpp
++++ curlpp-0.7.3/examples/example21.cpp
+@@ -39,23 +39,6 @@
+ #include <curlpp/Options.hpp>
+ #include <curlpp/Exception.hpp>
+  
+-/*
+-   anonymous namespace to prevent name clash in case other examples using the same global entities
+-   would be compiled in the same project
+-*/
+-namespace
+-{
+-
+-char *data = NULL;
+-
+-size_t readData(char *buffer, size_t size, size_t nitems)
+-{
+-  strncpy(buffer, data, size * nitems);
+-  return size * nitems;
+-}
+-
+-} // namespace
+-
+ int main(int argc, char *argv[])
+ {
+   if(argc != 3) {
diff -Nru curlpp-0.7.3/debian/patches/series curlpp-0.7.3/debian/patches/series
--- curlpp-0.7.3/debian/patches/series	2014-02-07 15:36:05.000000000 +0000
+++ curlpp-0.7.3/debian/patches/series	2014-05-15 02:41:41.000000000 +0100
@@ -1,2 +1,3 @@
 dont-install-config-h.patch
 rm-curlpp-spec.patch
+gcc-4.9.patch
Regards,

Dimitri.

Reply via email to