Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2014 03:28:33 +0000 (UTC)
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350287 - head/emulators/mednafen/files
Message-ID:  <201404060328.s363SXLT049532@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Sun Apr  6 03:28:33 2014
New Revision: 350287
URL: http://svnweb.freebsd.org/changeset/ports/350287
QAT: https://qat.redports.org/buildarchive/r350287/

Log:
  - Fix build with GCC

Modified:
  head/emulators/mednafen/files/patch-src-snes-src-lib-nall_property.hpp

Modified: head/emulators/mednafen/files/patch-src-snes-src-lib-nall_property.hpp
==============================================================================
--- head/emulators/mednafen/files/patch-src-snes-src-lib-nall_property.hpp	Sun Apr  6 03:26:38 2014	(r350286)
+++ head/emulators/mednafen/files/patch-src-snes-src-lib-nall_property.hpp	Sun Apr  6 03:28:33 2014	(r350287)
@@ -1,11 +1,14 @@
---- src/snes/src/lib/nall/property.hpp	2014-04-05 16:03:07.000000000 -0500
-+++ src/snes/src/lib/nall/property.hpp	2014-04-05 16:03:17.000000000 -0500
-@@ -61,7 +61,7 @@
+--- src/snes/src/lib/nall/property.hpp	2013-08-31 16:33:30.000000000 -0500
++++ src/snes/src/lib/nall/property.hpp	2014-04-05 18:58:31.000000000 -0500
+@@ -61,7 +61,11 @@
        operator T&() { return value; }
        const T& operator=(const T& value_) { return value = value_; }
        T value;
--      friend class traits<C>::type;
++#if defined(__clang__)
 +      friend typename traits<C>::type;
++#else
+       friend class traits<C>::type;
++#endif
      };
  
      template<typename T> struct writeonly {



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