From nobody Mon May 08 16:32:12 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 4QFRdn0PNpz4B5p9; Mon, 8 May 2023 16:32:13 +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 4QFRdm2p6jz3hjH; Mon, 8 May 2023 16:32:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683563532; 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=CJq+nCVr9Xs6J3yE3inKRgIT87i6rUST+PPYdj7/MHM=; b=qlH8uhiYy7aeOM6kqn+BFdwD9ereSlpS0pIlQEF3yOLL2Py0W7SCqjqBG8rUQuw7Tx6QL6 B3ZzibGPXKj/pCKNUXsRvBqJdpxCq3tn1mYQkU93+ThSEDBHh1tIuxcIao4FPdDBHWNLEB CQmO1mQ+AUc+LdWGktawIU+tQTyVBWtuGPW4KW97Ch4/CKzTEe6Tn34OLpJ3/4FdaCwVwl eVByCnkqmzmj3YGdCuuMwVLS/ocAU/kJthCwUBwb8tsqd2nSpF+FiNNKozFsFRO3H77NWD sp+E3f2dWUjt7nLIt95lMOinFmjJF3Uwwu/zeGQvO3G1lD2bfpHB7QxCr2memQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683563532; 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=CJq+nCVr9Xs6J3yE3inKRgIT87i6rUST+PPYdj7/MHM=; b=MCKf3rVkS/qxLHdHW6uk3eVoSrocbLDIPvk5ZHqiLXk2wbSlluR65Sm6uUy121O1xDubOj G5AUD6wDTvjveGhStxvH4lawe1l/7YjZUeL/hy7ptzs8jfx0Spq6L0znaJDKY5ukadG2mJ bLBzownT8VnOhSthNRQQtiXXbwHWlLqEUk+1ZYhv3ARd1yP7vL/nK0N9DXgVyN52fIsZ/H 0t4v4BJe+K+8CWpwfq/4vFc6c+5Fv8BAgLIojOHdLb+1j7fDdLpvml9q5rmbP/+FCeAnRd 36nlkXrykGMAt8nSMJaD7xc4YaPcU4jGq2RkY/XWq2dHlDq0svt3efGUZ9Ltjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683563532; a=rsa-sha256; cv=none; b=b7Pa5h7p4vp8Lj5MdpVz3ezzuBHyUExK/t36pbK5wMC92P3k7AGg19E3IpQ+qkQ6caUdV1 eF9n9FkjloKUfZfvBmtLsoUkRQO87c8hGZfv1nE/INl8QeOSJHyOzhOd5Z/tsJQJ1JV4Qp h1YyejXMfWxpL4zH3QU4e/MlmQeYCS1o4DIEyjYVxTIAwIU99lXlv6uxbMONnLr7A4C4Gx GHqRg+5SWiaFT3cLwEBLy20t0dOQ0Q3YjCIGo9F+FFPw8YNi+uC7CFCiQX6riQmokgJKdl lTaT7rYqfc4D+IMi4Oxlvt63Bx7XY96jc2HnNbGIYL2MkNcB+Ope5MAfWXig7w== 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 4QFRdm1t80z16t1; Mon, 8 May 2023 16:32:12 +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 348GWCnW057307; Mon, 8 May 2023 16:32:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 348GWC9M057306; Mon, 8 May 2023 16:32:12 GMT (envelope-from git) Date: Mon, 8 May 2023 16:32:12 GMT Message-Id: <202305081632.348GWC9M057306@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: f61b4dc8d512 - main - 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/main X-Git-Reftype: branch X-Git-Commit: f61b4dc8d512f35101ee052f1193a7a30fba66cc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=f61b4dc8d512f35101ee052f1193a7a30fba66cc commit f61b4dc8d512f35101ee052f1193a7a30fba66cc Author: Helge Oldach AuthorDate: 2023-05-08 14:02:01 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-05-08 16:27:19 +0000 graphics/xpaint: Fix build in current (llvm15) PR: 270930 Reported by: freebsd@oldach.net (maintainer) --- 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);