From owner-svn-ports-all@freebsd.org Mon Jan 29 18:44:38 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7CC3ED75AB; Mon, 29 Jan 2018 18:44:38 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8940480528; Mon, 29 Jan 2018 18:44:38 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7FC484307; Mon, 29 Jan 2018 18:44:38 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0TIicEQ012588; Mon, 29 Jan 2018 18:44:38 GMT (envelope-from dbn@FreeBSD.org) Received: (from dbn@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0TIicnZ012587; Mon, 29 Jan 2018 18:44:38 GMT (envelope-from dbn@FreeBSD.org) Message-Id: <201801291844.w0TIicnZ012587@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbn set sender to dbn@FreeBSD.org using -f From: David Naylor Date: Mon, 29 Jan 2018 18:44:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460322 - head/x11-themes/kde4-style-oxygen-transparent/files X-SVN-Group: ports-head X-SVN-Commit-Author: dbn X-SVN-Commit-Paths: head/x11-themes/kde4-style-oxygen-transparent/files X-SVN-Commit-Revision: 460322 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 18:44:39 -0000 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; + + }