Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/inkscape inkscape: actually patch script.cpp ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7bdf6e1cd87c
branches: trunk
changeset: 431876:7bdf6e1cd87c
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun May 17 00:38:47 2020 +0000
description:
inkscape: actually patch script.cpp so the pypath SUBST does something
diffstat:
graphics/inkscape/Makefile | 4 +-
graphics/inkscape/distinfo | 3 +-
graphics/inkscape/patches/patch-src_extension_implementation_script.cpp | 19 ++++++++++
3 files changed, 23 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r 6e42cc82dd8f -r 7bdf6e1cd87c graphics/inkscape/Makefile
--- a/graphics/inkscape/Makefile Sun May 17 00:25:42 2020 +0000
+++ b/graphics/inkscape/Makefile Sun May 17 00:38:47 2020 +0000
@@ -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 -r 6e42cc82dd8f -r 7bdf6e1cd87c graphics/inkscape/distinfo
--- a/graphics/inkscape/distinfo Sun May 17 00:25:42 2020 +0000
+++ b/graphics/inkscape/distinfo Sun May 17 00:38:47 2020 +0000
@@ -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 -r 6e42cc82dd8f -r 7bdf6e1cd87c graphics/inkscape/patches/patch-src_extension_implementation_script.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/inkscape/patches/patch-src_extension_implementation_script.cpp Sun May 17 00:38:47 2020 +0000
@@ -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" }}},
Home |
Main Index |
Thread Index |
Old Index