From nobody Sun Jul 23 10:50:26 2023 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 4R80SL5QHKz4pNHq; Sun, 23 Jul 2023 10:50: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R80SL48LLz3qnF; Sun, 23 Jul 2023 10:50:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690109426; 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=dHpWGWEClTAzVQBCcMcBCuJ7DpWNY1qUBiuJ/gLfcI8=; b=H9aulUGgmdL8pxlcYcDS1UR6hui6yqMrns/bGQp1ysqawfAYB4xRu55FuATcfrcGstA7dG ZJEwzi0GkY0zJhcj1wX+iedG2CGz4fE4imvgQrdAlxWWLmWLJtnZ6RBa7ENf5iQ74q2RhU K/CsSDJarsdT8sPb86/itVvQmp+E3p0AOi9ore0xfCLL1KTc2u/Z4sQZoA8dXO0aGG68gY tyMJr1NoJicRgOwzkY7KUyelkzd+aB6KoF5owjYlc6QGrHNwt2TrCQrddWLkfPQ1y4oNvb xabyMwXU0bJoVQExUYFDOG2K/F1d8BRk1Ms8mZP0E3OBhNu3KqZGQgCZ3JVHZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690109426; 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=dHpWGWEClTAzVQBCcMcBCuJ7DpWNY1qUBiuJ/gLfcI8=; b=KqHaIUMszf5gsZLuDx4Wy+LzxfrHd41s8SkLZDu2pXYHVsVW9/vkEihM1zjulCZs++ox5k VglWz3m41M2svrKBQBW5RuNkr4xBY+i8p9Mc7uLta2oS187MpiUF9gBqFB4p5s93vI9oC4 aJ+31dLbUMR/BZpFgpuiKQwfvI44J4P+Nym5vKeEgeW4xwFAsaqdOWYePIDn928F3SNY7O 8OoOC10GuzK4R6cOtRA/fo3fkhn0tTXAPX22LTCg8vj8rtAOPDimOCmEdDtBwenXgk8Lso ESo5Cs5knTro34IzVIxjbqdEIuIsdoSN1h7VXIlhbxbQvJPmk4xbf1qsYcfxZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690109426; a=rsa-sha256; cv=none; b=wzfCi+77zpYDXJM3+FX5eP7NSWi2jInhxPqFg/vvRCzKjGZN54B79AeRp12b0Jmzwrk1eh AYnO2OJusQavnjO5MRY9yh192gOWT/cgFe8in7P02yxHpYJoKIssmsBpgVNyJ2yNZOhGIS KrsXKqiXmkoYcSBWJKSno+3EDvGeue32uL6muJ1okMoyh8L89oD2W7EvOxshrTeLULgYPt JKUmZZUOhpmt19T24jxFtY0NinBCtRX0niOvrdyYjVd+1gzESNHtzXW1gIf8rSvc+TTD5U K7msL+TGn/itFpJCLab0wz/YB3YZwBD8BKzZu7H+hf/HrGJnPmGmRProrj2n/A== 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 4R80SL2jCjzYT0; Sun, 23 Jul 2023 10:50:26 +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 36NAoQ67005544; Sun, 23 Jul 2023 10:50:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NAoQBi005543; Sun, 23 Jul 2023 10:50:26 GMT (envelope-from git) Date: Sun, 23 Jul 2023 10:50:26 GMT Message-Id: <202307231050.36NAoQBi005543@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 4b46ece45219 - main - japanese/edict: Fix build with llvm16 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b46ece4521978b0f2e6c76ff118003ae9883653 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b46ece4521978b0f2e6c76ff118003ae9883653 commit 4b46ece4521978b0f2e6c76ff118003ae9883653 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 10:01:28 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 10:50:16 +0000 japanese/edict: Fix build with llvm16 - Remove stale MASTER_SITES - Pet portclippy Sponsored by: The FreeBSD Foundation --- japanese/edict/Makefile | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/japanese/edict/Makefile b/japanese/edict/Makefile index 64bcb77a3e89..c2466a49c56a 100644 --- a/japanese/edict/Makefile +++ b/japanese/edict/Makefile @@ -4,22 +4,17 @@ PORTREVISION= 5 CATEGORIES= japanese MASTER_SITES= \ http://japanology.arts.kuleuven.ac.be/mirrors/monash/ \ - http://www.bcit-broadcast.com/monash/ \ - ftp://ftp.mirrorservice.org/sites/ftp.cc.monash.edu.au/pub/nihongo/ \ - ftp://ftp.edrdg.org/pub/Nihongo/ \ - ftp://ftp.u-aizu.ac.jp/pub/SciEng/nihongo/ftp.cc.monash.edu.au/ \ - ftp://ftp.funet.fi/pub/culture/japan/mirrors/monash/pub/nihongo/ \ - ftp://ftp.uni-duisburg.de/Mirrors/ftp.monash.edu.au/pub/nihongo/ \ - ftp://ftp.monash.edu.au/pub/nihongo/ -EXTRACT_SUFX= # empty + http://ftp.edrdg.org/pub/Nihongo/ DISTFILES= ${DICTFILES} ${SRCFILES} ${DOCFILES} +DIST_SUBDIR= edict EXTRACT_ONLY= ${SRCFILES} MAINTAINER= ports@FreeBSD.org COMMENT= Japanese-English dictionaries with access and maintenance utilities WWW= http://ftp.monash.edu.au/pub/nihongo/00INDEX.html -DIST_SUBDIR= edict +# Fix build with clang11 +CFLAGS+= -fcommon DICTFILES= edict.gz edicth enamdict.gz compdic.gz \ j_places.gz ediclsd3.zip \ @@ -45,11 +40,14 @@ DOCSDIR= ${PREFIX}/share/doc/xjdic NO_WRKSUBDIR= yes -# Fix build with clang11 -CFLAGS+= -fcommon - OPTIONS_DEFINE= DOCS +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${GREP} -l '^main' ${WRKSRC}/*.c | ${XARGS} ${REINPLACE_CMD} \ -e '/argv/s/unsigned//' @@ -72,7 +70,7 @@ do-install: ${dict:R} ${dict:R}.xjdx) .endfor ${RM} ${STAGEDIR}${PREFIX}/bin/xjdic - ${LN} -s ${PREFIX}/bin/xjdic_sa ${STAGEDIR}${PREFIX}/bin/xjdic + (cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s xjdic_sa xjdic) (cd ${WRKSRC} && ${INSTALL_DATA} radicals.tm radkfile kanjstroke \ romkana.cnv vconj ${STAGEDIR}${DATADIR}) # @@ -95,6 +93,8 @@ do-install: # @${ECHO_CMD} dicfile lingdic >> ${DATADIR}/.xjdicrc @${CHMOD} ${SHAREMODE} ${STAGEDIR}${DATADIR}/.xjdicrc ${INSTALL_MAN} ${WRKSRC}/xjdic.1 ${STAGEDIR}${PREFIX}/man/man1 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/xjdic23.inf ${STAGEDIR}${DOCSDIR} (cd ${_DISTDIR} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR})