pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/khtml
Module Name: pkgsrc
Committed By: he
Date: Sat Sep 17 21:34:02 UTC 2022
Modified Files:
pkgsrc/www/khtml: Makefile
Log Message:
www/khtml: use gnu++17 instead of c++17 to fix NetBSD/macppc build issue.
This is required to correctly handle alloca(), which isn't in libc on
this particular variant, and is only handled by the compiler under
the gnu* variants.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 pkgsrc/www/khtml/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/khtml/Makefile
diff -u pkgsrc/www/khtml/Makefile:1.66 pkgsrc/www/khtml/Makefile:1.67
--- pkgsrc/www/khtml/Makefile:1.66 Sun Sep 11 12:51:11 2022
+++ pkgsrc/www/khtml/Makefile Sat Sep 17 21:34:01 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2022/09/11 12:51:11 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2022/09/17 21:34:01 he Exp $
DISTNAME= khtml-${KF5VER}
PKGREVISION= 4
@@ -12,6 +12,9 @@ LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
MASTER_SITES= ${MASTER_SITE_KDE:=frameworks/${KF5VER:R}/portingAids/}
USE_TOOLS+= perl msgfmt
+# Need gnu variant for built-in alloca()
+BUILDLINK_TRANSFORM+= opt:-std=c99:-std=gnu99
+BUILDLINK_TRANSFORM+= opt:-std=c++17:-std=gnu++17
CMAKE_ARGS.SunOS+= -DHAVE_ALLOCA_H=1
Home |
Main Index |
Thread Index |
Old Index