Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 12:22:25 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350601 - head/x11-toolkits/p5-Alien-wxWidgets/files
Message-ID:  <201404081222.s38CMPDO098842@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Apr  8 12:22:24 2014
New Revision: 350601
URL: http://svnweb.freebsd.org/changeset/ports/350601
QAT: https://qat.redports.org/buildarchive/r350601/

Log:
  Add forgotten patch

Added:
  head/x11-toolkits/p5-Alien-wxWidgets/files/
  head/x11-toolkits/p5-Alien-wxWidgets/files/patch-lib__Alien__wxWidgets__Utility.pm   (contents, props changed)

Added: head/x11-toolkits/p5-Alien-wxWidgets/files/patch-lib__Alien__wxWidgets__Utility.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/p5-Alien-wxWidgets/files/patch-lib__Alien__wxWidgets__Utility.pm	Tue Apr  8 12:22:24 2014	(r350601)
@@ -0,0 +1,18 @@
+--- ./lib/Alien/wxWidgets/Utility.pm.orig	2014-03-08 15:04:14.000000000 +0100
++++ ./lib/Alien/wxWidgets/Utility.pm	2014-04-08 12:40:05.980551105 +0200
+@@ -81,6 +81,7 @@
+     my( $cc ) = @_;
+ 
+     return    scalar( awx_capture( "$cc --version" ) =~ m/g(cc|\+\+)/i ) # 3.x
++           || scalar( awx_capture( "$cc --version" ) =~ m/clang/i) # clang
+            || scalar( awx_capture( "$cc" ) =~ m/gcc/i );          # 2.95
+ }
+ 
+@@ -115,6 +116,7 @@
+ 
+     if( $is_gcc ) {
+         my $ver = awx_capture( "$cc --version" );
++        return 3.4 if ($ver =~ m/clang/i);
+         $ver =~ m/(\d+\.\d+)(?:\.\d+)?/ or return 0;
+         return $1;
+     } elsif( $is_msvc ) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404081222.s38CMPDO098842>