From nobody Mon Sep 30 22:15:08 2024 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 4XHb3c50zVz5Xkdw; Mon, 30 Sep 2024 22:15:08 +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 4XHb3c2lhHz4Tlh; Mon, 30 Sep 2024 22:15:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727734508; 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=26zW4KOOhAAUqhtPGDxR0SgHADRtMmTg6R+p2ijoCiU=; b=vxkdu08crUOWKVD+aZA10h2GyR+AF+9Wycce65Ho+TE7i4K27UJE8eyB5KfMcArPNCCa97 Q9/GvT9o2GqTCHEGRvooJpsNhWjIsaQV5b68HivnWkOwVbJVI06+Mu9zLB7HNQPF7/Gmku 4Ij7AeE0sJteHjVu89FpoZXtfBaPGwF6HEcqMLlcQrv4I98d23d454q39MRe5P+7Y/+tsF +nLEmFHxhpU1IxByEsBEce4Ut114nsoxFiKQnLSOSEZJyHplj/9+caJ+kBt5/m+1mCxeeW 0tZdvitoBbHij61TUFSKMdwdbvS2mtelsJyBoxnunBs3O5JFtGIpJEZeR1k3dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727734508; 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=26zW4KOOhAAUqhtPGDxR0SgHADRtMmTg6R+p2ijoCiU=; b=sUCnqY1OX8qoxP0WGPtfwMSPMrrb8wmQPs6aomVtpW/S1hghM3aLrATXV2Ih7tIP2Aa1qo /1QJhiTJdZ8Ox+VSWvoi173LFxSFSLHwbnlox7zdYTZ+UeMiD+e98EjL/NV200ZvtsrxkA hyadGcpb+UUhFhV/Ci9AJM8SJDbdExYhS6TNeNRQGkBeGEVvTqNr3cxYfJ7yr7cPC4O/qZ 4wuEvfR+nTGhMW9OxFnlRniPIgazuyiIdm9aNT7CnWxJ7+ui9g9ETCoX0AWyncozGMIe9l +cGMaTT4QW3aZPDAOcjU77lRAwo9tjkVFLefCCviKdZGaBnSw2UgG19Y2YmNAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727734508; a=rsa-sha256; cv=none; b=npUJeL7m6BRe2TIQLih5y+XGyTe980JMPM8uJfF2FTZsIOCtuxvJlAG+cxz3b4/Nkt9XdD JBmkocKkOlWTIY9def1IwUP+c9kC1E1zptImn1ImwlXrfjdbllZtj/EE9SZJtsKgzIWTfU HRkuoGW7UnqXnZgUaYWcJfsyZsABJGsWAqOYOyLbnv/NYT8rujYupzdmJBAU3YHl+vHp5Q FEphH/5PU4u1Nh8pGTxySdfheIa7x7jm9FiweqBZWM/VtYac7xndP5WofYswGBcD+xcmFt abtXaRsDGT+h3xDJFja8V3wFs5DllhJp9QF4QkrbnPsc5kA3UEC2zpTAcfNI2w== 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 4XHb3c2N7Tz19sc; Mon, 30 Sep 2024 22:15:08 +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 48UMF8HN010543; Mon, 30 Sep 2024 22:15:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48UMF8uW010540; Mon, 30 Sep 2024 22:15:08 GMT (envelope-from git) Date: Mon, 30 Sep 2024 22:15:08 GMT Message-Id: <202409302215.48UMF8uW010540@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: 5088c7b2d177 - main - japanese/edict: include errno.h for errno 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: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5088c7b2d177b08823a3fc9c024d3cd5c168b19e Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=5088c7b2d177b08823a3fc9c024d3cd5c168b19e commit 5088c7b2d177b08823a3fc9c024d3cd5c168b19e Author: Brooks Davis AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis CommitDate: 2024-09-30 22:11:20 +0000 japanese/edict: include errno.h for errno errno must be accessed by a macro from errno.h. While here, remove seemingly defunct mirror. --- japanese/edict/Makefile | 6 ++---- japanese/edict/files/patch-xjdclient.c | 18 ++++++++++++++++++ japanese/edict/files/patch-xjdserver.c | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+), 4 deletions(-) diff --git a/japanese/edict/Makefile b/japanese/edict/Makefile index b2d7f2f87a20..dce3c5b8251a 100644 --- a/japanese/edict/Makefile +++ b/japanese/edict/Makefile @@ -1,10 +1,8 @@ PORTNAME= edict PORTVERSION= 19990714 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= japanese -MASTER_SITES= \ - http://japanology.arts.kuleuven.ac.be/mirrors/monash/ \ - http://ftp.edrdg.org/pub/Nihongo/ +MASTER_SITES= http://ftp.edrdg.org/pub/Nihongo/ DISTFILES= ${DICTFILES} ${SRCFILES} ${DOCFILES} DIST_SUBDIR= edict EXTRACT_ONLY= ${SRCFILES} diff --git a/japanese/edict/files/patch-xjdclient.c b/japanese/edict/files/patch-xjdclient.c new file mode 100644 index 000000000000..58c749a9ffd0 --- /dev/null +++ b/japanese/edict/files/patch-xjdclient.c @@ -0,0 +1,18 @@ +--- xjdclient.c.orig 2024-09-30 19:41:16.980011000 +0100 ++++ xjdclient.c 2024-09-30 19:42:00.456457000 +0100 +@@ -26,6 +26,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -40,7 +41,6 @@ + + #define CVERBOSE 0 + int chk_cnt=0; +-extern int errno; + unsigned char host[51] = {"localhost"}; + unsigned char yn[2]; + unsigned int portno = XJ_PORTNO; diff --git a/japanese/edict/files/patch-xjdserver.c b/japanese/edict/files/patch-xjdserver.c new file mode 100644 index 000000000000..3e1727c7ae28 --- /dev/null +++ b/japanese/edict/files/patch-xjdserver.c @@ -0,0 +1,19 @@ +--- xjdserver.c.orig 2024-09-30 19:42:21.985134000 +0100 ++++ xjdserver.c 2024-09-30 19:42:39.088405000 +0100 +@@ -20,6 +20,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -55,8 +56,6 @@ + int jiver = 14; + int thisdic = 0; + int DicNum; +- +-extern int errno; + + extern unsigned char Dnamet[10][100],XJDXnamet[10][100]; + extern unsigned char *dicbufft[10];