summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-08-26 09:49:11 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-08-26 09:49:52 +0300
commitc36c147924e3eb82b7c120c85fd996f621fec6ea (patch)
tree15e4f23e28970710c1841aba3211bbc351b7cb9d /media-gfx
parentdev-python/cmd2: Bump to 1.3.5 (diff)
downloadgentoo-c36c147924e3eb82b7c120c85fd996f621fec6ea.tar.gz
gentoo-c36c147924e3eb82b7c120c85fd996f621fec6ea.tar.bz2
gentoo-c36c147924e3eb82b7c120c85fd996f621fec6ea.zip
media-gfx/inkscape: fix missing atomic include
Closes: https://bugs.gentoo.org/737596 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/inkscape/files/missing_atomic_include.patch10
-rw-r--r--media-gfx/inkscape/inkscape-1.0-r1.ebuild4
2 files changed, 14 insertions, 0 deletions
diff --git a/media-gfx/inkscape/files/missing_atomic_include.patch b/media-gfx/inkscape/files/missing_atomic_include.patch
new file mode 100644
index 000000000000..b298550c5c89
--- /dev/null
+++ b/media-gfx/inkscape/files/missing_atomic_include.patch
@@ -0,0 +1,10 @@
+--- a/src/ui/tool/node.cpp 2020-05-01 15:18:52.000000000 +0200
++++ b/src/ui/tool/node.cpp 2020-08-18 01:25:05.266412299 +0200
+@@ -7,6 +7,7 @@
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
+
++#include <atomic>
+ #include <iostream>
+ #include <stdexcept>
+ #include <boost/utility.hpp>
diff --git a/media-gfx/inkscape/inkscape-1.0-r1.ebuild b/media-gfx/inkscape/inkscape-1.0-r1.ebuild
index b137a124f305..0e5ca71a8f9f 100644
--- a/media-gfx/inkscape/inkscape-1.0-r1.ebuild
+++ b/media-gfx/inkscape/inkscape-1.0-r1.ebuild
@@ -20,6 +20,10 @@ openmp postscript spell static-libs svg2 visio wpg"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+PATCHES=(
+ "${FILESDIR}/missing_atomic_include.patch"
+)
+
BDEPEND="
dev-util/glib-utils
>=dev-util/intltool-0.40