aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer80
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-11-15 01:14:40 +0800
committerlioux <lioux@FreeBSD.org>2002-11-15 01:14:40 +0800
commitefe56780ba4a0adcaf699ac86e1c5c991bfffe74 (patch)
tree8079fd978cd3acad3fb4e9828ff97a52b9fa7a5b /multimedia/gstreamer80
parente038a5ec129d0eb73210dad2909a25f0b939d7d8 (diff)
downloadfreebsd-ports-gnome-efe56780ba4a0adcaf699ac86e1c5c991bfffe74.tar.gz
freebsd-ports-gnome-efe56780ba4a0adcaf699ac86e1c5c991bfffe74.tar.zst
freebsd-ports-gnome-efe56780ba4a0adcaf699ac86e1c5c991bfffe74.zip
o Simplify LIB_DEPENDS dependency graph
o USE_X_PREFIX since this will be part of GNOME 2.2 o Fix scheduling issue. Therefore, remove IGNORE [1]. GREAT WORK! Submitted by: marcus [1]
Diffstat (limited to 'multimedia/gstreamer80')
-rw-r--r--multimedia/gstreamer80/Makefile11
-rw-r--r--multimedia/gstreamer80/files/patch-gst::cothreads.c16
2 files changed, 22 insertions, 5 deletions
diff --git a/multimedia/gstreamer80/Makefile b/multimedia/gstreamer80/Makefile
index 8c55703e5c74..8b1502a7ecd7 100644
--- a/multimedia/gstreamer80/Makefile
+++ b/multimedia/gstreamer80/Makefile
@@ -14,18 +14,19 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
-LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \
- popt.0:${PORTSDIR}/devel/popt
-
-IGNORE= Needs help fixing scheduling code under FreeBSD
+LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
+ popt.0:${PORTSDIR}/devel/popt \
+ xml2.5:${PORTSDIR}/textproc/libxml2
+USE_X_PREFIX= yes
USE_BISON= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_GNOMENG= yes
-USE_GNOME= gnomehack
+USE_GNOME= gnomehack \
+ gnomeprefix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests \
--disable-failing-tests
diff --git a/multimedia/gstreamer80/files/patch-gst::cothreads.c b/multimedia/gstreamer80/files/patch-gst::cothreads.c
new file mode 100644
index 000000000000..aed13b1a7891
--- /dev/null
+++ b/multimedia/gstreamer80/files/patch-gst::cothreads.c
@@ -0,0 +1,16 @@
+--- gst/cothreads.c.orig Wed Nov 13 22:59:21 2002
++++ gst/cothreads.c Wed Nov 13 22:59:38 2002
+@@ -41,11 +41,11 @@
+ #define MAP_ANONYMOUS MAP_ANON
+ #endif
+
+-#define STACK_SIZE 0x200000
++#define STACK_SIZE 0x100000
+
+ #define COTHREAD_MAGIC_NUMBER 0xabcdef
+
+-#define COTHREAD_MAXTHREADS 16
++#define COTHREAD_MAXTHREADS 8
+ #define COTHREAD_STACKSIZE (STACK_SIZE/COTHREAD_MAXTHREADS)
+
+ static void cothread_destroy (cothread_state *thread);