[93899] trunk/dports/multimedia/VLC

jeremyhu at macports.org jeremyhu at macports.org
Sun Jun 3 11:40:51 PDT 2012


Revision: 93899
          https://trac.macports.org/changeset/93899
Author:   jeremyhu at macports.org
Date:     2012-06-03 11:40:50 -0700 (Sun, 03 Jun 2012)
Log Message:
-----------
VLC: Build fix for XCode 3.2.3

Modified Paths:
--------------
    trunk/dports/multimedia/VLC/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/VLC/files/PR-34741-no__clang_version__.patch

Modified: trunk/dports/multimedia/VLC/Portfile
===================================================================
--- trunk/dports/multimedia/VLC/Portfile	2012-06-03 18:10:33 UTC (rev 93898)
+++ trunk/dports/multimedia/VLC/Portfile	2012-06-03 18:40:50 UTC (rev 93899)
@@ -58,6 +58,7 @@
 patchfiles \
     buildfix-package.mak.patch \
     configure.ac-no-arch.patch \
+    PR-34741-no__clang_version__.patch \
     no-sparkle.patch
 
 post-patch {

Added: trunk/dports/multimedia/VLC/files/PR-34741-no__clang_version__.patch
===================================================================
--- trunk/dports/multimedia/VLC/files/PR-34741-no__clang_version__.patch	                        (rev 0)
+++ trunk/dports/multimedia/VLC/files/PR-34741-no__clang_version__.patch	2012-06-03 18:40:50 UTC (rev 93899)
@@ -0,0 +1,16 @@
+--- ./modules/gui/macosx/about.m.orig	2012-06-03 11:19:43.000000000 -0700
++++ ./modules/gui/macosx/about.m	2012-06-03 11:22:22.000000000 -0700
+@@ -94,9 +94,11 @@ static VLAboutBox *_o_sharedInstance = n
+ 
+         /* setup the creator / revision field */
+         NSString *compiler;
+-#ifdef __clang__
++#ifdef __clang_version__
+         compiler = [NSString stringWithFormat:@"clang %s", __clang_version__];
+-#elif __llvm__
++#elif defined(__clang__)
++        compiler = [NSString stringWithFormat:@"clang"];
++#elif defined(__llvm__)
+         compiler = [NSString stringWithFormat:@"llvm-gcc %s", __VERSION__];
+ #else
+         compiler = [NSString stringWithFormat:@"gcc %s", __VERSION__];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120603/2ceee24c/attachment.html>


More information about the macports-changes mailing list