From owner-freebsd-gnome@freebsd.org Sun Aug 20 06:27:12 2017 Return-Path: Delivered-To: freebsd-gnome@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 38CF4DE24E4 for ; Sun, 20 Aug 2017 06:27:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 22748753D7 for ; Sun, 20 Aug 2017 06:27:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1EB38DE24E3; Sun, 20 Aug 2017 06:27:12 +0000 (UTC) Delivered-To: gnome@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 1E545DE24E2 for ; Sun, 20 Aug 2017 06:27:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 0DDD4753D6 for ; Sun, 20 Aug 2017 06:27:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7K6RBbY048845 for ; Sun, 20 Aug 2017 06:27:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 221640] sysutils/consolekit2 Date: Sun, 20 Aug 2017 06:27:12 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 06:27:12 -0000 solence@zoho.eu has reassigned Bugzilla Automation 's request for maintainer-feedback to gnome@FreeBSD.org: Bug 221640: sysutils/consolekit2 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221640 --- Description --- Building the port on PowerPC fails with two compile errors: ck-sysdeps-unix.c: In function 'ck_get_socket_peer_credentials': ck-sysdeps-unix.c:176: error: 'for' loop initial declaration used outside C= 99 mode gmake[5]: *** [Makefile:1276: ck-sysdeps-unix.lo] Error 1 ck-get-x11-display-device.c: In function 'get_tty_for_pid': ck-get-x11-display-device.c:87: error: 'for' loop initial declaration used outside C99 mode gmake[4]: *** [Makefile:996: ck-get-x11-display-device.o] Error 1 In both files, as the errors describe, is a for-loop used with an inline declaration of the iteration variable i: for (int i =3D 0; i < cnt; i++) { This should either be fixed to: int i; for (i =3D 0; i < cnt; i++) { or the appropriate compiler flags added, so this style is allowed.