mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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)
This commit is contained in:
parent
8144cb9250
commit
a6204eae8a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545589
@ -16,27 +16,27 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||||||
LIB_DEPENDS= libeb.so:japanese/eb
|
LIB_DEPENDS= libeb.so:japanese/eb
|
||||||
|
|
||||||
USES= iconv:patch
|
USES= iconv:patch
|
||||||
|
USE_RC_SUBR= ebhttpd ebnetd ndtpd
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR}
|
CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR}
|
||||||
CONFIGURE_ENV= PERL=${PREFIX}/bin/perl
|
CONFIGURE_ENV= PERL=${PREFIX}/bin/perl
|
||||||
|
|
||||||
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
USERS= ${EBNETD_USER}
|
USERS= ${EBNETD_USER}
|
||||||
GROUPS= ${EBNETD_GROUP}
|
GROUPS= ${EBNETD_GROUP}
|
||||||
|
|
||||||
# Local variables
|
INFO= ebnetd ebnetd-ja
|
||||||
LOGDIR= /var/log
|
|
||||||
RUNDIR= /var/run
|
|
||||||
EBNETD_USER= ebnetd
|
|
||||||
EBNETD_GROUP= ebnetd
|
|
||||||
|
|
||||||
USE_RC_SUBR= ebhttpd ebnetd ndtpd
|
|
||||||
SUB_FILES= pkg-message
|
|
||||||
PLIST_SUB= EBNETD_RUNDIR=${RUNDIR}/${PORTNAME} \
|
PLIST_SUB= EBNETD_RUNDIR=${RUNDIR}/${PORTNAME} \
|
||||||
EBNETD_USER=${EBNETD_USER} \
|
EBNETD_USER=${EBNETD_USER} \
|
||||||
EBNETD_GROUP=${EBNETD_GROUP}
|
EBNETD_GROUP=${EBNETD_GROUP}
|
||||||
|
|
||||||
INFO= ebnetd ebnetd-ja
|
# Local variables
|
||||||
|
EBNETD_GROUP= ebnetd
|
||||||
|
EBNETD_USER= ebnetd
|
||||||
|
LOGDIR= /var/log
|
||||||
|
RUNDIR= /var/run
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${MV} ${WRKSRC}/doc-ja/ebnetd-ja.texi ${WRKSRC}/doc-ja/ebnetd-ja.texi.orig
|
${MV} ${WRKSRC}/doc-ja/ebnetd-ja.texi ${WRKSRC}/doc-ja/ebnetd-ja.texi.orig
|
||||||
|
13
japanese/ebnetd/files/patch-ebnetd_defs.h.in
Normal file
13
japanese/ebnetd/files/patch-ebnetd_defs.h.in
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user