pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/gmplayer
Module Name: pkgsrc
Committed By: martin
Date: Sat Oct 11 18:03:26 UTC 2025
Modified Files:
pkgsrc/multimedia/gmplayer: Makefile
Log Message:
Hack to make it compile with gcc 14/15
To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 pkgsrc/multimedia/gmplayer/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/gmplayer/Makefile
diff -u pkgsrc/multimedia/gmplayer/Makefile:1.174 pkgsrc/multimedia/gmplayer/Makefile:1.175
--- pkgsrc/multimedia/gmplayer/Makefile:1.174 Sat Aug 30 22:45:58 2025
+++ pkgsrc/multimedia/gmplayer/Makefile Sat Oct 11 18:03:26 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.174 2025/08/30 22:45:58 wiz Exp $
+# $NetBSD: Makefile,v 1.175 2025/10/11 18:03:26 martin Exp $
#
# NOTE: if you are updating both mplayer and gmplayer, you must ensure
# that *both* distinfo files contain the correct, up-to-date files and
@@ -110,6 +110,13 @@ CONFIGURE_ARGS+= --enable-xvmc
INSTALLATION_DIRS= bin share/mplayer/skins
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-14.*) || !empty(CC_VERSION:Mgcc-15.*)
+CFLAGS+= -Wno-implicit-function-declaration
+CFLAGS+= -Wno-incompatible-pointer-types
+CFLAGS+= -Wno-int-conversion
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin/gmplayer
.for skin in ${SKINS}
Home |
Main Index |
Thread Index |
Old Index