pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/qt5-qtbase
Module Name: pkgsrc
Committed By: bacon
Date: Thu Dec 5 12:45:34 UTC 2024
Modified Files:
pkgsrc/x11/qt5-qtbase: Makefile
Log Message:
x11/qt5-qtbase: Unbreak build on macOS 15.0
Latest Xcode deprecated CGDisplayCreateImageForRect()
Package should be unaffected on all other platforms, including
earlier macOS versions
To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 pkgsrc/x11/qt5-qtbase/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-qtbase/Makefile
diff -u pkgsrc/x11/qt5-qtbase/Makefile:1.152 pkgsrc/x11/qt5-qtbase/Makefile:1.153
--- pkgsrc/x11/qt5-qtbase/Makefile:1.152 Tue Nov 19 22:46:10 2024
+++ pkgsrc/x11/qt5-qtbase/Makefile Thu Dec 5 12:45:34 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.152 2024/11/19 22:46:10 adam Exp $
+# $NetBSD: Makefile,v 1.153 2024/12/05 12:45:34 bacon Exp $
DISTNAME= qtbase-everywhere-opensource-src-${QTVERSION}
PKGNAME= qt5-qtbase-${QTVERSION}
@@ -60,6 +60,14 @@ CONFIGURE_ARGS+= -reduce-relocations
.else
CONFIGURE_ARGS+= -no-rpath # avoid @rpath in dylibs
QMAKE_CONF= qmake.conf.mac
+
+# Qt 5.15.16: Check if this is still necessary in later versions
+# qcocoascreen.mm:607:67: error: 'CGDisplayCreateImageForRect' is unavailable:
+# obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
+# https://github.com/macports/macports-ports/pull/25748
+.if ${OPSYS_VERSION} >= 150000
+MAKE_ENV+= MACOSX_DEPLOYMENT_TARGET=14.0
+.endif
.endif
PLIST_VARS+= egl
Home |
Main Index |
Thread Index |
Old Index