aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xine
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2008-03-23 21:59:03 +0800
committernobutaka <nobutaka@FreeBSD.org>2008-03-23 21:59:03 +0800
commit9ee68e9c1f29194cf4fb135b72826f6b755cd486 (patch)
treefb2c7d084961270d5a6319ef576aa79e0c90a759 /multimedia/xine
parent169cd755b43dca96bdc822cdaa6495816d782365 (diff)
downloadfreebsd-ports-gnome-9ee68e9c1f29194cf4fb135b72826f6b755cd486.tar.gz
freebsd-ports-gnome-9ee68e9c1f29194cf4fb135b72826f6b755cd486.tar.zst
freebsd-ports-gnome-9ee68e9c1f29194cf4fb135b72826f6b755cd486.zip
Fix build error with libcaca.
PR: ports/121348 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'multimedia/xine')
-rw-r--r--multimedia/xine/Makefile2
-rw-r--r--multimedia/xine/files/patch-src_aaui_main.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile
index 263086b293ed..12c650f74eac 100644
--- a/multimedia/xine/Makefile
+++ b/multimedia/xine/Makefile
@@ -100,7 +100,7 @@ CONFIGURE_ARGS+= --disable-lirc
.endif
.if defined(WITH_CACA)
-LIBXINE_VER!= cd ${PORTSDIR}/multimedia/libxine && ${MAKE} -VPORTVERSION
+LIBXINE_VER= 1.20
.if !exists(${LOCALBASE}/lib/xine/plugins/${LIBXINE_VER}/xineplug_vo_out_caca.so)
IGNORE=libxine should be compiled with caca support
.endif
diff --git a/multimedia/xine/files/patch-src_aaui_main.c b/multimedia/xine/files/patch-src_aaui_main.c
new file mode 100644
index 000000000000..cdb936953331
--- /dev/null
+++ b/multimedia/xine/files/patch-src_aaui_main.c
@@ -0,0 +1,11 @@
+--- src/aaui/main.c.orig 2008-03-23 22:52:31.000000000 +0900
++++ src/aaui/main.c 2008-03-23 22:53:32.000000000 +0900
+@@ -593,7 +593,7 @@
+ while ( !caca_get_event(aaxine.display, CACA_EVENT_KEY_PRESS, &ev, 50000) && aaxine.running ) ;
+
+ if (!aaxine.running) return 0;
+- return ev.data.key.ch;
++ return caca_get_event_key_ch(&ev);
+ #endif
+ }
+