diff options
author | rafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4> | 2006-10-24 09:42:16 +0000 |
---|---|---|
committer | rafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4> | 2006-10-24 09:42:16 +0000 |
commit | 2df06a351137629da513497b6031043e38c58078 (patch) | |
tree | 2770617490179870efe2000ae186b6f1c65c4b8a | |
parent | 9b67c5e380d8abfb4987dfd210bc23c44ff7c426 (diff) | |
download | slackbuilds-2df06a351137629da513497b6031043e38c58078.tar.gz slackbuilds-2df06a351137629da513497b6031043e38c58078.tar.bz2 |
cinelerra for powerpc ok
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@502 370017ae-e619-0410-ac65-c121f96126d4
-rw-r--r-- | cinelerra/cinelerra-powerpc.diff | 26 | ||||
-rwxr-xr-x | cinelerra/cinelerra.SlackBuild | 4 |
2 files changed, 30 insertions, 0 deletions
diff --git a/cinelerra/cinelerra-powerpc.diff b/cinelerra/cinelerra-powerpc.diff new file mode 100644 index 00000000..ddcb4c26 --- /dev/null +++ b/cinelerra/cinelerra-powerpc.diff @@ -0,0 +1,26 @@ +Index: quicktime/ffmpeg/libavcodec/bswap.h +=================================================================== +--- quicktime/ffmpeg/libavcodec/bswap.h (revision 945) ++++ quicktime/ffmpeg/libavcodec/bswap.h (working copy) +@@ -10,6 +10,8 @@ + #include <byteswap.h> + #else + ++#undef ARCH_X86 ++ + #ifdef ARCH_X86_64 + # define LEGACY_REGS "=Q" + #else +Index: quicktime/ffmpeg/libavcodec/bitstream.h +=================================================================== +--- quicktime/ffmpeg/libavcodec/bitstream.h (revision 945) ++++ quicktime/ffmpeg/libavcodec/bitstream.h (working copy) +@@ -14,6 +14,8 @@ + //#define A32_BITSTREAM_READER + #define LIBMPEG2_BITSTREAM_READER_HACK //add BERO + ++#undef ARCH_X86 ++ + extern const uint8_t ff_reverse[256]; + + #if defined(ARCH_X86) || defined(ARCH_X86_64) diff --git a/cinelerra/cinelerra.SlackBuild b/cinelerra/cinelerra.SlackBuild index 2e4624a1..56b920ad 100755 --- a/cinelerra/cinelerra.SlackBuild +++ b/cinelerra/cinelerra.SlackBuild @@ -71,6 +71,10 @@ if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then patch -p1 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH fi +if [ "$ARCH" == "powerpc" ]; then + patch -p0 < $CWD/$PACKAGE-powerpc.diff || exit $ERROR_PATCH +fi + ./autogen.sh || exit $ERROR_CONF ./configure --prefix=/usr --libdir=$LIBDIR || exit $ERROR_CONF make || exit $ERROR_MAKE |