tech-pkg archive

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

mplayer fix for netbsd-7



Hello,
similar to the ffmpeg2 pach, I needed the attached patch to get mplayer running
on netbsd-7/i386. Without it, it cores dumps on mpeg4 videos.
Should I commit it ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--
Index: gmplayer/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/gmplayer/Makefile,v
retrieving revision 1.120
diff -u -r1.120 Makefile
--- gmplayer/Makefile	9 Oct 2014 14:48:51 -0000	1.120
+++ gmplayer/Makefile	2 Dec 2014 16:20:58 -0000
@@ -8,7 +8,7 @@
 #
 
 PKGNAME=	gmplayer-${MPLAYER_VERSION}
-PKGREVISION=	20
+PKGREVISION=	21
 
 SKIN_SITES=	http://www1.mplayerhq.hu/MPlayer/skins/		\
 		http://www2.mplayerhq.hu/MPlayer/skins/		\
Index: mplayer/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mplayer/Makefile,v
retrieving revision 1.94
diff -u -r1.94 Makefile
--- mplayer/Makefile	27 Jun 2014 15:58:44 -0000	1.94
+++ mplayer/Makefile	2 Dec 2014 16:20:58 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.94 2014/06/27 15:58:44 drochner Exp $
 
 PKGNAME=	mplayer-${MPLAYER_VERSION}
-PKGREVISION=	3
+PKGREVISION=	4
 
 COMMENT=	Fast, cross-platform movie player
 
Index: mplayer-share/Makefile.cflags
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mplayer-share/Makefile.cflags,v
retrieving revision 1.6
diff -u -r1.6 Makefile.cflags
--- mplayer-share/Makefile.cflags	29 Jun 2013 13:35:04 -0000	1.6
+++ mplayer-share/Makefile.cflags	2 Dec 2014 16:20:58 -0000
@@ -16,7 +16,7 @@
 # alignment flags for builtin ffmpeg
 # --yasm='' disables asm altogether for gcc < 4.2
 
-.    if !empty(CC_VERSION:Mgcc-4.[2345]*)
+.    if !empty(CC_VERSION:Mgcc-4.*)
 CFLAGS+=-mstackrealign -mpreferred-stack-boundary=4
 .    elif !empty(CC_VERSION:Mgcc-[123]*) || \
           !empty(CC_VERSION:Mgcc-4.[01]*)


Home | Main Index | Thread Index | Old Index