From nobody Tue Feb 10 15:42:25 2026 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 4f9Qmf2r57z6RW6h for ; Tue, 10 Feb 2026 15:42: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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f9Qmf0mJhz3LRN for ; Tue, 10 Feb 2026 15:42:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770738146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QnYHYM1TDzkMJypCW7H2+4PSSkS21PlQVsn5O74pj8Y=; b=jdewOIbB8XmHb2cNw5qPQLYO66+54Nuq/YmnJTpWDAZIS1sVTdkOvF/4az4+PiZTxmGng0 dNog/eKshJhLTA/ciFMT9w3g5ATbOmo2cmpaQ6nZ4RiL65LcL1lwQBRMBL6pVMnmwOBFGw 8vSDAZV6SYcizze4aCdbNdCW/owb4v1gVsueDegBqxckWEkqz4GXz6++qfrdKF/Dbojzc6 5Hs5tNuNWV+qgaGVVJRdsBFhzYQpL+POx7ve9/jXl+bo+R31e0DTwhRPqSC58uVWb3BGbO pz8bvKlTaOWF4t0iD2Wwg+XYcivn6Bo5ZO0AyzJyQmJwoFYTxCWaP1fiVkDg1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770738146; a=rsa-sha256; cv=none; b=H71vCok+67OuQkupjyXdyYtoZgdsSG/v4gNZAOxJ4Q+DkzYGp9YoVqyoXFz9TT88+XvIe9 4+ktgc5UoN4LauUzk570udrV70cMhRuqHL6/6X4pwqaNx+AIJNR+0a5t/3A4Mz51xPqyip 8pLZKFXbyVstI0RLl/x+v78K9EARjOACO0YRg85u7Q7nCoaGXWXXmUmSfHB/dlbpn1uIJQ z41gE4JIXgwPQ1KYuiOfCeWOOvOvCeEPJRJBGrzoHxMY42OCQEInpRo5T3qXIJql6nI9Zn 0TdYtqXOm7S7gXViC6X/gkfzdaDkfjDsmX9zbAp90g02Ym4TA0XH7dBmKqwv3A== 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=1770738146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QnYHYM1TDzkMJypCW7H2+4PSSkS21PlQVsn5O74pj8Y=; b=WhehWTcpbMIC6P/hvxj32IoLp1keRKxjxVH9hFEeQ5Gl+nmuoRFfxPCufj7iOy6dAzEiAa BcrlZOvS4WKefa4ZtYJ/kdeHmtPLve5xoOVvszaHwewrPkYGSDLyL+GP4ClfRvWYQoFCKV fPGmYPRzDTGokKW9kGlbZXxXH9h1B8JyGaisoTo6+yEIy+z+B8V8J8eMfQ/go6LnbMRNjF CbrJMNr6jMs07Sfh9bQicw/wd/sZ79UHxjodoSCgvUXA+knKYcxF18fetMabYeN/nnkFwJ 6RdO5kKFFUlyA9LJXGUJ8u6G/Eqn8P1OsMUqxmpcjKnRVyucPug0m4K+7YovrA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f9Qmd6wH8z1NrS for ; Tue, 10 Feb 2026 15:42:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 47a8f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 10 Feb 2026 15:42:25 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Cc: Kristofer Peterson From: Robert Clausecker Subject: git: da36f675a13e - 2026Q1 - games/xpipeman: use portable fileno() instead of (*FILE)->_file 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/2026Q1 X-Git-Reftype: branch X-Git-Commit: da36f675a13eceac6908d1ec04ee938a508eac64 Auto-Submitted: auto-generated Date: Tue, 10 Feb 2026 15:42:25 +0000 Message-Id: <698b51e1.47a8f.1538b863@gitrepo.freebsd.org> The branch 2026Q1 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=da36f675a13eceac6908d1ec04ee938a508eac64 commit da36f675a13eceac6908d1ec04ee938a508eac64 Author: Kristofer Peterson AuthorDate: 2026-02-04 20:24:55 +0000 Commit: Robert Clausecker CommitDate: 2026-02-10 15:42:12 +0000 games/xpipeman: use portable fileno() instead of (*FILE)->_file PR: 292939, 291610 MFH: 2026Q1 (cherry picked from commit 003fed6b7b152ddf56b71d18380432a9b24f5b06) --- games/xpipeman/Makefile | 2 +- games/xpipeman/files/patch-score.c | 27 +++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/games/xpipeman/Makefile b/games/xpipeman/Makefile index 32e0873a229f..a99d2f1cf02e 100644 --- a/games/xpipeman/Makefile +++ b/games/xpipeman/Makefile @@ -1,6 +1,6 @@ PORTNAME= xpipeman PORTVERSION= 1.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SUNSITE/games/strategy DISTNAME= ${PORTNAME} diff --git a/games/xpipeman/files/patch-score.c b/games/xpipeman/files/patch-score.c index fe30359ded31..c1334f3773f6 100644 --- a/games/xpipeman/files/patch-score.c +++ b/games/xpipeman/files/patch-score.c @@ -11,7 +11,7 @@ #include "xpipeman.h" /*----------------------------------------------------------------------*/ -@@ -64,13 +65,12 @@ typedef struct { +@@ -64,13 +65,12 @@ static SCORE scores[MAXSCORES]; static SCORE scores[MAXSCORES]; @@ -26,7 +26,16 @@ /*----------------------------------------------------------------------*/ -@@ -100,8 +100,8 @@ load_scores() +@@ -87,7 +87,7 @@ check_score(current_score,level) + } + if(scorefile) { + #ifndef SYSV +- flock(scorefile->_file, LOCK_UN); ++ flock(fileno(scorefile), LOCK_UN); + #endif + fclose(scorefile); + show_scores(); +@@ -100,12 +100,12 @@ load_scores() { int i = 0; @@ -37,6 +46,11 @@ return; } #ifndef SYSV +- flock(scorefile->_file, LOCK_EX); ++ flock(fileno(scorefile), LOCK_EX); + #endif + while( fgets(scores[i].score,6,scorefile) /* get score */ + && fgets(scores[i].name,26,scorefile) /* get name */ @@ -198,7 +198,7 @@ static Arg arglist_popdown[] = { @@ -46,3 +60,12 @@ popdown_callback(w, closure, call_data) Widget w; caddr_t closure; +@@ -281,7 +281,7 @@ show_scores_callback() + + if(scorefile) { + #ifndef SYSV +- flock(scorefile->_file, LOCK_UN); ++ flock(fileno(scorefile), LOCK_UN); + #endif + fclose(scorefile); + show_scores();