diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-31 11:08:05 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-31 11:08:05 +0000 |
commit | b186508be0ad80bd5ac9d0e7072c4521ff575cae (patch) | |
tree | 4dd7bd701b7af76e36d93c515f0436867541d195 /media-video/xine-ui/files | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-b186508be0ad80bd5ac9d0e7072c4521ff575cae.tar.gz gentoo-2-b186508be0ad80bd5ac9d0e7072c4521ff575cae.tar.bz2 gentoo-2-b186508be0ad80bd5ac9d0e7072c4521ff575cae.zip |
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-video/xine-ui/files')
-rw-r--r-- | media-video/xine-ui/files/xine-ui-0.99.5-new_libcaca_api.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/media-video/xine-ui/files/xine-ui-0.99.5-new_libcaca_api.patch b/media-video/xine-ui/files/xine-ui-0.99.5-new_libcaca_api.patch deleted file mode 100644 index ae573d76d92f..000000000000 --- a/media-video/xine-ui/files/xine-ui-0.99.5-new_libcaca_api.patch +++ /dev/null @@ -1,35 +0,0 @@ -Index: xine-ui-0.99.5/configure.ac -=================================================================== ---- xine-ui-0.99.5.orig/configure.ac -+++ xine-ui-0.99.5/configure.ac -@@ -364,6 +364,13 @@ if test "x$with_caca" != "xno"; then - if test "x$with_caca" = "xyes" && test "x$have_caca" = "xno"; then - AC_MSG_ERROR([CACA support requested, but libcaca 0.99 not found]) - fi -+ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <caca.h> -+ caca_event_t ev;]], -+ [[ev.type = 0;]] -+ )], -+ [], -+ [AC_DEFINE(CACA_EVENT_OPAQUE, [1], ["Define if struct caca_event is opaque and must not be accessed directly"])] -+ ) - fi - - AM_CONDITIONAL([HAVE_CACA], [test "x$have_caca" = "xyes"]) -Index: xine-ui-0.99.5/src/aaui/main.c -=================================================================== ---- xine-ui-0.99.5.orig/src/aaui/main.c -+++ xine-ui-0.99.5/src/aaui/main.c -@@ -593,8 +593,12 @@ static int aaxine_get_key_event(void) { - while ( !caca_get_event(aaxine.display, CACA_EVENT_KEY_PRESS, &ev, 50000) && aaxine.running ) ; - - if (!aaxine.running) return 0; -+#ifdef CACA_EVENT_OPAQUE -+ return caca_get_event_key_ch( &ev ); -+#else - return ev.data.key.ch; - #endif -+#endif - } - - /* |