aboutsummaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2007-08-08 22:30:19 +0000
committerrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2007-08-08 22:30:19 +0000
commit20ba70e86080f1ead20a31f47654a28b83376d14 (patch)
treef0957da21f4840bf843a55f5378b26ed670b053e /media
parent57bb0aad5c678751e4818b866684d9ffee0daad2 (diff)
downloadslackbuilds-20ba70e86080f1ead20a31f47654a28b83376d14.tar.gz
slackbuilds-20ba70e86080f1ead20a31f47654a28b83376d14.tar.bz2
cinelerra fix for glibc 2.5 - only for slack >= 12
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1329 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media')
-rwxr-xr-xmedia/video/cinelerra/cinelerra.SlackBuild5
-rw-r--r--media/video/cinelerra/cinelerra.diff16
2 files changed, 18 insertions, 3 deletions
diff --git a/media/video/cinelerra/cinelerra.SlackBuild b/media/video/cinelerra/cinelerra.SlackBuild
index 05bd48b2..05763bbe 100755
--- a/media/video/cinelerra/cinelerra.SlackBuild
+++ b/media/video/cinelerra/cinelerra.SlackBuild
@@ -76,9 +76,8 @@ fi
cd $SRC_DIR/cinelerra
VERSION=r"`svnversion cinelerra`"
-if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
- patch -p1 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH
-fi
+# glibc 2.5 work-around!!!
+patch -p0 < $CWD/$PACKAGE.diff || exit $ERROR_PATCH
if [ "$ARCH" == "i586" ] || [ "$ARCH" == "i686" ]; then
EXTRA_ACFLAGS=" --enable-mmx"
diff --git a/media/video/cinelerra/cinelerra.diff b/media/video/cinelerra/cinelerra.diff
new file mode 100644
index 00000000..52bd2aa7
--- /dev/null
+++ b/media/video/cinelerra/cinelerra.diff
@@ -0,0 +1,16 @@
+Index: cinelerra/mwindow.C
+===================================================================
+--- cinelerra/mwindow.C (revision 1017)
++++ cinelerra/mwindow.C (working copy)
+@@ -1348,9 +1348,9 @@
+ if(preferences->use_tipwindow)
+ init_tipwindow();
+
+-SET_TRACE
++//SET_TRACE
+
+- hide_splash();
++// hide_splash();
+ SET_TRACE
+ init_shm();
+ }