summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-05-17 00:38:47 +0000
committertnn <tnn@pkgsrc.org>2020-05-17 00:38:47 +0000
commit1cd4f1047da7226e7ec3bde934bf3b734daecd13 (patch)
tree531cd0dba518c2ee7a69d7245dcc72e709924735 /graphics
parent04577dcd507283c2a83e3ff713940791fa507244 (diff)
downloadpkgsrc-1cd4f1047da7226e7ec3bde934bf3b734daecd13.tar.gz
inkscape: actually patch script.cpp so the pypath SUBST does something
Diffstat (limited to 'graphics')
-rw-r--r--graphics/inkscape/Makefile4
-rw-r--r--graphics/inkscape/distinfo3
-rw-r--r--graphics/inkscape/patches/patch-src_extension_implementation_script.cpp19
3 files changed, 23 insertions, 3 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index 66daaf70eea..5166cef1eb9 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.209 2020/05/16 13:38:05 rillig Exp $
+# $NetBSD: Makefile,v 1.210 2020/05/17 00:38:47 tnn Exp $
DISTNAME= inkscape-1.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= graphics
MASTER_SITES= https://media.inkscape.org/dl/resources/file/
EXTRACT_SUFX= .tar.xz
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo
index f3f70b4f55b..90274cf35a9 100644
--- a/graphics/inkscape/distinfo
+++ b/graphics/inkscape/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.72 2020/05/06 01:42:28 ryoon Exp $
+$NetBSD: distinfo,v 1.73 2020/05/17 00:38:47 tnn Exp $
SHA1 (inkscape-1.0.tar.xz) = c59c5195bbd079deb5943686650230ddbdde0569
RMD160 (inkscape-1.0.tar.xz) = 2350d881891ac60324235a5745f76f21ba3fb3d0
SHA512 (inkscape-1.0.tar.xz) = 37c18079eb926fd6874deee95e4008bae165c5e52d05cb53bbc8f4a48eedd0e0ab6b3e5dfbb23709169187bfe8eb5aa44d576268667f2566a2cd4dd5426554f0
Size (inkscape-1.0.tar.xz) = 31935616 bytes
SHA1 (patch-CMakeScripts_Pod2man.cmake) = c7f0c0d3b28604c2594bc9265363c782a57af40c
+SHA1 (patch-src_extension_implementation_script.cpp) = 2c2cbcee2fdda5a274906600930acc0257cc0ea2
diff --git a/graphics/inkscape/patches/patch-src_extension_implementation_script.cpp b/graphics/inkscape/patches/patch-src_extension_implementation_script.cpp
new file mode 100644
index 00000000000..4a411445b3b
--- /dev/null
+++ b/graphics/inkscape/patches/patch-src_extension_implementation_script.cpp
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_extension_implementation_script.cpp,v 1.1 2020/05/17 00:38:47 tnn Exp $
+
+Replace python3 interpreter.
+
+--- src/extension/implementation/script.cpp.orig 2020-05-01 13:18:52.000000000 +0000
++++ src/extension/implementation/script.cpp
+@@ -77,10 +77,10 @@ const std::map<std::string, Script::inte
+ { "python", {"python-interpreter", {"pythonw" }}},
+ #elif defined __APPLE__
+ { "perl", {"perl-interpreter", {"perl" }}},
+- { "python", {"python-interpreter", {"python3" }}},
++ { "python", {"python-interpreter", {"@PYTHONBIN@", "python3" }}},
+ #else
+ { "perl", {"perl-interpreter", {"perl" }}},
+- { "python", {"python-interpreter", {"python3", "python" }}},
++ { "python", {"python-interpreter", {"@PYTHONBIN@", "python3", "python" }}},
+ #endif
+ { "python2", {"python2-interpreter", {"python2", "python" }}},
+ { "ruby", {"ruby-interpreter", {"ruby" }}},