pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/qt6-qtbase



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sun Jan  8 08:13:31 UTC 2023

Modified Files:
        pkgsrc/x11/qt6-qtbase: Makefile.common

Log Message:
qt6-qtbase: fix build failure on NetBSD/i386.

Closes PR/57151.
No PKGREVISION bump because buildable ports are not affected.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/x11/qt6-qtbase/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/qt6-qtbase/Makefile.common
diff -u pkgsrc/x11/qt6-qtbase/Makefile.common:1.25 pkgsrc/x11/qt6-qtbase/Makefile.common:1.26
--- pkgsrc/x11/qt6-qtbase/Makefile.common:1.25  Thu Dec  1 21:26:00 2022
+++ pkgsrc/x11/qt6-qtbase/Makefile.common       Sun Jan  8 08:13:31 2023
@@ -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 @@ USE_TOOLS+=          cmake gmake perl:build pkg-
 # 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