pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtwebkit qt5-qtwebkit: Fix build with glib-2.68.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/262de539088b
branches:  trunk
changeset: 449622:262de539088b
user:      cirnatdan <cirnatdan%pkgsrc.org@localhost>
date:      Fri Apr 02 14:56:05 2021 +0000

description:
qt5-qtwebkit: Fix build with glib-2.68.0

diffstat:

 x11/qt5-qtwebkit/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1a2d308bdf6c -r 262de539088b x11/qt5-qtwebkit/Makefile
--- a/x11/qt5-qtwebkit/Makefile Fri Apr 02 13:01:41 2021 +0000
+++ b/x11/qt5-qtwebkit/Makefile Fri Apr 02 14:56:05 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2021/01/05 15:08:43 gdt Exp $
+# $NetBSD: Makefile,v 1.87 2021/04/02 14:56:05 cirnatdan Exp $
 
 QTWKVERSION=   5.212.0-alpha4
 DISTNAME=      qtwebkit-${QTWKVERSION}
@@ -49,6 +49,10 @@
 # wcstof(3) etc. is used in C++ code.
 CFLAGS.NetBSD+=                -D_NETBSD_SOURCE
 
+# temporary fix for GLib 2.68 breakage
+# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1963
+CXXFLAGS+=             -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66
+
 ## for GL_GLEXT_LEGACY with GL/gl.h error, GL_ARB_shader_objects is not defined.
 #BUILDLINK_TRANSFORM+= rm:-Wundef
 



Home | Main Index | Thread Index | Old Index