Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2020 10:50:33 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545589 - in head/japanese/ebnetd: . files
Message-ID:  <202008211050.07LAoXjq058612@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008211050.07LAoXjq058612>