svn commit: r460322 - head/x11-themes/kde4-style-oxygen-transparent/files

David Naylor dbn at FreeBSD.org
Mon Jan 29 18:44:39 UTC 2018


Author: dbn
Date: Mon Jan 29 18:44:38 2018
New Revision: 460322
URL: https://svnweb.freebsd.org/changeset/ports/460322

Log:
  x11-themes/kde4-style-oxygen-transparent: fix compilation with Clang 6
  
  This also fixes the compilation with GCC 7.  The error is:
  
  	error: comparison between pointer and integer
  	('unsigned char *' and 'XID' (aka 'unsigned long'))
  
  Reported by:	pkg-fallout

Added:
  head/x11-themes/kde4-style-oxygen-transparent/files/
  head/x11-themes/kde4-style-oxygen-transparent/files/patch-libs_oxygenhelper.cpp   (contents, props changed)

Added: head/x11-themes/kde4-style-oxygen-transparent/files/patch-libs_oxygenhelper.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-themes/kde4-style-oxygen-transparent/files/patch-libs_oxygenhelper.cpp	Mon Jan 29 18:44:38 2018	(r460322)
@@ -0,0 +1,11 @@
+--- libs/oxygenhelper.cpp.orig	2018-01-29 16:36:56 UTC
++++ libs/oxygenhelper.cpp
+@@ -1117,7 +1117,7 @@ namespace Oxygen
+             &data);
+ 
+         // finish if no data is found
+-        if( data == None || n != 1 ) return false;
++        if( data == NULL || n != 1 ) return false;
+         else return *data;
+ 
+     }


More information about the svn-ports-all mailing list