From nobody Fri May 19 20:16:14 2023 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 4QNJ5B6Vy5z4CKjy for ; Fri, 19 May 2023 20:16:14 +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 4QNJ5B3ctyz3NZ2 for ; Fri, 19 May 2023 20:16:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684527374; 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=ok+MZQE6+0v6ro2WF023IVVTjqP1sx8AFTQlBKkksVg=; b=gV0rduEBqqNORYI0YBrm3XPBDkeRbT5Yv0m7JrwHKZg7T+aLvJF5IaByBQ7iQtC9hNyW7t H17zCpl3OWWgzZe8uB6obtStc2wyDHB6pJA/zOBcWcBXvC8v1JZUb8CusdAPEmqP4WHsnu XdWybeAzW2MjfBb1a1Qmy9zdLJt/qP31lKSaX9j9GS3O2Qcx20RHgFgf7nG/5IjvRvHR6X 6KCo7aSTPemPASMzvshG1fRkc8aPCrxGpY/eD7m8S8ODvQscDDEl1Sl9aNPChx0Q4J8jyN WuGECXDvbAWDXhTo2yuJTrScyHDd+YOoEgFul0up1kWEOF403ZiWu6SYa81NLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684527374; a=rsa-sha256; cv=none; b=wsKa9DxzTPoX/1/URvS7Am0DQd0V7qS9Ci5nXJcVNgWLDgPysV1pc0lz3RuFeQptuAzrQB kugDb5+V6+t970aOxZl54DW7WQJI4igV20d86QRwQX2Y7BS9AWvdkHrTiGOAaanbxhmEJ7 CN32193wyCB8HtHyup8hCLMbSgZsz/YM3lAK20nqQZrjMSyjVVPSEVHw7eLthGdQHqe4mJ f0biEouKzsMJcEj0oVv0xQ5nmQDVner3FZCNuHD+haOCO/wmmjsmZ7z0mX8H5wAavetE4V SPQAcOUoZAkkVSOmHtv5WFhIt+Q99nD7iUBtHDxLEgF23vwfD2WcDyijoeqyTw== 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 4QNJ5B2ZQszhQN for ; Fri, 19 May 2023 20:16:14 +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 34JKGEP9034726 for ; Fri, 19 May 2023 20:16:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34JKGEUQ034725 for ports-bugs@FreeBSD.org; Fri, 19 May 2023 20:16:14 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 271520] graphics/sdl_image: fix build with clang 16 Date: Fri, 19 May 2023 20:16:14 +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: amdmi3@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271520 Bug ID: 271520 Summary: graphics/sdl_image: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: amdmi3@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(amdmi3@FreeBSD.org) Assignee: amdmi3@FreeBSD.org Clang 16 has a new error about incompatible function types, which shows up when building graphics/sdl_image: IMG_png.c:266:30: error: incompatible function pointer types assigning to 'png_infop (*)(png_structp)' (aka 'struct png_info_def *(*)(struct png_struct_def *)') from 'png_infop (png_const_structrp)' (aka 'struct png_info_def *(const struct png_struct_def *restrict)') [-Wincompatible-function-pointer-types] lib.png_create_info_struct =3D png_create_info_struct; ^ ~~~~~~~~~~~~~~~~~~~~~~ IMG_png.c:269:20: error: incompatible function pointer types assigning to 'png_uint_32 (*)(png_structp, png_infop, png_uint_32 *, png_uint_32 *, int = *, int *, int *, int *, int *)' (aka 'unsigned int (*)(struct png_struct_def *, struct png_info_def *, unsigned int *, unsigned int *, int *, int *, int *,= int *, int *)') from 'png_uint_32 (png_const_structrp, png_const_inforp, png_uint_32 *, png_uint_32 *, int *, int *, int *, int *, int *)' (aka 'unsigned int (const struct png_struct_def *restrict, const struct png_info= _def *restrict, unsigned int *, unsigned int *, int *, int *, int *, int *, int = *)') [-Wincompatible-function-pointer-types] lib.png_get_IHDR =3D png_get_IHDR; ^ ~~~~~~~~~~~~ Similar errors occur for IMG_webp.c. I backported a few changes from SDL_image 2 that fix the prototypes to be compatible with the versions of graphics/png and and graphics/webp. --=20 You are receiving this mail because: You are the assignee for the bug.=