Subject unbreak gstreamer (hence multimedia3) on amd64
This patch removes the previous gstreamer maintainer ("you found a left over
port that I no-longer maintain.") and applies a patch from the net
from 2005 to make gstreamer compile on amd64. It passes dozens
of tests, but not all (see below). I have not tested it extensively but I
needed
it to make kdemultmedia build on amd64. kdemultimedia works - I can
now use the KDE "Sound mixer" applet to control the volume.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/gstreamer/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 7 Jan 2006 13:01:39 -0000 1.4
+++ Makefile 14 Jul 2006 12:21:08 -0000
@@ -9,8 +9,6 @@
CATEGORIES= devel
-MAINTAINER= Marc Matteo <[EMAIL PROTECTED]>
-
HOMEPAGE= http://www.gstreamer.net/
# LGPL
--- /dev/null Fri Jul 14 08:21:08 2006
+++ patches/patch-gst_gstarch_h Thu Jul 13 23:20:57 2006
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+This patch "should" not work but does, and most of "regress" passes.
+See http://archives.neohapsis.com/archives/openbsd/2005-05/1405.html
+
+--- gst/gstarch.h.orig Thu Jul 13 22:33:27 2006
++++ gst/gstarch.h Thu Jul 13 22:32:03 2006
+@@ -40,6 +40,11 @@
+ /* assuming the stackframe is 16 bytes */
+ #define GST_ARCH_SETUP_STACK(sp) sp -= 4
+
++/***** X86_64 *****/
++#elif defined(HAVE_CPU_X86_64) && defined(__GNUC__)
++#define GST_ARCH_SET_SP(stackpointer);
++#define GST_ARCH_CALL(target);
++#define GST_ARCH_SETUP_STACK(sp) sp -= 4
+
+ /***** PowerPC *****/
+ #elif defined (HAVE_CPU_PPC) && defined(__GNUC__)
Regress results summary:
ian:14$ egrep -i 'passed|fail' to.ports.regress
All 1 tests passed
All 2 tests passed
XFAIL: test1
All 3 tests behaved as expected (1 expected failures)
35, INFO : checking audio/raw, test= [ 1.0 , 2] for failure
36, INFO : checking audio/raw, test = [1, 2.5 ] for failure
58, INFO : checking audio/raw\ for failure
59, INFO : checking 'audio/raw for failure
60, INFO : checking 'audio/raw" for failure
61, INFO : checking audio/raw, test=(int) [1.0,2] for failure
62, INFO : checking audio/raw, test=(int) [1 ,0.2] for failure
63, INFO : checking audio/raw, test=(int) [1.0, 2.000] for failure
64, INFO : checking audio/raw, test=(int) <1.0, 2.000> for failure
65, INFO : checking audio/raw, test=(int = [ for failure
66, INFO : checking audio/raw, test= { for failure
67, INFO : checking audio/raw, test= < for failure
68, INFO : checking audio/raw, test = "dood' for failure
69, INFO : checking audio/raw, test= ' for failure
All 27 tests passed
All 2 tests passed
All 5 tests passed
All 4 tests passed
All 5 tests passed
All 2 tests passed
All 2 tests passed
All 7 tests passed
All 2 tests passed
All 3 tests passed
All 2 tests passed
GStreamer-CRITICAL **: gst_pad_pull: assertion `!GST_FLAG_IS_SET
(GST_PAD_REALIZE (pad), GST_RPAD_IN_CHAINFUNC)' failed
XFAIL: chainnopull
GStreamer-CRITICAL **: gst_pad_push: assertion `!GST_FLAG_IS_SET
(GST_PAD_REALIZE (pad), GST_RPAD_IN_GETFUNC)' failed
XFAIL: getnopush
All 4 tests behaved as expected (2 expected failures)
All 3 tests passed
All 7 tests passed
All 6 tests passed
All 17 tests passed
passed.
All 3 tests passed
All 2 tests passed
XFAIL: 159566
GLib-GObject-CRITICAL **: g_object_notify_queue_add: assertion
`nqueue->n_pspecs < 65535' failed
XFAIL: signal3
All 14 tests behaved as expected (2 expected failures)
All 2 tests passed
All 5 tests passed
ian:15$