libdvdnav/libdvdnav-version.patch
Dominik Mierzejewski 3cc2eda72a - use upstream non-autotools buildsystem
- build with external libdvdread for older releases
- fix version.h
- fix soname
- fix lib paths on 64bit
2007-11-21 22:24:52 +00:00

17 lines
726 B
Diff

diff -up libdvdnav-4.1.1/version.sh.r libdvdnav-4.1.1/version.sh
--- libdvdnav-4.1.1/version.sh.r 2007-04-15 23:58:42.000000000 +0200
+++ libdvdnav-4.1.1/version.sh 2007-11-21 17:46:55.000000000 +0100
@@ -1,11 +1,6 @@
#!/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 | \
- cut -d '"' -f2 2> /dev/null`
-test $svn_revision || svn_revision=UNKNOWN
-
-NEW_REVISION="#define VERSION \"SVN-r$svn_revision\""
+NEW_REVISION="#define VERSION \"4.1.1\""
OLD_REVISION=`cat version.h 2> /dev/null`
# Update version.h only on revision changes to avoid spurious rebuilds