From eccb26002eb0638dac72a3ab294f13973ce04889 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 8 Nov 2003 07:49:55 +0000 Subject: Fix the plug-in build on -STABLE. Submitted by: bland Approved by: maintainer (implicit) --- multimedia/gstreamer-player/Makefile | 3 ++- multimedia/gstreamer-player/files/patch-mozilla::plugin.c | 13 +++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/multimedia/gstreamer-player/Makefile b/multimedia/gstreamer-player/Makefile index 63152744c46d..d4b3e8e00583 100644 --- a/multimedia/gstreamer-player/Makefile +++ b/multimedia/gstreamer-player/Makefile @@ -49,7 +49,8 @@ pre-install: @${MKDIR} ${PREFIX}/etc/gconf/ .if defined(WITH_MOZILLA_PLUGIN) -BUILD_DEPENDS+= ${X11BASE}/include/mozilla${HEADERS_SUFX}/plugin/npapi.h:${PORTSDIR}/www/mozilla-headers${HEADERS_SUFX} +BUILD_DEPENDS+= ${X11BASE}/include/mozilla${HEADERS_SUFX}/plugin/npapi.h:${PORTSDIR}/www/mozilla-headers${HEADERS_SUFX} \ + ${X11BASE}/lib/${MOZILLA}/mozilla-config:${PORTSDIR}/www/${MOZILLA} .if !defined(WITH_MOZILLA) MOZILLA= mozilla-gtk2 diff --git a/multimedia/gstreamer-player/files/patch-mozilla::plugin.c b/multimedia/gstreamer-player/files/patch-mozilla::plugin.c index d64bf2dc85f4..7e73fa8a4152 100644 --- a/multimedia/gstreamer-player/files/patch-mozilla::plugin.c +++ b/multimedia/gstreamer-player/files/patch-mozilla::plugin.c @@ -1,14 +1,19 @@ --- mozilla/plugin.c.orig Sat Jul 12 05:27:40 2003 -+++ mozilla/plugin.c Thu Nov 6 19:43:19 2003 -@@ -19,6 +19,7 @@ ++++ mozilla/plugin.c Sat Nov 8 14:10:11 2003 +@@ -18,7 +18,12 @@ + */ #include ++#ifdef HAVE_STDINT_H #include ++#else ++#include ++#endif +#include #include #include #include -@@ -76,7 +77,7 @@ +@@ -76,7 +81,7 @@ dup2(fds[2],0); //dup2(fds[1],1); @@ -17,7 +22,7 @@ argv[argc++] = "--xid"; argv[argc++] = xid_str; if(plugin->width){ -@@ -92,8 +93,8 @@ +@@ -92,8 +97,8 @@ argv[argc++] = "fd://0"; argv[argc] = NULL; -- cgit