From nobody Tue Oct 01 20:12:48 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 4XJ8J10BjGz5XKd0; Tue, 01 Oct 2024 20:12:49 +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 4XJ8J05tH9z4jPR; Tue, 1 Oct 2024 20:12:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727813568; 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=2b+eXWFKF+XsvBd7trHNGx2/+8vumg4teGdBn93xmq8=; b=pW6LSRmK3TU3gvo5KswMn6Km1J6vHhINoE1RZ7L1bC6HWyPRKypdrf4CKdRjKLMC1qeCca 82iv1JmXVrOAlapAI+yiNGElgkfR1GB10hNZU6nDppQ+I2aE9GAQeViEf8ITJnW62brIX5 VRgjHyvmUEBCxutsUnD6BzNSnVmHVQDyYyqGmhWVcNM+xZPY+UAjQWjfqsxv1rbPlbQYT0 UaEcWHU7q4EHF5lSipLcdeFXYYKXd6k64qBv5Ohvn3WUwxWlrCECMwBmbgyQS+kUFqbMe/ CVbxFPjLkECYRymWvz4rgRcWVGnDfhcDtInrCmQDdFRptHct8MsUyS/4g4L9fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727813568; 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=2b+eXWFKF+XsvBd7trHNGx2/+8vumg4teGdBn93xmq8=; b=EFAFDuhdGTabc5h2d9CpaqxcKh/98KrFmhLfvyDWdNUQxzTPgfxNIpjcaTH2PVF155riXe Wzz9zlEz5gxOM7xQ6D5H0yDG/t+fMlstyF0OsAxU12h6J0ugiA76lRd41jRCqXnRReEQIL 9/OMDQ39kvcw9jVy1QEet4MqM3rD3UayPM2NlKN1CRxO5Wl5rvN5jHmixut7G1KfLk1HlN 2lDAAIxjNxcubwOj6rks8q9NcuHt9HwyUBm/JX3mPJmY4W8t2eXWcMmHl3DAH6i6Fqm9k0 3vFiAvG2oRVXK5ghmOACXfwW11Apwmvs722DL7uUEF1UJN3MVY02keHNbAZCoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727813568; a=rsa-sha256; cv=none; b=ceFDGMu1fMghr5bXNSyUWho+8fjikMftLCbyaBgq0fmlgaEwhzkV2J6fVIKil0uuoWYJlx BOeD9VBz5ukMvoKDy8SYOofEmN0/OeQY1pTwpvM2tl3xQ0Qxnr3YwI7AYqgkuEDxZ3w6LE z3TorE4wWHmJUiNUW1v4hRZmAjqXy9olcmfIVhcLuGxAdybRfewCAhGeS/g+5HjboPeccp /DXiYgBilSy5gS74QH+Zak4z4CkvrK9CDJgsW3TuL4EcMq3yTOxj6fTr55oXrGM9uLz/pH kN7stiHu2gHT2tQnEBVlkvwP018w5RQm+LPbLPnxW7IDA0XBy2DhCehtKBjemA== 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 4XJ8J05V62zrtH; Tue, 1 Oct 2024 20:12:48 +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 491KCmsf049725; Tue, 1 Oct 2024 20:12:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 491KCmrM049722; Tue, 1 Oct 2024 20:12:48 GMT (envelope-from git) Date: Tue, 1 Oct 2024 20:12:48 GMT Message-Id: <202410012012.491KCmrM049722@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: 87071de424cc - main - deskutils/sliderule: 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: 87071de424cc546dadc6a92b36706e37407b9a92 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=87071de424cc546dadc6a92b36706e37407b9a92 commit 87071de424cc546dadc6a92b36706e37407b9a92 Author: Brooks Davis AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis CommitDate: 2024-10-01 20:11:46 +0000 deskutils/sliderule: include errno.h for errno errno must be accessed by a macro from errno.h. PR: 281785 Approved by: portmgr (build fix blanket), mikael --- deskutils/sliderule/Makefile | 2 +- deskutils/sliderule/files/patch-xcalc.c | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/deskutils/sliderule/Makefile b/deskutils/sliderule/Makefile index 2d22946ff3ab..01d412c294c0 100644 --- a/deskutils/sliderule/Makefile +++ b/deskutils/sliderule/Makefile @@ -1,6 +1,6 @@ PORTNAME= sliderule PORTVERSION= 1.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= deskutils MASTER_SITES= LOCAL/joerg DISTNAME= ${PORTNAME} diff --git a/deskutils/sliderule/files/patch-xcalc.c b/deskutils/sliderule/files/patch-xcalc.c new file mode 100644 index 000000000000..40bd7648d71f --- /dev/null +++ b/deskutils/sliderule/files/patch-xcalc.c @@ -0,0 +1,19 @@ +--- xcalc.c.orig ++++ xcalc.c +@@ -32,6 +32,7 @@ + * it's an option. + */ + ++#include + #include + #include + #include +@@ -43,8 +44,6 @@ + + /* program icon */ + #include "icon" +- +-extern int errno; + + + /* constants used for setting up the calculator. changing them would