[SCM] inkscape/master: Add patch to fix compilation with gcc-6 (with --std=c++14)
mattia at users.alioth.debian.org
mattia at users.alioth.debian.org
Fri Sep 2 15:06:39 UTC 2016
The following commit has been merged in the master branch:
commit fe948de88aed4b020bbefa38e7b567bd3f5f79a7
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Sep 2 15:04:08 2016 +0000
Add patch to fix compilation with gcc-6 (with --std=c++14)
Closes: #835716
diff --git a/debian/patches/fix-FTBFS-with-gcc6.patch b/debian/patches/fix-FTBFS-with-gcc6.patch
new file mode 100644
index 0000000..35d35fe
--- /dev/null
+++ b/debian/patches/fix-FTBFS-with-gcc6.patch
@@ -0,0 +1,18 @@
+Description: Fix FTBFS with GCC 6
+Author: Alex Henrie
+Origin: upstream, https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15017
+Bug: https://bugs.launchpad.net/inkscape/+bug/1524838
+Bug-Debian: https://bugs.debian.org/835716
+Acked-By: Mattia Rizzolo <mattia at debian.org>
+
+--- a/src/ui/dialog/layer-properties.cpp
++++ b/src/ui/dialog/layer-properties.cpp
+@@ -146,7 +146,7 @@
+ destroy_();
+ Glib::signal_idle().connect(
+ sigc::bind_return(
+- sigc::bind(sigc::ptr_fun(&::operator delete), this),
++ sigc::bind(sigc::ptr_fun<void*, void>(&::operator delete), this),
+ false
+ )
+ );
diff --git a/debian/patches/series b/debian/patches/series
index 7e12e19..c72bd79 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-Drop_PS_and_PDF_support_in_MimeType.patch
fix-FTBFS.patch
reproducible-build.patch
+fix-FTBFS-with-gcc6.patch
--
inkscape packaging
More information about the pkg-multimedia-commits
mailing list