pkgsrc-WIP-changes archive

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

qt6-qtdeclarative: add patch to fix linking on solaris



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By:	nros
Date:		Wed Feb 24 14:36:32 2021 +0000
Changeset:	40683d94fbb159a58030a7c1aa291003f2d22628

Modified Files:
	qt6-qtdeclarative/distinfo
Added Files:
	qt6-qtdeclarative/patches/patch-src_qmltest_CMakeLists.txt

Log Message:
qt6-qtdeclarative: add patch to fix linking on solaris

add cmake port of a patch that fixes linking on solaris for
qt5-qtdeclarative

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=40683d94fbb159a58030a7c1aa291003f2d22628

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 qt6-qtdeclarative/distinfo                             |  1 +
 .../patches/patch-src_qmltest_CMakeLists.txt           | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)

diffs:
diff --git a/qt6-qtdeclarative/distinfo b/qt6-qtdeclarative/distinfo
index e4269de966..d5b11952ee 100644
--- a/qt6-qtdeclarative/distinfo
+++ b/qt6-qtdeclarative/distinfo
@@ -9,3 +9,4 @@ SHA1 (patch-src_3rdparty_masm_wtf_Compiler.h) = 8d7e318e0148eea0f262ec13463bc15b
 SHA1 (patch-src_3rdparty_masm_yarr_YarrCanonicalize.h) = 3cb31384f5287a5449d1a6bdd03d42870ac9385f
 SHA1 (patch-src_qml_common_qv4alloca__p.h) = 15a300585e4f5acf956badf0d94e388934883041
 SHA1 (patch-src_qml_jit_qv4assemblercommon__p.h) = 84fa72bb8b90dffe6636fcd4302876bfc838663c
+SHA1 (patch-src_qmltest_CMakeLists.txt) = e9dd51b5f67e5c487ee06cce8c99d749f2e45445
diff --git a/qt6-qtdeclarative/patches/patch-src_qmltest_CMakeLists.txt b/qt6-qtdeclarative/patches/patch-src_qmltest_CMakeLists.txt
new file mode 100644
index 0000000000..7c9176a510
--- /dev/null
+++ b/qt6-qtdeclarative/patches/patch-src_qmltest_CMakeLists.txt
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Workaround linking issue on SunOS
+
+--- src/qmltest/CMakeLists.txt.orig	2021-02-24 12:50:01.679198663 +0000
++++ src/qmltest/CMakeLists.txt
+@@ -55,6 +55,11 @@ qt_internal_extend_target(QuickTest COND
+         QT_QML_DEBUG_NO_WARNING
+ )
+ 
++qt_internal_extend_target(QuickTest CONDITION SOLARIS
++    LINK_OPTIONS
++        -mimpure-text
++)
++
+ #### Keys ignored in scope 4:.:.:qmltest.pro:prefix_build:
+ # INSTALLS = "qmldir"
+ 


Home | Main Index | Thread Index | Old Index