openbsd-ports/graphics/ffmpeg/patches/patch-version_sh
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

13 lines
411 B
Plaintext

$OpenBSD: patch-version_sh,v 1.6 2011/04/12 22:59:07 sthen Exp $
--- version.sh.orig Mon Mar 28 22:46:40 2011
+++ version.sh Mon Mar 28 22:48:02 2011
@@ -1,5 +1,8 @@
#!/bin/sh
+revision=$(cd "$1" && cat snapshot_version 2> /dev/null)
+test "$revision" && revision=git-$revision
+
# check for git short hash
if ! test "$revision"; then
revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)