e7eafae972
additions/changes in this update: - RoQ muxer, audio encoder - Renderware TXD demuxer and decoder - extern C declarations for C++ removed from headers - sws_flags command line option - codebook generator - RoQ video encoder - QTRLE encoder - OS/2 support removed - AC-3 decoder - NUT muxer (since r10052) - Matroska muxer - Slice-based parallel H.264 decoding plus lots of bugfixes prodding/testing/ok brad@
21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
$OpenBSD: patch-version_sh,v 1.2 2007/09/24 07:51:24 jakemsr Exp $
|
|
--- version.sh.orig Tue Jul 17 23:14:51 2007
|
|
+++ version.sh Mon Sep 10 19:59:57 2007
|
|
@@ -1,9 +1,12 @@
|
|
#!/bin/sh
|
|
|
|
-svn_revision=`cd "$1" && LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
|
|
-test $svn_revision || svn_revision=`cd "$1" && grep revision .svn/entries 2>/dev/null | cut -d '"' -f2`
|
|
-test $svn_revision || svn_revision=`cd "$1" && sed -n -e '/^dir$/{n;p;q}' .svn/entries 2>/dev/null`
|
|
-test $svn_revision || svn_revision=UNKNOWN
|
|
+#svn_revision=`cd "$1" && LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
|
|
+#test $svn_revision || svn_revision=`cd "$1" && grep revision .svn/entries 2>/dev/null | cut -d '"' -f2`
|
|
+#test $svn_revision || svn_revision=`cd "$1" && sed -n -e '/^dir$/{n;p;q}' .svn/entries 2>/dev/null`
|
|
+#test $svn_revision || svn_revision=UNKNOWN
|
|
+svn_revision=`cd "$1" && grep Revision svn-info | \
|
|
+ cut -d' ' -f2 2> /dev/null`
|
|
+test -n "$svn_revision" || svn_revision=UNKNOWN
|
|
|
|
NEW_REVISION="#define FFMPEG_VERSION \"SVN-r$svn_revision\""
|
|
OLD_REVISION=`cat version.h 2> /dev/null`
|