[SCM] mjpegtools/master: Added 10_usr_local.patch: Fix scripts not to invoke binaries in /usr/local

lucidfox-guest at users.alioth.debian.org lucidfox-guest at users.alioth.debian.org
Sun May 1 09:34:33 UTC 2011


The following commit has been merged in the master branch:
commit cf07e799b44d6dcecf3ffeb49f46c268dd5c1afe
Author: Maia Kozheva <sikon at ubuntu.com>
Date:   Sun May 1 16:28:12 2011 +0700

    Added 10_usr_local.patch: Fix scripts not to invoke binaries in /usr/local

diff --git a/debian/patches/10_usr_local.patch b/debian/patches/10_usr_local.patch
new file mode 100644
index 0000000..fa42177
--- /dev/null
+++ b/debian/patches/10_usr_local.patch
@@ -0,0 +1,15 @@
+Index: mjpegtools/scripts/lavtc.sh
+===================================================================
+--- mjpegtools.orig/scripts/lavtc.sh	2011-05-01 16:26:23.249142025 +0700
++++ mjpegtools/scripts/lavtc.sh	2011-05-01 16:27:00.089142007 +0700
+@@ -768,8 +768,8 @@
+ 	#
+ 	# this is the big call
+ 	#
+-	log_debug `for arg in /usr/local/bin/transcode ${passArgs} ${transcodeArgs} ${inputCodecArgs} ${outputCodecArgs} ; do echo -n "${arg} " ; done` " <EOL>"
+-	/usr/local/bin/transcode \
++	log_debug `for arg in transcode ${passArgs} ${transcodeArgs} ${inputCodecArgs} ${outputCodecArgs} ; do echo -n "${arg} " ; done` " <EOL>"
++	transcode \
+ 		${passArgs} \
+ 		${transcodeArgs} \
+ 		${inputCodecArgs} \
diff --git a/debian/patches/series b/debian/patches/series
index 31e67ba..66c1e8a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 07_yuvdenoise_disable_sse2.patch
 08_use_bash.patch
 09_script_path.patch
+10_usr_local.patch

-- 
mjpegtools packaging



More information about the pkg-multimedia-commits mailing list