[93872] trunk/dports/multimedia/xine-ui

jmr at macports.org jmr at macports.org
Fri Jun 1 23:02:16 PDT 2012


Revision: 93872
          https://trac.macports.org/changeset/93872
Author:   jmr at macports.org
Date:     2012-06-01 23:02:16 -0700 (Fri, 01 Jun 2012)
Log Message:
-----------
xine-ui: update to 0.99.6 (fixes #29199, #31559)

Modified Paths:
--------------
    trunk/dports/multimedia/xine-ui/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/xine-ui/files/globals.patch

Removed Paths:
-------------
    trunk/dports/multimedia/xine-ui/files/patch-network.c.diff

Modified: trunk/dports/multimedia/xine-ui/Portfile
===================================================================
--- trunk/dports/multimedia/xine-ui/Portfile	2012-06-02 04:07:56 UTC (rev 93871)
+++ trunk/dports/multimedia/xine-ui/Portfile	2012-06-02 06:02:16 UTC (rev 93872)
@@ -4,19 +4,19 @@
 PortSystem              1.0
 
 name                    xine-ui
-version                 0.99.5
+version                 0.99.6
 maintainers             ryandesign openmaintainer
 categories              multimedia
 platforms               darwin
 license                 GPL-2+
 homepage                http://www.xine-project.org/
 master_sites            sourceforge:project/xine/xine-ui/${version}
+use_xz                  yes
 
-checksums               md5     e643cd1fcad4d98a5ae4eb877ce5087b \
-                        sha1    4f452516319f31cda01d08ea2779f195933af0bb \
-                        rmd160  64cb69549d88d904d986ea7dd7b36a51d5b91756
+checksums               sha1    abbdb331898c14025ee6b132f63ab7d3c1b5b31e \
+                        rmd160  b5d27f112d2ebb861d18be684c17c5fe0e7b7fbd
 
-depends_build           path:bin/pkg-config:pkgconfig
+depends_build           port:pkgconfig
 
 depends_lib             port:xine-lib \
                         port:xorg-libXtst \
@@ -30,7 +30,7 @@
 # xine-lib is not universal
 universal_variant       no
 
-patchfiles              patch-network.c.diff
+patchfiles              globals.patch
 
 configure.args          --mandir=${prefix}/share/man \
                         --disable-lirc \

Added: trunk/dports/multimedia/xine-ui/files/globals.patch
===================================================================
--- trunk/dports/multimedia/xine-ui/files/globals.patch	                        (rev 0)
+++ trunk/dports/multimedia/xine-ui/files/globals.patch	2012-06-02 06:02:16 UTC (rev 93872)
@@ -0,0 +1,28 @@
+--- src/common/globals.c.orig	2009-12-19 11:34:22.000000000 +1100
++++ src/common/globals.c	2012-06-02 15:53:55.000000000 +1000
+@@ -28,21 +28,21 @@
+ /**
+  * @brief Global xine instance
+  */
+-xine_t *__xineui_global_xine_instance;
++xine_t *__xineui_global_xine_instance = NULL;
+ 
+ /**
+  * @brief Configuration file name
+  */
+-char *__xineui_global_config_file;
++char *__xineui_global_config_file = NULL;
+ 
+ /**
+  * @brief Verbosity level for the xine fronend
+  */
+-int __xineui_global_verbosity;
++int __xineui_global_verbosity = 0;
+ 
+ #ifdef HAVE_LIRC
+ /**
+  * @brief Boolean flag to check if LIRC support is enabled at runtime.
+  */
+-int __xineui_global_lirc_enable;
++int __xineui_global_lirc_enable = 0;
+ #endif

Deleted: trunk/dports/multimedia/xine-ui/files/patch-network.c.diff
===================================================================
--- trunk/dports/multimedia/xine-ui/files/patch-network.c.diff	2012-06-02 04:07:56 UTC (rev 93871)
+++ trunk/dports/multimedia/xine-ui/files/patch-network.c.diff	2012-06-02 06:02:16 UTC (rev 93872)
@@ -1,11 +0,0 @@
---- src/xitk/network.c.orig	2006-07-15 15:26:20.000000000 -0500
-+++ src/xitk/network.c	2009-06-12 04:18:34.000000000 -0500
-@@ -26,7 +26,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__)
-+#if ! defined (__sun__) && ! defined (__OpenBSD__)  && ! defined(__FreeBSD__) && ! defined(__APPLE__)
- #define _XOPEN_SOURCE 500
- #endif
- /* required for strncasecmp() */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120601/aa318641/attachment.html>


More information about the macports-changes mailing list