pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt6-qtbase qt6-qtbase: fix build failure on NetBSD...
details: https://anonhg.NetBSD.org/pkgsrc/rev/72690947fce2
branches: trunk
changeset: 391352:72690947fce2
user: tsutsui <tsutsui%pkgsrc.org@localhost>
date: Sun Jan 08 08:13:31 2023 +0000
description:
qt6-qtbase: fix build failure on NetBSD/i386.
Closes PR/57151.
No PKGREVISION bump because buildable ports are not affected.
diffstat:
x11/qt6-qtbase/Makefile.common | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r bf17bc7066c1 -r 72690947fce2 x11/qt6-qtbase/Makefile.common
--- a/x11/qt6-qtbase/Makefile.common Sun Jan 08 07:22:35 2023 +0000
+++ b/x11/qt6-qtbase/Makefile.common Sun Jan 08 08:13:31 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2022/12/01 21:26:00 nros Exp $
+# $NetBSD: Makefile.common,v 1.26 2023/01/08 08:13:31 tsutsui Exp $
# used by audio/qt6-qtspeech/Makefile
# used by databases/qt6-odbc/Makefile
# used by databases/qt6-psql/Makefile
@@ -35,6 +35,11 @@
# https://doc.qt.io/qt-6/supported-platforms.html
GCC_REQD+= 9
+# required for -msse2
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+= -mstackrealign
+.endif
+
# Avoid failures to due 'register' usage in X11 headers.
CXXFLAGS+= -Wno-register
Home |
Main Index |
Thread Index |
Old Index