openbsd-ports/graphics/ffmpeg/patches/patch-libpostproc_Makefile
jakemsr d5240098e3 update to ffmpeg subversion snapshot from 2010-05-12
update needed for newer x264 and for gcc4.  this causes yet more
fallout as some libav* functions other ports were using have been
fully deprecated.  commits coming rsn ...

mostly from new MAINTAINER
2010-05-26 21:38:52 +00:00

15 lines
450 B
Plaintext

$OpenBSD: patch-libpostproc_Makefile,v 1.6 2010/05/26 21:38:52 jakemsr Exp $
--- libpostproc/Makefile.orig Tue May 11 16:20:53 2010
+++ libpostproc/Makefile Mon May 17 17:58:55 2010
@@ -8,3 +8,10 @@ HEADERS = postprocess.h
OBJS = postprocess.o
include $(SUBDIR)../subdir.mak
+
+ifdef ARCH_X86_32
+ifeq (,$(findstring -O,$(CFLAGS)))
+libpostproc/postprocess.o: CFLAGS += -O
+endif
+libpostproc/postprocess.o: CFLAGS += -fomit-frame-pointer
+endif