commit 7cc9ffc
hovercats
·
2026-06-08 00:36:07 +0000 UTC
parent d82f3a4
repo/ffmpeg: add fix for configure script giving us a prompt on deletion of temporarly files
4 files changed,
+33,
-1
+3,
-1
1@@ -3,7 +3,9 @@
2 export LIBRARY_DIR=/usr/lib
3 export PKG_CONFIG_PATH=/usr/lib/pkgconfig
4
5-patch -p1 < 0001-add-configure-check-for-Wno-error-incompatible-point.patch
6+for p in *.patch; do
7+ patch -p1 < "$p"
8+done
9
10 ./configure \
11 --cc="${CC:-cc}" \
+1,
-0
1@@ -1,2 +1,3 @@
2 7a9e011d715ea65d24eb4143f266a8287d8ee803b3e25f1faf313cca5e9ff4a211
3 ebc86c1001b49f86d2751e658a8b28e2d29f245e17e96d6f0786a081e037ebf5bc
4+d8ab08cc814544aca7d3f18d3092152af03ddf5c36c1ac274a714ba0ff0845db63
1@@ -0,0 +1,28 @@
2+From c051954e53416280415c1d85f5bcb21280032b82 Mon Sep 17 00:00:00 2001
3+From: hovercats <hovercatswithlasereyes@protonmail.com>
4+Date: Mon, 8 Jun 2026 02:32:54 +0200
5+Subject: [PATCH] configure: add -f flag to avoid prompt when cleaning up
6+ $link_dest and $link_name
7+
8+---
9+ configure | 4 ++--
10+ 1 file changed, 2 insertions(+), 2 deletions(-)
11+
12+diff --git a/configure b/configure
13+index f933a4e..4c187e2 100755
14+--- a/configure
15++++ b/configure
16+@@ -5951,8 +5951,8 @@ else
17+ source_link="$source_path"
18+ fi
19+ # cleanup
20+-rm -r "$link_dest"
21+-rm -r "$link_name"
22++rm -rf "$link_dest"
23++rm -rf "$link_name"
24+
25+ # determine libc flavour
26+
27+--
28+2.54.0
29+
+1,
-0
1@@ -1,2 +1,3 @@
2 https://ffmpeg.org/releases/ffmpeg-7.0.2.tar.xz
3 patches/0001-add-configure-check-for-Wno-error-incompatible-point.patch
4+patches/0002-configure-add-f-flag-to-avoid-prompt-when-cleaning-u.patch