pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/scribus-qt5 scribus*: fix build on NetBSD-current



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9efdb17db06
branches:  trunk
changeset: 390968:a9efdb17db06
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 01 23:34:30 2023 +0000

description:
scribus*: fix build on NetBSD-current

ld from binutils 2.39 is more picky about library linking.

diffstat:

 print/scribus-qt5/distinfo                             |   3 ++-
 print/scribus-qt5/patches/patch-scribus_CMakeLists.txt |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 5973ff6e9bbc -r a9efdb17db06 print/scribus-qt5/distinfo
--- a/print/scribus-qt5/distinfo        Sun Jan 01 22:52:47 2023 +0000
+++ b/print/scribus-qt5/distinfo        Sun Jan 01 23:34:30 2023 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2022/09/29 00:17:01 markd Exp $
+$NetBSD: distinfo,v 1.6 2023/01/01 23:34:30 wiz Exp $
 
 BLAKE2s (scribus-1.5.8.tar.xz) = 5c417889a7b89f75f069a738d1789d0f96bd0d091e5309a553740311396dff0c
 SHA512 (scribus-1.5.8.tar.xz) = eb46be0165eeb0d8974aa744fc8ffac321b206ca0015da39bb2f50d9fd4a5e28300a49ada0f963b4e0cf9a3301dc746ffba74f359f5e76d308d80b71ee669c2d
 Size (scribus-1.5.8.tar.xz) = 74543476 bytes
 SHA1 (patch-CMakeLists__Dependencies.cmake) = 80fc0e787829031da3ec7085724e4b06e6106303
+SHA1 (patch-scribus_CMakeLists.txt) = 40d37dd780900d9da53c840c5ff67a2fd82c271c
 SHA1 (patch-scribus_plugins_import_pdf_importpdf.cpp) = 28ce7f6abbc92f6760dfe8e37b2b050bad4a539b
 SHA1 (patch-scribus_plugins_import_pdf_slaoutput.cpp) = 3dd733201d8f2629a145528ec9bbe37a2bef2dbb
diff -r 5973ff6e9bbc -r a9efdb17db06 print/scribus-qt5/patches/patch-scribus_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/scribus-qt5/patches/patch-scribus_CMakeLists.txt    Sun Jan 01 23:34:30 2023 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-scribus_CMakeLists.txt,v 1.1 2023/01/01 23:34:30 wiz Exp $
+
+Link against libexecinfo for backtrace_symbols().
+https://bugs.scribus.net/view.php?id=16877
+
+--- scribus/CMakeLists.txt.orig        2022-01-23 16:16:24.000000000 +0000
++++ scribus/CMakeLists.txt
+@@ -827,7 +827,7 @@ if(UNIX AND NOT CMAKE_SYSTEM_NAME STREQU
+ endif()
+ 
+ # #9311 for the OpenBSD addition
+-if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
++if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
+   target_link_libraries(${EXE_NAME} PRIVATE util execinfo)
+ endif()
+ 



Home | Main Index | Thread Index | Old Index