pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt5-qtwebkit



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Sat Jan 25 21:06:23 UTC 2025

Modified Files:
        pkgsrc/x11/qt5-qtwebkit: Makefile

Log Message:
x11/qt5-qtwebkit: Build with U_HIDE_DRAFT_API to hide ICU C++17isms.

pkg/59028: qt5-qtwebkit doesn't build

Resolves, e.g.:

In file included from /usr/pkg/include/unicode/unorm2.h:35,
                 from /usr/pkg/include/unicode/unorm.h:25,
                 from /usr/pkg/include/unicode/ucol.h:17,
                 from /scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:37:
/usr/pkg/include/unicode/uset.h:1655:10: error: 'u16string_view' in namespace 'std' does not name a type; did you mean 'u16string'?
 1655 |     std::u16string_view operator*() const {
      |          ^~~~~~~~~~~~~~
      |          u16string


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 pkgsrc/x11/qt5-qtwebkit/Makefile

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

Modified files:

Index: pkgsrc/x11/qt5-qtwebkit/Makefile
diff -u pkgsrc/x11/qt5-qtwebkit/Makefile:1.128 pkgsrc/x11/qt5-qtwebkit/Makefile:1.129
--- pkgsrc/x11/qt5-qtwebkit/Makefile:1.128      Fri Jan 24 11:54:37 2025
+++ pkgsrc/x11/qt5-qtwebkit/Makefile    Sat Jan 25 21:06:23 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.128 2025/01/24 11:54:37 wiz Exp $
+# $NetBSD: Makefile,v 1.129 2025/01/25 21:06:23 riastradh Exp $
 
 QTWKVERSION=   5.212.0-alpha4
 DISTNAME=      qtwebkit-${QTWKVERSION}
@@ -25,6 +25,10 @@ CMAKE_INSTALL_PREFIX=        ${QTDIR}
 CMAKE_INSTALL_NAME_DIR=        ${QTDIR}/lib
 TEST_TARGET=           test
 
+# XXX Workaround for icu-76 whose header files require C++17 unless you
+# define U_HIDE_DRAFT_API.  pkg/59028: qt5-qtwebkit doesn't build
+CXXFLAGS+=             -DU_HIDE_DRAFT_API
+
 # Source/JavaScriptCore/offlineasm/parser.rb:587:in `block in parseSequence': undefined method `=~'
 RUBY_VERSIONS_ACCEPTED=                31
 



Home | Main Index | Thread Index | Old Index