From nobody Sun Jun 02 05:36:39 2024 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 4VsQZw3hxfz5M5Zh; Sun, 02 Jun 2024 05:36:40 +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 4VsQZv6xjcz4WNd; Sun, 2 Jun 2024 05:36:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717306600; 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=2E45gjoLw1t+M6rLOlwThdRAYfRxqKx7HXSs8GwM2gU=; b=S9eTwXUpcFQJ8KbOlrvQJCEEH/XO4oaiTL2QskU+Q4XRszqEyT28u9rU+zMm7K/UF+3G9+ HcAY0jlqqr2skxLLQRFSjpGIMSm8icp17pfyWQmuqCf6vk0HiKYbt1nXtXOUyPJymbp1kV vYvARbxQiyh/aBS5lnVgJ0M0N1Qq9gPzPeytcaXvjRFKhXvRWS7tu6UtfCjLDnm1q+nUdQ TpukLw8Kc65lAgoZsC99vzZAHSyKzdNL+9n36ay4/yOPiI2r7SdKLHoyD6j4d+7SU2H01k KdAv9xXvW1uqkSHf7fRWhjwgWhmvJleRWRzr+cCbKc5o9mBqTXAEZlmqx2Bbdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717306600; a=rsa-sha256; cv=none; b=ZPED2BgLyv0FbusTI9G+KJuYMcx7OloJ17QlFxUyOhvKkcR25bQQ2jDTOwBCbcj+hadkYJ JWG/07jPBkjzo93sKPPQgx1oR95TSjXvbIOAqMonK+iZDc6AuqXbCbecA9XAcyYTVQ7auG 1usPxrHHgs9R1xITNlbLQS/ixigjFZRC96E36Zautey3dWiDTwzkH0PhV3mi9O+X4zBeU3 IjuV0ox6N31/B/iXOvX+5HDWMs5KzpDJxObsSMRslMDFspJJDqAuFAIjOGxJzSzCeh70gr KUf3+vNpg+ns+K/Hly80NeGoq1m9HY3UyOQVMJJNGT2SogKJUJX+fd4SOUt/aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717306600; 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=2E45gjoLw1t+M6rLOlwThdRAYfRxqKx7HXSs8GwM2gU=; b=iRDbt1nlPTeUrH41N4vPYFL+L60MFqFvovDCMDmXp6BqEGI+gyhzzcyuxqhcArSHTOfTPE N2DktiwszI4g06ToNX6424ayJFTMyhUGItfg8tbKACFyjrJbna6r6CjehmsMTIjRErGgdf jaTz0+Se2qcG3/ykxKa2C4PlTFju1fDthDax5D+kIctbgpmfd93v9ruNRicfDVIqkqqBR2 f7mjcx15xSZwo6QX85dOKKBKr+P5U1KXIthp4LJ/mw4vJcgDG0XZu3VKizsvMJxeRMPFWv JSKVobQMbRaZg7DvobGfWhtp5Rub3hqv7fhwMVuxRBdy+2HXLbcHJb6hYes66Q== 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 4VsQZv4sb8zfXt; Sun, 2 Jun 2024 05:36:39 +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 4525adsc013139; Sun, 2 Jun 2024 05:36:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4525adTi013136; Sun, 2 Jun 2024 05:36:39 GMT (envelope-from git) Date: Sun, 2 Jun 2024 05:36:39 GMT Message-Id: <202406020536.4525adTi013136@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 66318d0a56a8 - main - net/hostapd: Fix 15-CURRENT 108de784513d build 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 66318d0a56a837820885398a68c9a86a4dc13cd5 Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=66318d0a56a837820885398a68c9a86a4dc13cd5 commit 66318d0a56a837820885398a68c9a86a4dc13cd5 Author: Cy Schubert AuthorDate: 2024-06-02 05:23:30 +0000 Commit: Cy Schubert CommitDate: 2024-06-02 05:32:10 +0000 net/hostapd: Fix 15-CURRENT 108de784513d build On FreeBSD systems without 108de784513d the old definition will be used while on 108de784513d and newer the duplicate case will be removed. Obtained from: src 676041c41ba5 Discussed with: imp --- net/hostapd/files/patch-src_utils_os__unix.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/net/hostapd/files/patch-src_utils_os__unix.c b/net/hostapd/files/patch-src_utils_os__unix.c new file mode 100644 index 000000000000..860682df6e05 --- /dev/null +++ b/net/hostapd/files/patch-src_utils_os__unix.c @@ -0,0 +1,15 @@ +--- src/utils/os_unix.c.orig 2022-01-16 12:51:29.000000000 -0800 ++++ src/utils/os_unix.c 2024-06-01 22:20:49.333716000 -0700 +@@ -103,10 +103,12 @@ + break; + #endif + #ifdef CLOCK_MONOTONIC ++#if !(defined(CLOCK_BOOTTIME) && CLOCK_BOOTTIME == CLOCK_MONOTONIC) + case CLOCK_MONOTONIC: + clock_id = CLOCK_REALTIME; + break; + #endif ++#endif + case CLOCK_REALTIME: + return -1; + }