diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile index 0dfe08d792e3..5f0f23afdf1a 100644 --- a/multimedia/xine/Makefile +++ b/multimedia/xine/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= xine -PORTVERSION= 0.99.8 -PORTREVISION= 2 +PORTVERSION= 0.99.9 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-ui/${PORTVERSION} DISTNAME= ${PORTNAME}-ui-${PORTVERSION} @@ -16,7 +15,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng15.so:${PORTSDIR}/graphics/png \ libxine.so:${PORTSDIR}/multimedia/libxine -USES= desktop-file-utils gmake iconv pkgconfig readline \ +USES= desktop-file-utils execinfo gmake iconv pkgconfig readline \ shared-mime-info tar:xz USE_XORG= x11 xext xinerama xscrnsaver xtst xv xxf86vm GNU_CONFIGURE= yes @@ -30,7 +29,6 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DOCSDIR= ${PREFIX}/share/doc/xine-ui -XINE_PLUGINSDIR= lib/xine/plugins/2.3 OPTIONS_DEFINE= AALIB CACA CURL DOCS LIRC NLS XFT OPTIONS_DEFAULT= CURL XFT @@ -56,14 +54,13 @@ WIN32_CODECS_RUN_DEPENDS=\ XFT_USE= XORG=xft XFT_CONFIGURE_ENABLE= xft -.include - -.if ${OSVERSION} < 1000052 -LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo -.endif +XINE_PLUGINSDIR= lib/xine/plugins/2.3 post-patch: @${REINPLACE_CMD} -e \ 's|||' ${WRKSRC}/src/aaui/main.c + @${REINPLACE_CMD} -e \ + 's|<\(readline.h\)>|| ; \ + s|<\(history.h\)>||' ${WRKSRC}/src/xitk/network.c .include diff --git a/multimedia/xine/distinfo b/multimedia/xine/distinfo index f389036b5eb9..328d793c03ab 100644 --- a/multimedia/xine/distinfo +++ b/multimedia/xine/distinfo @@ -1,2 +1,2 @@ -SHA256 (xine-ui-0.99.8.tar.xz) = 1ac5a9fc8dbf81f12a8677108bf2b623e70d7adbb83b83912b9cdf00bc78b2a7 -SIZE (xine-ui-0.99.8.tar.xz) = 1758372 +SHA256 (xine-ui-0.99.9.tar.xz) = 8dd180219f546a7be0a5651370996b95b3a38ec97bf01b57d2bd1cb966e591a2 +SIZE (xine-ui-0.99.9.tar.xz) = 1759568 diff --git a/multimedia/xine/files/patch-src:xitk:skins:xinetic:skinconfig b/multimedia/xine/files/patch-src__xitk__skins__xinetic__skinconfig similarity index 100% rename from multimedia/xine/files/patch-src:xitk:skins:xinetic:skinconfig rename to multimedia/xine/files/patch-src__xitk__skins__xinetic__skinconfig diff --git a/multimedia/xine/files/patch-src_xitk_Imlib-light_load.c b/multimedia/xine/files/patch-src_xitk_Imlib-light_load.c deleted file mode 100644 index c0636a391d3f..000000000000 --- a/multimedia/xine/files/patch-src_xitk_Imlib-light_load.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/xitk/Imlib-light/load.c.orig 2010-03-01 18:02:05.000000000 +0100 -+++ src/xitk/Imlib-light/load.c 2012-05-06 06:38:35.000000000 +0200 -@@ -5,6 +5,7 @@ - #include "Imlib.h" - #include "Imlib_private.h" - #include -+#include - - #ifndef INT_MAX - #define INT_MAX ((int)((unsigned int)(1 << (8 * sizeof(int) - 1)) - 1)) diff --git a/multimedia/xine/files/patch-src_xitk_main.c b/multimedia/xine/files/patch-src_xitk_main.c deleted file mode 100644 index 3af78ebaa671..000000000000 --- a/multimedia/xine/files/patch-src_xitk_main.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/xitk/main.c.orig 2012-01-19 11:04:00.000000000 +0000 -+++ src/xitk/main.c -@@ -21,7 +21,7 @@ - * - */ - /* required for getsubopt(); the __sun test gives us strncasecmp() on solaris */ --#if !defined(__sun) && ! defined(__FreeBSD__) -+#if !defined(__sun) && ! defined(__FreeBSD__) && ! defined(__DragonFly__) - #define _XOPEN_SOURCE 500 - #endif - /* required for strncasecmp() */ diff --git a/multimedia/xine/files/patch-src_xitk_network.c b/multimedia/xine/files/patch-src_xitk_network.c deleted file mode 100644 index 14742950bb61..000000000000 --- a/multimedia/xine/files/patch-src_xitk_network.c +++ /dev/null @@ -1,31 +0,0 @@ ---- src/xitk/network.c.orig -+++ src/xitk/network.c -@@ -24,7 +24,7 @@ - /* required for getsubopt(); the __sun test avoids compilation problems on - solaris. On FreeBSD defining this disable BSD functions to be visible - and remove INADDR_NONE */ --#if ! defined (__sun__) && ! defined (__OpenBSD__) && ! defined(__FreeBSD__) && ! defined(__APPLE__) -+#if ! defined (__sun__) && ! defined (__OpenBSD__) && ! defined(__FreeBSD__) && ! defined(__APPLE__) && ! defined (__DragonFly__) - #define _XOPEN_SOURCE 500 - #endif - /* required for strncasecmp() */ -@@ -64,8 +64,8 @@ - #include - #include - --#include --#include -+#include -+#include - - #include "common.h" - -@@ -1255,7 +1255,7 @@ int main(int argc, char **argv) { - rl_readline_name = PROGNAME; - rl_set_prompt(session.prompt); - rl_initialize(); -- rl_attempted_completion_function = (CPPFunction *)completion_function; -+ rl_attempted_completion_function = (rl_completion_func_t *)completion_function; - - signal(SIGPIPE, SIG_IGN); - diff --git a/multimedia/xine/files/patch-src_xitk_session.c b/multimedia/xine/files/patch-src_xitk_session.c deleted file mode 100644 index 5b9fea80c995..000000000000 --- a/multimedia/xine/files/patch-src_xitk_session.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/xitk/session.c.orig 2010-03-11 09:40:12.000000000 +0000 -+++ src/xitk/session.c -@@ -21,7 +21,7 @@ - /* Largely inspired of xmms control socket stuff */ - - /* required for getsubopt(); the __sun test gives us strncasecmp() on solaris */ --#if ! defined (__sun) && ! defined (__OpenBSD__) && ! defined (__FreeBSD__) -+#if ! defined (__sun) && ! defined (__OpenBSD__) && ! defined (__FreeBSD__) && !defined(__DragonFly__) - #define _XOPEN_SOURCE 500 - #endif -