qt5-qtdeclarative: Fix build on SunOS.

This commit is contained in:
jperkin 2021-01-12 16:46:45 +00:00
parent 41a85350bc
commit 3a9476df9f
2 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.26 2020/11/21 11:22:32 adam Exp $
$NetBSD: distinfo,v 1.27 2021/01/12 16:46:45 jperkin Exp $
SHA1 (qtdeclarative-everywhere-src-5.15.2.tar.xz) = cde54101a922dc92028a26e8b07149a83b2eaae2
RMD160 (qtdeclarative-everywhere-src-5.15.2.tar.xz) = 747c8e854b52a3007c4ccbe62d23439fe0894763
@ -9,4 +9,5 @@ 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_qmltest.pro) = f340d6f31d8d6a9d69034d67712dfd109e1769fb
SHA1 (patch-tools_qmltestrunner_qmltestrunner.pro) = 471d399d57696652be5a4264657aed467852c5f3

View file

@ -0,0 +1,15 @@
$NetBSD: patch-src_qmltest_qmltest.pro,v 1.1 2021/01/12 16:46:45 jperkin Exp $
Workaround linking issue on SunOS.
--- src/qmltest/qmltest.pro.orig 2020-10-27 08:02:12.000000000 +0000
+++ src/qmltest/qmltest.pro
@@ -6,6 +6,8 @@ DEFINES += QT_NO_URL_CAST_FROM_STRING QT
QT = core testlib-private
QT_PRIVATE = quick quick-private qml-private gui core-private
+solaris-*:LIBS += -mimpure-text
+
# Testlib is only a private dependency, which results in our users not
# inheriting testlibs's MODULE_CONFIG transitively. Make it explicit.
MODULE_CONFIG += $${QT.testlib.CONFIG}