svn commit: r350601 - head/x11-toolkits/p5-Alien-wxWidgets/files

Baptiste Daroussin bapt at FreeBSD.org
Tue Apr 8 12:22:25 UTC 2014


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 ) {


More information about the svn-ports-head mailing list