@ -0,0 +1,25 @@ |
|||||
|
|
||||
|
Somehow some PowerPC expert manage to write uncompileable __asm__ inline code. |
||||
|
This does compile - but is unintentional. I do not know if it does the right |
||||
|
thing (and need to do some leasons in PowerPC assempbly and GCC inline |
||||
|
assembly specifically). |
||||
|
|
||||
|
- Rene Rebe <rene@rocklinux.org> |
||||
|
|
||||
|
--- gstreamer-0.6.5-orig/gst/gstarch.h 2003-09-23 02:12:34.000000000 +0200
|
||||
|
+++ gstreamer-0.6.5-fixed/gst/gstarch.h 2004-04-12 00:41:19.000000000 +0200
|
||||
|
@@ -46,11 +46,11 @@
|
||||
|
#elif defined (HAVE_CPU_PPC) && defined(__GNUC__) |
||||
|
|
||||
|
#define GST_ARCH_SET_SP(stackpointer) \ |
||||
|
- __asm__("lwz r1,%0" : : "m"(stackpointer) )
|
||||
|
+ __asm__("lwz 1,%0" : : "m"(stackpointer) )
|
||||
|
|
||||
|
#define GST_ARCH_CALL(target) \ |
||||
|
- __asm__( "mr r0,%0\n\t" \
|
||||
|
- "mtlr r0\n\t" \
|
||||
|
+ __asm__( "mr %0,%0\n\t" \
|
||||
|
+ "mtlr %0\n\t" \
|
||||
|
"blrl" : : "r"(target) : "r0" ); |
||||
|
|
||||
|
struct minimal_ppc_stackframe { |
||||
@ -0,0 +1,18 @@ |
|||||
|
|
||||
|
Well in soem way X11 libs are missing if ffmep is compiled without |
||||
|
imlib2 support - maintainers could also test their stuff ... |
||||
|
|
||||
|
- Rene Rebe <rene@rocklinux.org> |
||||
|
|
||||
|
--- ffmpeg-0.4.8/Makefile 2003-09-28 17:26:39.000000000 +0200
|
||||
|
+++ ffmpeg-0.4.8-fixed/Makefile 2004-04-11 22:58:56.000000000 +0200
|
||||
|
@@ -14,6 +14,9 @@
|
||||
|
LDFLAGS+=-p |
||||
|
endif |
||||
|
|
||||
|
+# ReneR: well the maintainer could also test his ... without imlib2 support
|
||||
|
+EXTRALIBS+=-L/usr/X11/lib -lX11
|
||||
|
+
|
||||
|
PROG=ffmpeg$(EXESUF) |
||||
|
PROGTEST=output_example$(EXESUF) |
||||
|
|
||||