[124900] trunk/dports/lang/llvm-3.3/files/ 0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch

jeremyhu at macports.org jeremyhu at macports.org
Sat Aug 30 12:39:01 PDT 2014


Revision: 124900
          https://trac.macports.org/changeset/124900
Author:   jeremyhu at macports.org
Date:     2014-08-30 12:39:01 -0700 (Sat, 30 Aug 2014)
Log Message:
-----------
llvm-3.3: Yosemite build fix

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.3/files/0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch

Modified: trunk/dports/lang/llvm-3.3/files/0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch
===================================================================
--- trunk/dports/lang/llvm-3.3/files/0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch	2014-08-30 19:38:47 UTC (rev 124899)
+++ trunk/dports/lang/llvm-3.3/files/0001-Fix-regular-expression-to-work-with-multiple-digit-v.patch	2014-08-30 19:39:01 UTC (rev 124900)
@@ -25,6 +25,18 @@
  
    LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress
    SharedLinkOptions := -dynamiclib
--- 
-2.0.1
+--- a/projects/sample/Makefile.llvm.rules.orig	2013-08-04 15:06:11.000000000 -0700
++++ b/projects/sample/Makefile.llvm.rules	2014-08-30 12:34:15.000000000 -0700
+@@ -476,9 +476,9 @@ endif
+ ifeq ($(HOST_OS),Darwin)
+   DARWIN_VERSION := `sw_vers -productVersion`
+   # Strip a number like 10.4.7 to 10.4
+-  DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/')
++  DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]+).*/\1/')
+   # Get "4" out of 10.4 for later pieces in the makefile.
+-  DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
++  DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]+).*/\1/')
+ 
+   LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress
+   SharedLinkOptions := -dynamiclib
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140830/987da589/attachment.html>


More information about the macports-changes mailing list