aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ebnetd/files
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-08-21 18:50:33 +0800
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-08-21 18:50:33 +0800
commita6204eae8a7e35cd9226eb4fd2943bbe366a2046 (patch)
treed1d3cf3cae68713939d3d9791172543a36cb9d7f /japanese/ebnetd/files
parent8144cb92504d26bd655d0ef663ebb076aa79dfaa (diff)
downloadfreebsd-ports-gnome-a6204eae8a7e35cd9226eb4fd2943bbe366a2046.tar.gz
freebsd-ports-gnome-a6204eae8a7e35cd9226eb4fd2943bbe366a2046.tar.zst
freebsd-ports-gnome-a6204eae8a7e35cd9226eb4fd2943bbe366a2046.zip
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)
Diffstat (limited to 'japanese/ebnetd/files')
-rw-r--r--japanese/ebnetd/files/patch-ebnetd_defs.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/ebnetd/files/patch-ebnetd_defs.h.in b/japanese/ebnetd/files/patch-ebnetd_defs.h.in
new file mode 100644
index 000000000000..8988534647f9
--- /dev/null
+++ b/japanese/ebnetd/files/patch-ebnetd_defs.h.in
@@ -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;