Enable build on amd64. Remove defunct maintainer at his request.

OK jasper@, naddy@
This commit is contained in:
ian 2006-08-13 19:58:58 +00:00
parent dbe3be9b94
commit fea5981bc3
2 changed files with 20 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2006/08/01 22:55:52 espie Exp $
# $OpenBSD: Makefile,v 1.6 2006/08/13 19:58:58 ian Exp $
COMMENT= "GStreamer streaming media framework runtime"
@ -9,8 +9,6 @@ SHARED_LIBS= gstcontrol-0.8 5.0 \
CATEGORIES= devel
MAINTAINER= Marc Matteo <marcm@openbsd.org>
HOMEPAGE= http://www.gstreamer.net/
# LGPL

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-gst_gstarch_h,v 1.1 2006/08/13 19:58:58 ian Exp $
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__)