From nobody Mon Sep 30 22:15:20 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 4XHb3s15Hmz5XlQ9; Mon, 30 Sep 2024 22:15:21 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XHb3r65vBz4V6V; Mon, 30 Sep 2024 22:15:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727734520; 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=MXJXUlKL3EzrNXFWDDKU1TWKLSvdF6IOMrIi5Cp9EOc=; b=jxdysgyO9ExLD4nNuAYj3GFXN4gSKON7DgJO3KJaIDNkBR4l+1W5X995vG83Gm8aXyOeC6 xI/uZ2lWMJ0YuFGvp+Q6p38TzIinp7w29TV8p++XUU5IbqdhmfU575MoLPWo1xaqSWedy4 ktiS3lQmvAeoYSZqkEW8ke/2y/74ksDXpsWfgOtcie2auwBtl/G5cO7X0QmOrSgeHWiwsX d9ozFzrcqRuArgchYO9G5gAO6/BaFRo40S5xR4Yigvpn0AO+teyMR/A9Hs3zj4PmrpbYju 4H37LqUzwiGM6T4EdFZt3Gw6b0rOLSymLnF45Ubz/k+0lGyTyDMCtHx3j2rxdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727734520; 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=MXJXUlKL3EzrNXFWDDKU1TWKLSvdF6IOMrIi5Cp9EOc=; b=GFaVkGWAl2Cq4vBpgcDEgCd/ym3fgl5/TcGGbCULHObek6kfErbCjuuc1Rj/BGxnjA2f+f /Zp72gQLpT4i5IBDD+kKGNJgUirrk0YlOb2frQ6+eyCpWy0rub/aZLOo5v20pToBMTASGL i+bdPxLRSZFTlbRR8VTQyu96JZqcty2m6kETBexwCoZQYR3YcHucinVD09pZ0xeyfYuI0h uJsccjwEtWL+EI+nA9Izf5Y2pZvko1mWG1jVqfEYJpgMAL9ZeFZTQMItpQ9yHnqo4lP3Zm 7D0D/W9BR8ZIMEH0UkEBMtz3aPBKUBtDG693AhT48ArL6blbWkl+riEOnwtgCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727734520; a=rsa-sha256; cv=none; b=avifEusSr2iUhlzCha88yxUP+0rmV7rxi0cdQ0nqFStxLE31EFIhsweRDkvH/onGGb7KD9 FHbgf2VUMv4XQgDOobPnPiWIAQ4u3s+oFEa1A1i0thSDDBlLVLhRHg9bnLte96ZjzYo1uF q4o5/Z2IgqSl42RsaQFe4ZQi3oGaUbCT8nmUveo2KVWiz2vXg1db0Ej/8t1OG5gU76hwSs yFCfFZ7m9V88RenDyaSpFgbGX9KoR56o6ZbLE+Z6ht54DglhSD5vKlz+R0uSUCyg/fcqQ1 cNj96jtrRsmJKfeeg9/OuwZCAe6b7ub+6JNr1AIyH5gyh/Bhny/aFgwid5FlDw== 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 4XHb3r5hJyz19YF; Mon, 30 Sep 2024 22:15:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48UMFK74011035; Mon, 30 Sep 2024 22:15:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48UMFKm6011032; Mon, 30 Sep 2024 22:15:20 GMT (envelope-from git) Date: Mon, 30 Sep 2024 22:15:20 GMT Message-Id: <202409302215.48UMFKm6011032@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: b559c289f7e9 - main - sysutils/clockspeed: include errno.h for errno 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: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b559c289f7e95e25cdf904e030563ee0c7d528c1 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=b559c289f7e95e25cdf904e030563ee0c7d528c1 commit b559c289f7e95e25cdf904e030563ee0c7d528c1 Author: Brooks Davis AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis CommitDate: 2024-09-30 22:13:44 +0000 sysutils/clockspeed: include errno.h for errno errno must be accessed by a macro from errno.h. --- sysutils/clockspeed/Makefile | 2 +- sysutils/clockspeed/files/patch-error.h | 11 +++++++++++ sysutils/clockspeed/files/patch-leapsecs_read.c | 14 +++++++++++--- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/sysutils/clockspeed/Makefile b/sysutils/clockspeed/Makefile index 9b81eada5659..e6bd0fc6b048 100644 --- a/sysutils/clockspeed/Makefile +++ b/sysutils/clockspeed/Makefile @@ -1,6 +1,6 @@ PORTNAME= clockspeed PORTVERSION= 0.62 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= sysutils MASTER_SITES= http://cr.yp.to/clockspeed/ \ http://redundancy.redundancy.org/mirror/ diff --git a/sysutils/clockspeed/files/patch-error.h b/sysutils/clockspeed/files/patch-error.h new file mode 100644 index 000000000000..e35ddb04802a --- /dev/null +++ b/sysutils/clockspeed/files/patch-error.h @@ -0,0 +1,11 @@ +--- error.h.orig ++++ error.h +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include + + extern int error_intr; + extern int error_nomem; diff --git a/sysutils/clockspeed/files/patch-leapsecs_read.c b/sysutils/clockspeed/files/patch-leapsecs_read.c index b05ea4f8375e..dfbcb97ce82f 100644 --- a/sysutils/clockspeed/files/patch-leapsecs_read.c +++ b/sysutils/clockspeed/files/patch-leapsecs_read.c @@ -1,6 +1,14 @@ ---- leapsecs_read.c.orig Thu May 24 20:07:04 2001 -+++ leapsecs_read.c Thu May 24 20:12:33 2001 -@@ -18,7 +18,7 @@ +--- leapsecs_read.c.orig ++++ leapsecs_read.c +@@ -2,7 +2,6 @@ + #include + #include + #include +-extern int errno; + #include "tai.h" + #include "leapsecs.h" + +@@ -18,7 +17,7 @@ int i; struct tai u;