From nobody Sat Jul 30 16:39:39 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lw98X0bBlz4Y7dn for ; Sat, 30 Jul 2022 16:39:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lw98W6HmGz3Dqb for ; Sat, 30 Jul 2022 16:39:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lw98W5DY5zLtC for ; Sat, 30 Jul 2022 16:39:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26UGddtH093837 for ; Sat, 30 Jul 2022 16:39:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26UGddYT093836 for ports-bugs@FreeBSD.org; Sat, 30 Jul 2022 16:39:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265521] graphics/png: fix build with clang 15 Date: Sat, 30 Jul 2022 16:39:39 +0000 X-Bugzilla-Reason: AssignedTo 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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@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 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659199179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E5Qm4jNTF05OPwnOOrLEcGsgDBPW+XskRehA5DQ76es=; b=But4igU1zPzBagw8l6kzxJSYgJVa1D2dMAc1lTDgcxVWGzgr5SEG5hfjarjuiYW+AS+4G/ ZSuy3XWaZCnl1ZW48lC5cVAlWyBwSzBqJ+0/ghEJq8fc9A2kNHdU21pVDmQ6f2/NZYoGna g/yjeDtI0z4xmlVoPh/DonwwnzwQZ8+qjRURkY4LLYktIjzvbWnsRzNcT84UwPvtsT9CUX uZskNTzhEiSF+nmtxJgiZgrwA1vdssciuEttP91VLj3puJxjcgRRE/Otq3t1+WQ+VKoGMU gPb/tYtLJ+zGp5bhYIpI6oJbxmaCmwrouvmyMcJlEifY/zkUdcx+nf/QDGUegQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659199179; a=rsa-sha256; cv=none; b=uBTc/LlLpRU9sIw+eR2ktG/UaHO+29e8H4DAvsMAM5l1ZFnHoWBrBe08DoH7Aq3+u0Iva2 PKcjSg4+yJVVrxwi4q/jdq7Koygbw9sFj4awTHLh4QNudIfMalZoCNwmBXb2HqFWaDzCra s3XsRsZ+q/pjF4OzOqxywetkxqD81kxWFAaixZ1AKn/TDyVAYKpREKJqqYll9g8Joj47rY LWIBuIh1B1kK+INw7HI14Q7rILLYv7jXu6kGp951dY1bmA2Y2XpG7YoildNN/VSrJ2Ht1H 7Q1+JHP+uXcOXDR0cC53pGGcnO4oanxYIbxXj2T3YmvLL0w6TNgg1sD1TzeVIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265521 Bug ID: 265521 Summary: graphics/png: fix build with clang 15 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: portmgr@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(portmgr@FreeBSD.org) Assignee: portmgr@FreeBSD.org During an exp-run for llvm 15 (see bug 265425), it turned out that graphics= /png fails to build with clang 15, with an error: contrib/libtests/pngvalid.c:11662:4: error: call to undeclared function 'feenableexcept'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW); ^ This is because clang 15 introduced this new warning, and fenv.h only decla= res feenableexcept() when compiling for C standards before C11. The least disruptive way to solve this is to make the port build with USE_CSTD=3Dgnu89. --=20 You are receiving this mail because: You are the assignee for the bug.=