From nobody Sun Jun 2 05:36:41 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 4VsQZy1P3Jz5M5Zj; Sun, 02 Jun 2024 05:36:42 +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 4VsQZx74swz4WZM; Sun, 2 Jun 2024 05:36:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717306602; 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=qZugbL4iErTZJByKjR+OwK7TY/w21RHvaoMxL7LMDaE=; b=f5S9KDYpN1Vy1z+pKX7FpGUau02uNd00yqvg30oL5mVyUnQ8vwxgNMcziPCjbiIIlmkSS6 HvNhqaD7oq3GI9vgEcabUz31XaKVfuqaE0MAF6LWdQY8Ogam5bf/DQHnNx/Ijux0HCXUG2 Y3rFOBh/u58m3UuEx684HOAJZXpC0H7fIZO6UR2DKN7VJ3YjNd+DgL5Cj3Qll2fCN7i5Y0 /2Bv9lCRmaBX1CmlFkgYJu49/VRL2ISQMXkP86kRxSlhUXWBNgjVlrPF8Ty6QFp1Aw8LEA MOfjWsxBCDLV0lKImsm49X0qJ/VbCZxpuaRovoPRekeZZtgp99tPsoE6PFuWfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717306602; a=rsa-sha256; cv=none; b=UA38DhxRlIdALvXQy7/JHZTgDAkahDVAbqm+d6UTgSNhWFM5e/X+eBIITtl07FFtILaC81 XvagO/BfMIROsVL0H1NOM+btEmU2yi4onPvdbwlodfvXufKC/LKLCkzilLoW+amHhDyHTz 8FZX+PdA1b+dqVknbXJB+7s4usPv5Afu2t1kB8wJBL179zdMbh1CU+JczcGZEg3XFktMTO C/DzCpGGAVFt8xMvLKuDVdECW8Hocyuu37W56gIVoXWnI71wLhbHTPGHg5lRoFRqJAtFoS 4Me/TOx4b50nJc+xF+RSeB1ONraDu1GYQfBafhgaWtGr6e/35px2FZtBliAXXg== 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=1717306602; 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=qZugbL4iErTZJByKjR+OwK7TY/w21RHvaoMxL7LMDaE=; b=c54wsF27ofyyuNlMAOxpAgIkH+GDFZDpwHt60TiDWkavhu94imL2x+ajWETSkeeZZ7d+TJ iRpkk+I3blsbF0Pu1p8zGZio6JRgLZQhN1WWCbojZe+JXM6D7X9evtQc4eYcNbcG7ccxyI yAlWsHvyCExLE/R8BrUdUaJGbdAivCFSJiErHF2mZLhxsb8vFABWYKvDJJ7mVtmZ7UzlX2 z5vkmWg8Q1rQdDQqcw285RLoiDpbPo25UF/9Rjr48fK6R6oT1saL9VZyBSzVXnbuYAwji6 7dgQseOXR/TOXEx6vANed7k4h3z4fIHJdLIckXkcwr38GirAtRP8K7SHbpRoOw== 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 4VsQZx6hdGzfZl; Sun, 2 Jun 2024 05:36:41 +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 4525af50013223; Sun, 2 Jun 2024 05:36:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4525afDg013220; Sun, 2 Jun 2024 05:36:41 GMT (envelope-from git) Date: Sun, 2 Jun 2024 05:36:41 GMT Message-Id: <202406020536.4525afDg013220@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: 9b3a778da5e1 - main - net/hostapd-devel: 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: 9b3a778da5e13e6b622b99f5bc7e59f708dbfddd Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b3a778da5e13e6b622b99f5bc7e59f708dbfddd commit 9b3a778da5e13e6b622b99f5bc7e59f708dbfddd Author: Cy Schubert AuthorDate: 2024-06-02 05:29:25 +0000 Commit: Cy Schubert CommitDate: 2024-06-02 05:32:44 +0000 net/hostapd-devel: 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-devel/files/patch-src_utils_os__unix.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/net/hostapd-devel/files/patch-src_utils_os__unix.c b/net/hostapd-devel/files/patch-src_utils_os__unix.c new file mode 100644 index 000000000000..140db6151f76 --- /dev/null +++ b/net/hostapd-devel/files/patch-src_utils_os__unix.c @@ -0,0 +1,15 @@ +--- src/utils/os_unix.c.orig 2024-05-10 09:57:55.000000000 -0700 ++++ src/utils/os_unix.c 2024-06-01 22:28:22.467129000 -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; + }