summaryrefslogtreecommitdiff
path: root/repo/media/ffmpeg/0001-ffbuild-libversion.sh-add-shebang.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/media/ffmpeg/0001-ffbuild-libversion.sh-add-shebang.patch
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/media/ffmpeg/0001-ffbuild-libversion.sh-add-shebang.patch')
-rw-r--r--repo/media/ffmpeg/0001-ffbuild-libversion.sh-add-shebang.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/media/ffmpeg/0001-ffbuild-libversion.sh-add-shebang.patch b/repo/media/ffmpeg/0001-ffbuild-libversion.sh-add-shebang.patch
new file mode 100644
index 0000000..1df1691
--- /dev/null
+++ b/repo/media/ffmpeg/0001-ffbuild-libversion.sh-add-shebang.patch
@@ -0,0 +1,24 @@
+From 3eb43e2e9df80baad20722b3698e6995a546853a Mon Sep 17 00:00:00 2001
+From: Carlo Landmeter <clandmeter@alpinelinux.org>
+Date: Tue, 29 Jun 2021 11:56:32 +0000
+Subject: [PATCH] ffbuild/libversion.sh: add shebang
+
+when using something like qemu-user where argv[0] is qemu the script
+will not be exexuted by the shell.
+---
+ ffbuild/libversion.sh | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/ffbuild/libversion.sh b/ffbuild/libversion.sh
+index 990ce9f640..30046b1d25 100755
+--- a/ffbuild/libversion.sh
++++ b/ffbuild/libversion.sh
+@@ -1,3 +1,5 @@
++#!/bin/sh
++
+ toupper(){
+ echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ }
+--
+2.32.0
+