summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer
diff options
context:
space:
mode:
authorbland <bland@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-18 21:13:10 +0800
committerbland <bland@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-18 21:13:10 +0800
commit03bbf4c36d75ea82036cbf662f7cee762c9688c6 (patch)
tree2dcbe226b9f53286390a0359b3899bcda39fcbb8 /multimedia/gstreamer
parent681f53ad0e5b2f33aac1f58e3e815e6efba50179 (diff)
downloadmarcuscom-ports-03bbf4c36d75ea82036cbf662f7cee762c9688c6.tar.gz
marcuscom-ports-03bbf4c36d75ea82036cbf662f7cee762c9688c6.tar.zst
marcuscom-ports-03bbf4c36d75ea82036cbf662f7cee762c9688c6.zip
Fix 64bit integer truncation (this fixes rhythmbox crashes on amd64).
Reported by: Yuri Pankov, Pascal Hofstee git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6085 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer')
-rw-r--r--multimedia/gstreamer/Makefile3
-rw-r--r--multimedia/gstreamer/files/patch-gst__gstbin.c11
2 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile
index daf95ab30..bace69e7b 100644
--- a/multimedia/gstreamer/Makefile
+++ b/multimedia/gstreamer/Makefile
@@ -3,10 +3,11 @@
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/multimedia/gstreamer/Makefile,v 1.41 2006/03/11 05:37:03 ahze Exp $
+# $MCom: ports/multimedia/gstreamer/Makefile,v 1.42 2006/04/15 06:53:52 marcus Exp $
PORTNAME= gstreamer
PORTVERSION= 0.10.4
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GNOME} \
http://gstreamer.freedesktop.org/src/gstreamer/
diff --git a/multimedia/gstreamer/files/patch-gst__gstbin.c b/multimedia/gstreamer/files/patch-gst__gstbin.c
new file mode 100644
index 000000000..edff58ced
--- /dev/null
+++ b/multimedia/gstreamer/files/patch-gst__gstbin.c
@@ -0,0 +1,11 @@
+--- gst/gstbin.c.orig Tue Apr 18 21:12:49 2006
++++ gst/gstbin.c Tue Apr 18 21:39:56 2006
+@@ -2406,7 +2406,7 @@
+ {
+ gint ret;
+
+- if (G_TYPE_CHECK_INSTANCE_TYPE (element, GPOINTER_TO_INT (interface))) {
++ if (G_TYPE_CHECK_INSTANCE_TYPE (element, (GType)interface)) {
+ ret = 0;
+ } else {
+ /* we did not find the element, need to release the ref