From owner-svn-ports-all@freebsd.org Fri Aug 21 10:50:34 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3BE3D3BA30B; Fri, 21 Aug 2020 10:50:34 +0000 (UTC) (envelope-from fernape@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BXywT6dr9z3WTd; Fri, 21 Aug 2020 10:50:33 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C768924381; Fri, 21 Aug 2020 10:50:33 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07LAoXvG058614; Fri, 21 Aug 2020 10:50:33 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07LAoXjq058612; Fri, 21 Aug 2020 10:50:33 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <202008211050.07LAoXjq058612@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Fri, 21 Aug 2020 10:50:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545589 - in head/japanese/ebnetd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: in head/japanese/ebnetd: . files X-SVN-Commit-Revision: 545589 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2020 10:50:34 -0000 Author: fernape Date: Fri Aug 21 10:50:33 2020 New Revision: 545589 URL: https://svnweb.freebsd.org/changeset/ports/545589 Log: japanese/ebnetd: Fix build with '-fno-common' Fix build with '-fno-common', default of GCC 10 and Clang 11. While here, pet linters. PR: 248773 Submitted by: yasu@utahime.org (maintainer) Added: head/japanese/ebnetd/files/patch-ebnetd_defs.h.in (contents, props changed) Modified: head/japanese/ebnetd/Makefile Modified: head/japanese/ebnetd/Makefile ============================================================================== --- head/japanese/ebnetd/Makefile Fri Aug 21 10:49:35 2020 (r545588) +++ head/japanese/ebnetd/Makefile Fri Aug 21 10:50:33 2020 (r545589) @@ -16,27 +16,27 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libeb.so:japanese/eb USES= iconv:patch +USE_RC_SUBR= ebhttpd ebnetd ndtpd GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR} CONFIGURE_ENV= PERL=${PREFIX}/bin/perl +SUB_FILES= pkg-message + USERS= ${EBNETD_USER} GROUPS= ${EBNETD_GROUP} -# Local variables -LOGDIR= /var/log -RUNDIR= /var/run -EBNETD_USER= ebnetd -EBNETD_GROUP= ebnetd - -USE_RC_SUBR= ebhttpd ebnetd ndtpd -SUB_FILES= pkg-message +INFO= ebnetd ebnetd-ja PLIST_SUB= EBNETD_RUNDIR=${RUNDIR}/${PORTNAME} \ EBNETD_USER=${EBNETD_USER} \ EBNETD_GROUP=${EBNETD_GROUP} -INFO= ebnetd ebnetd-ja +# Local variables +EBNETD_GROUP= ebnetd +EBNETD_USER= ebnetd +LOGDIR= /var/log +RUNDIR= /var/run post-patch: ${MV} ${WRKSRC}/doc-ja/ebnetd-ja.texi ${WRKSRC}/doc-ja/ebnetd-ja.texi.orig Added: head/japanese/ebnetd/files/patch-ebnetd_defs.h.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/ebnetd/files/patch-ebnetd_defs.h.in Fri Aug 21 10:50:33 2020 (r545589) @@ -0,0 +1,13 @@ +--- ebnetd/defs.h.in.orig 2003-06-15 11:39:27 UTC ++++ ebnetd/defs.h.in +@@ -313,8 +313,8 @@ extern char work_path[]; + extern char configuration_file_name[]; + extern in_port_t listening_port; + extern in_port_t old_listening_port; +-fd_set listening_files; +-int max_listening_file; ++extern fd_set listening_files; ++extern int max_listening_file; + extern int accepted_in_file; + extern int accepted_out_file; + extern uid_t user_id;