From nobody Wed Aug 09 13:04:50 2023 X-Original-To: dev-commits-ports-main@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 4RLVdb0t3qz4pxPr; Wed, 9 Aug 2023 13:04:51 +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 4RLVdZ4zbFz4G0D; Wed, 9 Aug 2023 13:04:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586290; 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=HTPmoRsJCKBXH7pMac1+k9LlYKCc2gOT0rrRVPZWGmM=; b=iQNZbEgCjgyXWLWQGGQneLSMCfDb6ynWWg2OOW+xzydO0BLHJhizIYnQUuF+lorEAbbqva a5IdWyDUagzlbjPrnyISVbUlPcRKHgL3T3Sh04ZvZkQ0p463H/eN2zL7/aKoghkt5aYw7j KlfNgQqJX97kxRpE1my6p7WFJQSTPohqr2y0otHh0Ai3zyfDNwbN7uWjo3wTAHRtxPY4Ra 6tZho1huorFXMhLm6GTSa+ITKUWWw1rcx/4/eJlMhQGB3kutFy6pAk/pE95D3y9fn649Go 7tay+Gi+CCQothrv4tn5Jt4RsbF31zcuLeJJm1Tb5UI7aReHca+XDdvI7awwYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691586290; 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=HTPmoRsJCKBXH7pMac1+k9LlYKCc2gOT0rrRVPZWGmM=; b=i1LdNkX8C5TH8FFIClLscmUfnUElHiXxeuVJcJbYp1VrqDHUv5TWVHXMA06muDA13LeWo8 WqZDbIJd1Bnw8fRo8Q4JcjmC/9V+LY1PLAjz4cTuLOkOnlw4F6iUF4vqOpo7mRck7MMHMV EdAFj3JhnEtYoPV1h4u7uFwOA/AHjPwJiCwNUr4SUNB3tBxacJUW/EXqaKwyaQ1KntfRHo NfkILjtm2g++Z/xbLus9UdeLagfOVIJicKsCFBYifJnj/Jw0A/n2T0/Plqa9av9xDTnS3A G5bNPAE6+gBBO0teJAbQrVb8ak+/LR03pD4hzPOCknNpRJWbvmijwCwGkMTwJw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691586290; a=rsa-sha256; cv=none; b=p3VLMM5AP/KIuc7kQfwzDa6PJtxY2zVvkcK+CGQOOz23qzN5/ucJTbPEQpXTbMbD0461Vc 8Ovq1lEosN6m3waJxgbpIEUKbxCzb7cwAm9DCZ9zP/OAJNsKbAElA7XTb81N2u8O1M2IsB cQUGRCgjhB0kplwEQ+x1p2EzfLZPsJGUZpIL9FIdOwg+LJdZVKBShnqAx8lebWpzh0bTKS U2XIhfDvLQN8BFUwesZLpnrao3Qi0ri4XUONeuYrYcai29PH/0/X3Ppy2UPILlBalfxRi5 8ezaXAYybq3ShHpVH3zw5K2kVDpkTuqLMYJYZhPSynrLLVJ86w4/t1L5W7Glag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RLVdZ43X8z2H8; Wed, 9 Aug 2023 13:04:50 +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 379D4oIH090720; Wed, 9 Aug 2023 13:04:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 379D4oCp090717; Wed, 9 Aug 2023 13:04:50 GMT (envelope-from git) Date: Wed, 9 Aug 2023 13:04:50 GMT Message-Id: <202308091304.379D4oCp090717@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: f5fac239219b - main - sysutils/testdisk: fix build with NTFS option List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f5fac239219bdd6b380b7bad35be559d29871ef1 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=f5fac239219bdd6b380b7bad35be559d29871ef1 commit f5fac239219bdd6b380b7bad35be559d29871ef1 Author: Robert Clausecker AuthorDate: 2023-08-08 15:16:01 +0000 Commit: Robert Clausecker CommitDate: 2023-08-09 13:01:36 +0000 sysutils/testdisk: fix build with NTFS option A benign type mismatch in a function pointer only used when compiled with the NTFS option was disagreeable to LLVM 16. Patch things over by correcting the signature. Reported by: Ale PR: 272982 MFH: 2023Q3 --- sysutils/testdisk/files/patch-src_ntfs__io.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sysutils/testdisk/files/patch-src_ntfs__io.c b/sysutils/testdisk/files/patch-src_ntfs__io.c new file mode 100644 index 000000000000..d7d05472edb5 --- /dev/null +++ b/sysutils/testdisk/files/patch-src_ntfs__io.c @@ -0,0 +1,11 @@ +--- src/ntfs_io.c.orig 2023-08-08 15:12:08 UTC ++++ src/ntfs_io.c +@@ -154,7 +154,7 @@ static int ntfs_device_testdisk_io_stat(struct ntfs_de + return -1; + } + +-static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, ++static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, unsigned long request, + void *argp) + { + log_warning( "ntfs_device_testdisk_io_ioctl() unimplemented\n");