pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators/wine5
Module Name: pkgsrc
Committed By: nia
Date: Sun Jan 4 01:41:25 UTC 2026
Modified Files:
pkgsrc/emulators/wine5: Makefile
Log Message:
wine5: Fix building on i386 with mprotect enabled.
While here, fix GCC 14 build.
Reported by 533k3R on unitedbsd.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/wine5/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/wine5/Makefile
diff -u pkgsrc/emulators/wine5/Makefile:1.2 pkgsrc/emulators/wine5/Makefile:1.3
--- pkgsrc/emulators/wine5/Makefile:1.2 Sun Dec 21 10:10:40 2025
+++ pkgsrc/emulators/wine5/Makefile Sun Jan 4 01:41:25 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2025/12/21 10:10:40 nia Exp $
+# $NetBSD: Makefile,v 1.3 2026/01/04 01:41:25 nia Exp $
DISTNAME= wine-5.0.5
+PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= https://dl.winehq.org/wine/source/${PKGVERSION_NOREV:R}/
MASTER_SITES+= http://mirrors.ibiblio.org/wine/source/${PKGVERSION_NOREV:R}/
@@ -18,6 +19,7 @@ GNU_CONFIGURE= yes
REPLACE_PERL+= tools/winemaker/winemaker
REPLACE_PERL+= tools/winedump/function_grep.pl
+MKPIE_SUPPORTED= no
CHECK_PIE_SUPPORTED= no
ONLY_FOR_PLATFORM+= *-*-i386 *-*-x86_64
@@ -60,6 +62,15 @@ CONFIGURE_ENV+= ac_cv_cflags__Wl___enab
CONFIGURE_ENV+= wine_cv_linux_gethostbyname_r_6=no
.endif
+.include "../../mk/compiler.mk"
+
+.if ${CC_VERSION:Mgcc-1*} || ${CC_VERSION:Mclang-*}
+CFLAGS+= -Wno-incompatible-pointer-types
+CFLAGS+= -Wno-implicit-function-declaration
+CXXFLAGS+= -Wno-incompatible-pointer-types
+CXXFLAGS+= -Wno-implicit-function-declaration
+.endif
+
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
Home |
Main Index |
Thread Index |
Old Index