openbsd-ports/x11/mplayer/patches/patch-libswscale_Makefile
jakemsr 8cf7b6253f update to mplayer-export-snapshot-20100308
locally:
* fix audio when using bsdbt848 video driver (problems noted by simon@)
* allow 24-bit audio output formats in the sndio backend (from ratchov@)

mostly from edd@ (MAINTAINER)
2010-05-26 21:29:56 +00:00

15 lines
450 B
Plaintext

$OpenBSD: patch-libswscale_Makefile,v 1.2 2010/05/26 21:29:56 jakemsr Exp $
--- libswscale/Makefile.orig Wed Jan 27 00:25:23 2010
+++ libswscale/Makefile Mon Mar 8 14:28:42 2010
@@ -21,3 +21,10 @@ TESTPROGS = colorspace swscale
DIRS = bfin mlib ppc sparc x86
include $(SUBDIR)../subdir.mak
+
+ifdef ARCH_X86_32
+ifeq (,$(findstring -O,$(CFLAGS)))
+x86/yuv2rgb_mmx.o: CFLAGS += -O
+endif
+x86/yuv2rgb_mmx.o: CFLAGS += -fomit-frame-pointer
+endif