From owner-freebsd-ppc@freebsd.org Sun Aug 20 06:27:13 2017 Return-Path: Delivered-To: freebsd-ppc@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 EEE16DE24F5 for ; Sun, 20 Aug 2017 06:27:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C33CA753DD for ; Sun, 20 Aug 2017 06:27:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 270091D769; Sun, 20 Aug 2017 06:27:13 +0000 (UTC) Delivered-To: freebsd-powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 0CAA61D768 for ; Sun, 20 Aug 2017 06:27:13 +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 3868D753D8 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 v7K6RBba048845 for ; Sun, 20 Aug 2017 06:27:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-powerpc@FreeBSD.org Subject: [Bug 221640] sysutils/consolekit2 Date: Sun, 20 Aug 2017 06:27:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: solence@zoho.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 06:27:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221640 Bug ID: 221640 Summary: sysutils/consolekit2 Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: solence@zoho.eu CC: freebsd-powerpc@FreeBSD.org CC: freebsd-powerpc@FreeBSD.org Assignee: gnome@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=