diff --git a/packages/multimedia/ffmpeg/patches/ffmpeg-00.0000-fix-version-script.patch b/packages/multimedia/ffmpeg/patches/ffmpeg-00.0000-fix-version-script.patch new file mode 100644 index 0000000000..87f01a1c8c --- /dev/null +++ b/packages/multimedia/ffmpeg/patches/ffmpeg-00.0000-fix-version-script.patch @@ -0,0 +1,14 @@ +diff --git a/version.sh b/version.sh +index edc4dd3..d2b90a9 100755 +--- a/version.sh ++++ b/version.sh +@@ -16,6 +16,9 @@ fi + test "$revision" || revision=$(cd "$1" && + git log -1 --pretty=format:"git-%cd-%h" --date=short 2> /dev/null) + ++# ignore any current revision, which is just that of the LibreELEC repository ++revision= ++ + # Snapshots from gitweb are in a directory called ffmpeg-hhhhhhh or + # ffmpeg-HEAD-hhhhhhh. + if [ -z "$revision" ]; then