diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-04-25 06:41:27 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-04-25 06:41:27 +0800 |
commit | a5acfddc92f0c556a709b4b1c461477e958eef6a (patch) | |
tree | 74f2d06b399571c4c3aa53503403964c1aa0f5b3 /net | |
parent | 375c212c3f0089189071ab8c5ac93e6e46511156 (diff) | |
download | freebsd-ports-gnome-a5acfddc92f0c556a709b4b1c461477e958eef6a.tar.gz freebsd-ports-gnome-a5acfddc92f0c556a709b4b1c461477e958eef6a.tar.zst freebsd-ports-gnome-a5acfddc92f0c556a709b4b1c461477e958eef6a.zip |
- Fix build on 11.x
PR: 208815
Submitted by: amdmi3
Approved by: hsn@sendmail.cz (maintainer)
Diffstat (limited to 'net')
-rw-r--r-- | net/fspd/files/patch-contrib_fspscan.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/fspd/files/patch-contrib_fspscan.c b/net/fspd/files/patch-contrib_fspscan.c new file mode 100644 index 000000000000..4cb01861ebc2 --- /dev/null +++ b/net/fspd/files/patch-contrib_fspscan.c @@ -0,0 +1,20 @@ +--- contrib/fspscan.c.orig 2009-10-01 20:46:36 UTC ++++ contrib/fspscan.c +@@ -72,7 +72,7 @@ static void printhelp(int argc,char **ar + exit(0); + } + +-static void fdclose(void) ++static void myfdclose(void) + { + close(myfd); + } +@@ -150,7 +150,7 @@ int main(int argc,char **argv) + else + fprintf(logfile,"%0d...nada\n",remoteport); + fflush(logfile); +- fdclose(); ++ myfdclose(); + } + return 0; + } |