From nobody Sat Jul 01 13:26:15 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 4QtXyJ4lh4z4kZFG; Sat, 1 Jul 2023 13:26:16 +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 4QtXyJ0QDGz3Fnq; Sat, 1 Jul 2023 13:26:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688217976; 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=4foDA8hWn651sqfkXOSZIU53MbNlg58KEh1Xr8QZnDE=; b=a7bt6oaOMBKWIiM02rUCkRlxL2CVEjhOzxf2/YN1BA0PKDswDMwPR//vqnAwRp42GU+/Vv ITIXxxWQrU0yVijSNe7o4Uu2DHaHwJJimZ88IIXCz2qiCmnX7zQtXXWMEnuLaNtFUbrQcC VvY/riydlFa5gYeXvavgm8oemYiF1dOd1Qx3gkaUQlTzXZq88LC0cxn6DG3KGi3E5Zz2zC IxWRLRiwHJG9lJ4DsxLoiUbAvnk6MY7fSf7b0yzhTBvPJYisRrVMVs/73BNexO/rHn9mjZ aivvEGQx9ZYO2DM2X9REId2OdPOYG09bDblSTamMzXnS0K6EHxDl1zxoXdf/bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688217976; 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=4foDA8hWn651sqfkXOSZIU53MbNlg58KEh1Xr8QZnDE=; b=NL7Uad3iyvToVeg25Nb1mdTb+9q3qb8EWi7COwGRiaLu4OcXyYmHZVvETXfvnPDA/cNKNm TdJcYlJusH2AiPXQW2xKrvmhwRX1CtoXPZMml5rSOu3vVbUN4pOoQYrPqP76rfod2vu6RD mCBeK1E6iiSGZbhqPRFi2B7OWmtDBPUFZXkXkdxKo9GRtNC7RswTAgQK1eVPgdZ4g0eu5W CYl1g40D60lPmQFxGDByttrsm5kIY1I2NA3CBDYVZc4r1skNwmgmFjhWp5c9gJak638Omd zjBIZ4N4NAjY8HA/HYMceMjXHX24MTQL+tI25IGSTdSo7iLeGayvF3QW9Zze+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688217976; a=rsa-sha256; cv=none; b=vtva+Pn5nfEUpjWV4RCHFYB5wvmPBwIv6AOQSH4n6Mg/idMpSa0rtQkqOzeFRe/iK0KW3B P/DwYVo5OOE6/iUZfo2K6lssLvf62qNuF79EkeisClG4zej431iXa5Am/tEDgo9iFZOCkU ap/evpn2BajvFsW1VDW6qco7rbj0/2ERYCrmovWmHvslAjq0+UorANZQogqd+5T43V70ol YPvCi7+WyYgGew1tijOSa7TqIXwYKCr3nR245F99+QCWNqkI0o4b+umQDxBFV3tfsw3ko6 BmbEO0tBBI75pltcpdVBJc0CMOz3YLf6p041FEODBEc/nS5WFQB3l4cXiEpS/A== 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 4QtXyH6cPkzRqT; Sat, 1 Jul 2023 13:26:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 361DQFl7071145; Sat, 1 Jul 2023 13:26:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 361DQF0j071144; Sat, 1 Jul 2023 13:26:15 GMT (envelope-from git) Date: Sat, 1 Jul 2023 13:26:15 GMT Message-Id: <202307011326.361DQF0j071144@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: 095b6e8cc851 - main - misc/magicpoint: fix build clang16 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: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 095b6e8cc851eb6240883e28f07dbbea5e30fb96 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=095b6e8cc851eb6240883e28f07dbbea5e30fb96 commit 095b6e8cc851eb6240883e28f07dbbea5e30fb96 Author: Dirk Meyer AuthorDate: 2023-07-01 13:25:58 +0000 Commit: Dirk Meyer CommitDate: 2023-07-01 13:25:58 +0000 misc/magicpoint: fix build clang16 --- misc/magicpoint/files/patch-mng.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/misc/magicpoint/files/patch-mng.c b/misc/magicpoint/files/patch-mng.c new file mode 100644 index 000000000000..4e85b27a1853 --- /dev/null +++ b/misc/magicpoint/files/patch-mng.c @@ -0,0 +1,18 @@ +--- mng.c.orig 2004-09-01 03:50:32 UTC ++++ mng.c +@@ -48,13 +48,13 @@ void mng_window_setup __P((mngstuff *mymng, int x, int + /* callbacks for the mng decoder */ + + /* memory allocation; data must be zeroed */ +-mng_ptr mymngalloc(mng_uint32 size) ++mng_ptr mymngalloc(mng_size_t size) + { + return (mng_ptr)calloc(1, size); + } + + /* memory deallocation */ +-void mymngfree(mng_ptr p, mng_uint32 size) ++void mymngfree(mng_ptr p, mng_size_t size) + { + free(p); + return;