From nobody Wed Feb 15 07:51:26 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 4PGqyk5Jjbz3rSSw; Wed, 15 Feb 2023 07:51:26 +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 4PGqyk4MkJz3pF0; Wed, 15 Feb 2023 07:51:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676447486; 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=epI85g+0JFn3iXKbGnxqIGb8BS7Seyp42p1G9ohwAu4=; b=PZbOUrSJGYbLWzr/rrr71X0u1fyLdrNGdOyetYvO+iMsceqdxcLK5VdpOfD2RiXuYnElYt ieFQEcX59vjEHF/+ZmFrHKwz9iL0xXHCv4phTpsbm8ho8zgas5JqT7ppVcw0cCz/r7E2hP QXSmj6bsIm2Pb+oMOkcZygUgm+xoNoI0cKFHNLhENFm+VahIRVtLfcmM2znDk3E1QuHPn8 I8ZJLaXpsUM1OF1sp7umWY5lh0R9387sg70JFDwsa3xms6jvh8ZRc8VXwOXq6utIoXyhoL uEuBWyoTzjRHaC7HKVTUr3EQIccYwZR0nOmN8eIYG3tCI2518d+GrnxwmA6nVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676447486; 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=epI85g+0JFn3iXKbGnxqIGb8BS7Seyp42p1G9ohwAu4=; b=awCjjRUa9alqZ+zcXZfnBMKA78KhRHeEmnzwuJPXm2yel/9DVi/XvJS31iEtcZ8B9fiXPS LCRWGwcXTo4vpvf45KThFoPK6xhFxRVX1ABYXwzdYYi7L4TdjJcPsfwGZkxqUVACWsDBxl BN3u0Ysf1Yau1SnCTkRxLKiumSDzjFt5elJqFGo00ibp7GP7c7HVCBUCzW9QhYm2h0k3kk xAieNiemDQMjYaBh2bKmT6G6yFyKVzm0HRizMsapqO+dJMO1cZ6v8KxuFprhMCEvnMuFdQ 38+mE9IhOvS+Ym3eiw3KVjZk8HJgQAYEf0hKGwh6SL9A0aqZTVsKX4wOX7qCJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676447486; a=rsa-sha256; cv=none; b=bl2y93e62eeaGkvThP7twztWlcAJoc5yW7V6ab/l2hLFfQ+kLfaNAPSLxq0dEKwi6MNvOG 7MXaa49mcELsVwzufnvkeKNYo/ml+wHQfkFvz6OkNHPFSyWerKbpF4FFH6+eM8KCtplxew pjPaO85f4+BZOhPtK/jBgf5GhtQFx7iiGsV36/Oh7cYyNPuODP8qk+J3lwF3xD6IXoQaK/ 40pQa6TgTYuaTiEVVi3V+anHZgtHZzC08gFGK4YUrErJx8qkh2uwxtx71jXl5GH2t0t8bX 1W3h5EShCP1SVkPVGby5CEjtPhYMHNFoEe8za1/VMLIOlz8tXo0cm4GcMx2Dpg== 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 4PGqyk3RB0zGm6; Wed, 15 Feb 2023 07:51:26 +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 31F7pQhH041507; Wed, 15 Feb 2023 07:51:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31F7pQ3I041506; Wed, 15 Feb 2023 07:51:26 GMT (envelope-from git) Date: Wed, 15 Feb 2023 07:51:26 GMT Message-Id: <202302150751.31F7pQ3I041506@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 690c40fa2b41 - main - editors/biew: unbreak the port's build against Clang 15 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 690c40fa2b416c3b777c89f16b358b6c02490066 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=690c40fa2b416c3b777c89f16b358b6c02490066 commit 690c40fa2b416c3b777c89f16b358b6c02490066 Author: Alexey Dokuchaev AuthorDate: 2023-02-15 07:50:46 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-02-15 07:50:46 +0000 editors/biew: unbreak the port's build against Clang 15 This quite old and obscure codebase typedefs its own `bhandle_t' type as `void *' on 64-bit machines for some reason, feeding it to POSIX file I/O functions that accept `int' as file descriptor regardless of the machine word size. Remove this conditional. Reported by: pkg-fallout --- editors/biew/files/patch-biewlib_sysdep_____os__dep.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/editors/biew/files/patch-biewlib_sysdep_____os__dep.h b/editors/biew/files/patch-biewlib_sysdep_____os__dep.h new file mode 100644 index 000000000000..5d1a0b83e4d1 --- /dev/null +++ b/editors/biew/files/patch-biewlib_sysdep_____os__dep.h @@ -0,0 +1,14 @@ +--- biewlib/sysdep/__os_dep.h.orig 2009-10-16 13:50:47 UTC ++++ biewlib/sysdep/__os_dep.h +@@ -364,11 +364,7 @@ extern void __FASTCALL__ __OsRestoreTimer(void); + #define FILESIZE_MAX ULONG_MAX + #endif + +-#if __WORDSIZE >= 64 +-typedef void* bhandle_t; +-#else + typedef int bhandle_t; +-#endif + #define NULL_HANDLE ((bhandle_t)-1) + + /** Closes opened stream