From nobody Mon May 08 16:33:29 2023 X-Original-To: dev-commits-ports-all@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 4QFRgG19rwz4B687; Mon, 8 May 2023 16:33:30 +0000 (UTC) (envelope-from git@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 4QFRgG0cWJz3j3h; Mon, 8 May 2023 16:33:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683563610; 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=fN6Z+9/fWyrw85yWlaqf4CoLp/FmSC+bG2MPC01wsTQ=; b=ysMTM1iRTuETWvKevkHtp87GRbuTplEsqbLWDMpBMcXxvxLVppAc5y6UKWXM233pcJ+atL z+48Jrnq0m4HsFti7mS0ynaI1AyIX2G+Lk0YITQq7seF5UXBXlPWGicoe7wBGs7JdB61Lv M5jQkqLz5noAii60d3Rw3l11dGrRZx04T1Hn7eJ6mQzewCTTK06jgF6KZF8BYDHgypcFn9 q6125j9+Gu5lsOA7eBwr501hS2N1BCvpeyjOxVvYkancoV8eO3TEP+8BnhjdfWqPPabBIQ m7K8z3rulnuzozcSif5yDnAgvJguBBQQ9HVn0tu09ozgEImigOZjL/D3DyYtIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683563610; 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=fN6Z+9/fWyrw85yWlaqf4CoLp/FmSC+bG2MPC01wsTQ=; b=mbjVPhzkLjiqMic5j9geq0S4u1Cx+dc7Fu8cTj1PDLYxlBfG2OKbiMX6CTJQdiU8N1b0pU QdwCJi0adontlTtqXtOe6OtsXaw/2uKoHT0TJiyzkhfvVKatcjtZm5iQ4L50fvxQfVMpFY 0HYylZYagJZJHFRP9UOxGkiiuC+sOo2AjljtNi0HWpV0PEIMXnW998tOCKFJUvNRBFwmZA FSxm1ca4JptDpkBd9RBhTMDaMTh3q84gKMDU/e5jJ9eB3LYeEEKF1F0bCbRv3Sq4nPUhLY xNvSsyhYgfFRjaAHAhzi/kY3Nq2sp4FsrRX+t4VsBZB1lLr+cEOjPvo2xwuB1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683563610; a=rsa-sha256; cv=none; b=jJ4FLOmEb7DxoDDMjuH/Iem8OgFSb/sJOFLYcoPkWBRJirOxqMs3P7ZkcTzZ42XFc5Xd/F mpExVs0hT4wZ5bBED/aU62aaVT/n+Rs5qlqeY8l2xgFRr/f9f97C2EBFtTj75rnQQZShj0 7xVjlOGs/ylMf3Wsf06Ju0lW+xLKhlqN24nu7AfhaSSvGcYBkxQfiQ71Vdui4GT/fvyYri f8dguBsMSDHzhLOKWQDnHx9WplQ6Qlc/9Bd1aDIO3oOw08gVew9h77R6XD4ptjU15cbvSy Vf/kgQrGfFBFm1H1mVujRcyze0EyllrOExrXmPXww6EkJNh6EJmgYsVA5nJYIg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4QFRgF6q2Kz174L; Mon, 8 May 2023 16:33:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 348GXT64058504; Mon, 8 May 2023 16:33:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 348GXT7U058503; Mon, 8 May 2023 16:33:29 GMT (envelope-from git) Date: Mon, 8 May 2023 16:33:29 GMT Message-Id: <202305081633.348GXT7U058503@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 934488354fa4 - 2023Q2 - graphics/xpaint: Fix build in current (llvm15) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q2 X-Git-Reftype: branch X-Git-Commit: 934488354fa45ff74cdac42e47c37701ccb77953 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q2 has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=934488354fa45ff74cdac42e47c37701ccb77953 commit 934488354fa45ff74cdac42e47c37701ccb77953 Author: Helge Oldach AuthorDate: 2023-05-08 14:02:01 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-05-08 16:28:38 +0000 graphics/xpaint: Fix build in current (llvm15) PR: 270930 Reported by: freebsd@oldach.net (maintainer) (cherry picked from commit f61b4dc8d512f35101ee052f1193a7a30fba66cc) --- graphics/xpaint/files/patch-rw_readWriteJP2K.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/graphics/xpaint/files/patch-rw_readWriteJP2K.c b/graphics/xpaint/files/patch-rw_readWriteJP2K.c new file mode 100644 index 000000000000..9f12f3a78759 --- /dev/null +++ b/graphics/xpaint/files/patch-rw_readWriteJP2K.c @@ -0,0 +1,11 @@ +--- rw/readWriteJP2K.c.orig 2023-05-08 13:59:30 UTC ++++ rw/readWriteJP2K.c +@@ -69,7 +69,7 @@ ReadJP2K(char *file_name) + int i, j, k, l, w, h, w0, nc, step, delta, shift, bpp; + int *src, codec = CODEC_JP2; + +- if ((fp = fopen(file_name, "rb")) == NULL) return (-1); ++ if ((fp = fopen(file_name, "rb")) == NULL) return (Image *)(-1); + + /* Read in the entire file */ + fseek(fp, 0, SEEK_END);