[93399] trunk/dports/multimedia/xine-lib

jmr at macports.org jmr at macports.org
Mon May 21 12:14:48 PDT 2012


Revision: 93399
          https://trac.macports.org/changeset/93399
Author:   jmr at macports.org
Date:     2012-05-21 12:14:46 -0700 (Mon, 21 May 2012)
Log Message:
-----------
xine-lib: comment out invalid code that's just an unused template anyway, should fix build with clang

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

Added Paths:
-----------
    trunk/dports/multimedia/xine-lib/files/src_demuxers_demux_qt.c.diff

Modified: trunk/dports/multimedia/xine-lib/Portfile
===================================================================
--- trunk/dports/multimedia/xine-lib/Portfile	2012-05-21 17:38:52 UTC (rev 93398)
+++ trunk/dports/multimedia/xine-lib/Portfile	2012-05-21 19:14:46 UTC (rev 93399)
@@ -35,6 +35,9 @@
             port:xorg-libXvMC \
             port:xorg-xcb-util
 
+# fix "error: empty character constant"
+patchfiles  src_demuxers_demux_qt.c.diff
+
 # bad register name `%rax'
 universal_variant       no
 

Added: trunk/dports/multimedia/xine-lib/files/src_demuxers_demux_qt.c.diff
===================================================================
--- trunk/dports/multimedia/xine-lib/files/src_demuxers_demux_qt.c.diff	                        (rev 0)
+++ trunk/dports/multimedia/xine-lib/files/src_demuxers_demux_qt.c.diff	2012-05-21 19:14:46 UTC (rev 93399)
@@ -0,0 +1,13 @@
+--- src/demuxers/demux_qt.c.orig	2012-02-04 11:41:43.000000000 +1100
++++ src/demuxers/demux_qt.c	2012-05-22 05:09:52.000000000 +1000
+@@ -130,8 +130,9 @@ typedef unsigned int qt_atom;
+ #define RMVC_ATOM QT_ATOM('r', 'm', 'v', 'c')
+ #define QTIM_ATOM QT_ATOM('q', 't', 'i', 'm')
+ 
+-/* placeholder for cutting and pasting */
++/* placeholder for cutting and pasting
+ #define _ATOM QT_ATOM('', '', '', '')
++*/
+ 
+ #define ATOM_PREAMBLE_SIZE 8
+ #define PALETTE_COUNT 256
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120521/d510f585/attachment.html>


More information about the macports-changes mailing list