openbsd-ports/graphics/ffmpeg/patches/patch-libavutil_ppc_cpu_c
sthen d6629d69dc Update FFmpeg to 20110408 snapshot.
- Enable WebM encoding.
- Stop stripping the shared libraries which explains why I was
   seeing no symbol table with the shared libraries.
- Build all of FFmpeg with -fomit-frame-pointer on i386 instead of
   hacking the various Makefile's and having to add more files as
   further updates are made. Use default CFLAGS (-O2) on i386 now too
   instead of overriding with -O.
- Remove the UINT64_C hack.
- Update HOMEPAGE to use the ffmpeg.org domain.
- Various other cleaning up and fixes for the port.

From Brad, ok dcoppa@
2011-04-12 22:59:07 +00:00

12 lines
371 B
Plaintext

$OpenBSD: patch-libavutil_ppc_cpu_c,v 1.2 2011/04/12 22:59:07 sthen Exp $
--- libavutil/ppc/cpu.c.orig Mon Mar 28 19:23:17 2011
+++ libavutil/ppc/cpu.c Sat Apr 2 01:04:37 2011
@@ -20,6 +20,7 @@
#undef _POSIX_C_SOURCE
#include <sys/sysctl.h>
#elif defined(__OpenBSD__)
+#undef _POSIX_C_SOURCE
#include <sys/param.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>