aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xine
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2003-02-24 14:13:22 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2003-02-24 14:13:22 +0000
commit967c7b5392bd5528975eb4c19f1380c064260888 (patch)
treed810fc4182372d58a3651e71bdae7981739575c5 /multimedia/xine
parentd28d4a66a3091245ab2bdbf50e4350c8e67b18c7 (diff)
downloadports-967c7b5392bd5528975eb4c19f1380c064260888.tar.gz
ports-967c7b5392bd5528975eb4c19f1380c064260888.zip
Sync with libxine update.
Add the extra patch to fix build error on 5.0-RELEASE.
Notes
Notes: svn path=/head/; revision=76398
Diffstat (limited to 'multimedia/xine')
-rw-r--r--multimedia/xine/Makefile7
-rw-r--r--multimedia/xine/files/extra-patch-src:xitk:common.h11
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile
index eecc19d48e97..7e57960b28f8 100644
--- a/multimedia/xine/Makefile
+++ b/multimedia/xine/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xine
PORTVERSION= 0.9.18
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,7 +16,7 @@ DISTNAME= ${PORTNAME}-ui-${PORTVERSION}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= An X11 multimedia player
-LIB_DEPENDS= xine.3:${PORTSDIR}/multimedia/libxine \
+LIB_DEPENDS= xine.4:${PORTSDIR}/multimedia/libxine \
aa.1:${PORTSDIR}/graphics/aalib \
png.5:${PORTSDIR}/graphics/png \
intl.4:${PORTSDIR}/devel/gettext
@@ -45,6 +46,10 @@ CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
.endif
.endif
+.if (${OSVERSION} == 500043)
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src:xitk:common.h
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
diff --git a/multimedia/xine/files/extra-patch-src:xitk:common.h b/multimedia/xine/files/extra-patch-src:xitk:common.h
new file mode 100644
index 000000000000..55a644b31ff2
--- /dev/null
+++ b/multimedia/xine/files/extra-patch-src:xitk:common.h
@@ -0,0 +1,11 @@
+--- src/xitk/common.h.orig Mon Feb 24 22:39:16 2003
++++ src/xitk/common.h Mon Feb 24 22:39:46 2003
+@@ -31,6 +31,8 @@
+ #include <xine.h>
+ #include <xine/xineutils.h>
+
++#define ushort unsigned short
++
+ #include "Imlib-light/Imlib.h"
+
+ #include "xitk.h"