pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/inkscape inkscape: Fix building on NetBSD 9.x
details: https://anonhg.NetBSD.org/pkgsrc/rev/acbbb6ddc4b4
branches: trunk
changeset: 457190:acbbb6ddc4b4
user: nia <nia%pkgsrc.org@localhost>
date: Fri Aug 20 11:40:15 2021 +0000
description:
inkscape: Fix building on NetBSD 9.x
reported by snow flurry on pkgsrc-users@
diffstat:
graphics/inkscape/distinfo | 4 +-
graphics/inkscape/patches/patch-CMakeScripts_DefineDependsandFlags.cmake | 18 +++++++++
graphics/inkscape/patches/patch-src_object_sp-use-reference.h | 20 ++++++++++
3 files changed, 41 insertions(+), 1 deletions(-)
diffs (63 lines):
diff -r 0897cc1d898f -r acbbb6ddc4b4 graphics/inkscape/distinfo
--- a/graphics/inkscape/distinfo Fri Aug 20 11:27:56 2021 +0000
+++ b/graphics/inkscape/distinfo Fri Aug 20 11:40:15 2021 +0000
@@ -1,10 +1,12 @@
-$NetBSD: distinfo,v 1.81 2021/07/02 14:04:06 wiz Exp $
+$NetBSD: distinfo,v 1.82 2021/08/20 11:40:15 nia Exp $
SHA1 (inkscape-1.1.tar.xz) = e61dc54dd15c79eeabc9cc04cc8ecaf15ead42b2
RMD160 (inkscape-1.1.tar.xz) = f10f34fcb06675ec00360a36a8efe46d2864ac49
SHA512 (inkscape-1.1.tar.xz) = 54b75f8794d748ef59d5b719ea04e3debadc1a5cf3f62f14254502567973bbd634850edd0a3bc082be878dacf041e9bd10982c4846bf154f89aa5319eda4ee80
Size (inkscape-1.1.tar.xz) = 34203156 bytes
+SHA1 (patch-CMakeScripts_DefineDependsandFlags.cmake) = 26351c300629e28f6523fe2167a2eed5802435cf
SHA1 (patch-src_display_cairo-utils.cpp) = dc2ca383c1050b40bb500b522e789c1f6e8f42b7
SHA1 (patch-src_extension_implementation_script.cpp) = da46549f688da5c9c0ecbeaeac7962e4f261cae4
+SHA1 (patch-src_object_sp-use-reference.h) = f642f27dea75e29fd55bef39e37f8a98000a33a0
SHA1 (patch-src_path-prefix.cpp) = d927b859d75422fc42ee16bbbbdaa1a8321df7e8
SHA1 (patch-src_svg_svg-length.cpp) = 39fe19a500a73d0a58ba84d08aba0c6ae47dda04
diff -r 0897cc1d898f -r acbbb6ddc4b4 graphics/inkscape/patches/patch-CMakeScripts_DefineDependsandFlags.cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/inkscape/patches/patch-CMakeScripts_DefineDependsandFlags.cmake Fri Aug 20 11:40:15 2021 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-CMakeScripts_DefineDependsandFlags.cmake,v 1.4 2021/08/20 11:40:15 nia Exp $
+
+NetBSD 9 has gcc7 without -lstdc++fs.
+
+--- CMakeScripts/DefineDependsandFlags.cmake.orig 2021-05-17 19:26:40.000000000 +0000
++++ CMakeScripts/DefineDependsandFlags.cmake
+@@ -298,9 +298,11 @@ endif()
+
+ find_package(Boost 1.19.0 REQUIRED COMPONENTS filesystem)
+
++if (NOT (${CMAKE_SYSTEM_NAME} STREQUAL "NetBSD"))
+ if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
+ list(APPEND INKSCAPE_LIBS "-lstdc++fs")
+ endif()
++endif()
+
+ list(APPEND INKSCAPE_INCS_SYS ${Boost_INCLUDE_DIRS})
+ # list(APPEND INKSCAPE_LIBS ${Boost_LIBRARIES})
diff -r 0897cc1d898f -r acbbb6ddc4b4 graphics/inkscape/patches/patch-src_object_sp-use-reference.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/inkscape/patches/patch-src_object_sp-use-reference.h Fri Aug 20 11:40:15 2021 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_object_sp-use-reference.h,v 1.1 2021/08/20 11:40:15 nia Exp $
+
+Fix build error on NetBSD 9.x.
+https://gitlab.com/inkscape/inkscape/-/merge_requests/3345
+
+--- src/object/sp-use-reference.h.orig 2021-05-17 19:25:49.000000000 +0000
++++ src/object/sp-use-reference.h
+@@ -14,11 +14,10 @@
+
+ #include "sp-item.h"
+ #include "uri-references.h"
++#include "display/curve.h"
+
+ #include <memory>
+
+-class SPCurve;
+-
+ namespace Inkscape {
+ namespace XML {
+ class Node;
Home |
Main Index |
Thread Index |
Old Index