FreeBSD Bugzilla – Attachment 200601 Details for
Bug 234070
devel/qt5: problem with lld and wildcard characters in version scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
qt5-version.patch
qt5-version.patch (text/plain), 2.58 KB, created by
Tijl Coosemans
on 2018-12-29 13:33:51 UTC
(
hide
)
Description:
qt5-version.patch
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2018-12-29 13:33:51 UTC
Size:
2.58 KB
patch
obsolete
>Index: devel/qt5/files/extrapatch-mkspecs_features_qt__module.prf >=================================================================== >--- devel/qt5/files/extrapatch-mkspecs_features_qt__module.prf (revision 488018) >+++ devel/qt5/files/extrapatch-mkspecs_features_qt__module.prf (working copy) >@@ -1,22 +1,48 @@ >-The first hunk fixes the install location of the pkconfig files: >+The first hunk puts the catch-all { *; } first in version scripts >+so it has lowest priority when a symbol matches multiple patterns. >+ >+The second hunk fixes the install location of the pkconfig files: > FreeBSD installs pkgconfig files to $LOCALBASE/libdata/pkgconfig > qmake uses QMAKE_PKGCONFIG_DESTDIR as relative path to $$QT_LIBDIR. > As this is now '${PREFIX}/lib/qt5' we need to go up two levels. > >-The second hunk stops qmake from generating la files. >+The third hunk stops qmake from generating la files. > >---- mkspecs/features/qt_module.prf.orig 2016-09-16 05:49:42 UTC >+--- mkspecs/features/qt_module.prf.orig 2018-12-03 11:15:26 UTC > +++ mkspecs/features/qt_module.prf >-@@ -247,7 +247,7 @@ load(qt_targets) >+@@ -217,17 +217,18 @@ android: CONFIG += qt_android_deps no_linker_version_s >+ internal_module { >+ verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API { *; };" >+ } else { >+- verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API {" \ >+- " qt_private_api_tag*;" >++ current = Qt_$$QT_MAJOR_VERSION >++ verscript_content = "$$current { *; };" >+ >++ verscript_content += "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API {" \ >++ " qt_private_api_tag*;" >++ >+ private_api_headers = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.QPA_HEADER_FILES >+ >+ for(header, private_api_headers): \ >+ verscript_content += " @FILE:$$header@" >+ verscript_content += "};" >+ >+- current = Qt_$$QT_MAJOR_VERSION >+- verscript_content += "$$current { *; };" >+ isEmpty(QT_NAMESPACE): tag_symbol = qt_version_tag >+ else: tag_symbol = qt_version_tag_$$QT_NAMESPACE >+ >+@@ -266,7 +267,7 @@ load(qt_targets) > # this builds on top of qt_common >- !internal_module:!lib_bundle:if(unix|mingw) { >+ !internal_module:if(unix|mingw) { > CONFIG += create_pc > - QMAKE_PKGCONFIG_DESTDIR = pkgconfig > + QMAKE_PKGCONFIG_DESTDIR = ../../libdata/pkgconfig > host_build: \ > QMAKE_PKGCONFIG_LIBDIR = $$[QT_HOST_LIBS] > else: \ >-@@ -267,7 +267,6 @@ load(qt_targets) >+@@ -291,7 +292,6 @@ load(qt_targets) > QMAKE_PKGCONFIG_INSTALL_REPLACE += pclib_replace > } > !lib_bundle:unix {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234070
:
200601
|
201141