summaryrefslogtreecommitdiff
path: root/x11/qt5-qtwebkit/Makefile
diff options
context:
space:
mode:
authorcirnatdan <cirnatdan@pkgsrc.org>2021-04-02 14:56:05 +0000
committercirnatdan <cirnatdan@pkgsrc.org>2021-04-02 14:56:05 +0000
commit07cdcb38cca33651bdf9effcf2175de359c0a773 (patch)
treea54a7f822c6e3baa1443aaa99adf9ef5087e56ae /x11/qt5-qtwebkit/Makefile
parent26e4e498f49fa0a7674328c7c33492b567716b58 (diff)
downloadpkgsrc-07cdcb38cca33651bdf9effcf2175de359c0a773.tar.gz
qt5-qtwebkit: Fix build with glib-2.68.0
Diffstat (limited to 'x11/qt5-qtwebkit/Makefile')
-rw-r--r--x11/qt5-qtwebkit/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/qt5-qtwebkit/Makefile b/x11/qt5-qtwebkit/Makefile
index cb61fd98cd7..0ec83b6c10f 100644
--- a/x11/qt5-qtwebkit/Makefile
+++ b/x11/qt5-qtwebkit/Makefile
@@ -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 @@ pre-configure:
# 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