From owner-svn-ports-all@freebsd.org Tue Sep 19 18:51:28 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A3DAE248A8; Tue, 19 Sep 2017 18:51:28 +0000 (UTC) (envelope-from cpm@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 mx1.freebsd.org (Postfix) with ESMTPS id 390C86795E; Tue, 19 Sep 2017 18:51:28 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8JIpRnd097273; Tue, 19 Sep 2017 18:51:27 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8JIpREk097272; Tue, 19 Sep 2017 18:51:27 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201709191851.v8JIpREk097272@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Tue, 19 Sep 2017 18:51:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450155 - head/net-im/sayaka/files X-SVN-Group: ports-head X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: head/net-im/sayaka/files X-SVN-Commit-Revision: 450155 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.23 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: Tue, 19 Sep 2017 18:51:28 -0000 Author: cpm Date: Tue Sep 19 18:51:27 2017 New Revision: 450155 URL: https://svnweb.freebsd.org/changeset/ports/450155 Log: net-im/sayaka: unbreak build with vala 0.36 checking SixelConverter.vala and objdir/SixelConverter.c .. SixelConverter.vala:93.23-93.23: error: The type name `i' could not be found uint8 R = (uint8)((i ) & 0x01) * 255; ^ SixelConverter.vala:134.23-134.23: error: The type name `i' could not be found uint8 R = (uint8)((i ) & 0x01); ^ SixelConverter.vala:156.30-156.30: error: The type name `i' could not be found Palette[i, 2] = (uint8)(((i ) & 0x03) * 255 / 3); ^ Compilation failed: 3 error(s), 0 warning(s) PR: 222028 Submitted by: cpm Approved by: IWAMOTO Kouichi (maintainer timeout, 16 days) Added: head/net-im/sayaka/files/ head/net-im/sayaka/files/patch-SixelConverter.vala (contents, props changed) Added: head/net-im/sayaka/files/patch-SixelConverter.vala ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/sayaka/files/patch-SixelConverter.vala Tue Sep 19 18:51:27 2017 (r450155) @@ -0,0 +1,29 @@ +--- SixelConverter.vala.orig 2016-09-25 11:53:37 UTC ++++ SixelConverter.vala +@@ -90,7 +90,7 @@ public class SixelConverter + public void SetPaletteFixed8() + { + for (int i = 0; i < 8; i++) { +- uint8 R = (uint8)((i ) & 0x01) * 255; ++ uint8 R = (uint8)((i >> 0) & 0x01) * 255; + uint8 G = (uint8)((i >> 1) & 0x01) * 255; + uint8 B = (uint8)((i >> 2) & 0x01) * 255; + +@@ -131,7 +131,7 @@ public class SixelConverter + // ANSI 16 色といっても色実体は実装依存らしい。 + + for (int i = 0; i < 16; i++) { +- uint8 R = (uint8)((i ) & 0x01); ++ uint8 R = (uint8)((i >> 0) & 0x01); + uint8 G = (uint8)((i >> 1) & 0x01); + uint8 B = (uint8)((i >> 2) & 0x01); + uint8 I = (uint8)((i >> 3) & 0x01); +@@ -153,7 +153,7 @@ public class SixelConverter + for (int i = 0; i < 256; i++) { + Palette[i, 0] = (uint8)(((i >> 5) & 0x07) * 255 / 7); + Palette[i, 1] = (uint8)(((i >> 2) & 0x07) * 255 / 7); +- Palette[i, 2] = (uint8)(((i ) & 0x03) * 255 / 3); ++ Palette[i, 2] = (uint8)(((i >> 0) & 0x03) * 255 / 3); + } + PaletteCount = 256; + }