diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-01 12:12:50 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-01 12:12:50 +0000 |
commit | 236a71ab19ea2f816150fcb61a52f55217e9edde (patch) | |
tree | 01744c7643d30f715e079aa804e92bc5dd520eec | |
parent | - Add -fcommon to CFLAGS to unbreak the build against modern compilers (diff) |
Fix build with clang11
Notes
Notes:
svn path=/head/; revision=547267
-rw-r--r-- | ftp/pftpd/Makefile | 2 | ||||
-rw-r--r-- | ftp/pftpd/files/patch-plib_server.c | 11 | ||||
-rw-r--r-- | ftp/pftpd/files/patch-plib_timeout.c | 11 |
3 files changed, 23 insertions, 1 deletions
diff --git a/ftp/pftpd/Makefile b/ftp/pftpd/Makefile index 3be0985b2974..0afa4ce0848f 100644 --- a/ftp/pftpd/Makefile +++ b/ftp/pftpd/Makefile @@ -3,7 +3,7 @@ PORTNAME= pftpd PORTVERSION= 1.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= ftp MASTER_SITES= ftp://ftp.ifm.liu.se/pub/unix/pftpd/ diff --git a/ftp/pftpd/files/patch-plib_server.c b/ftp/pftpd/files/patch-plib_server.c new file mode 100644 index 000000000000..8347730c07ef --- /dev/null +++ b/ftp/pftpd/files/patch-plib_server.c @@ -0,0 +1,11 @@ +--- plib/server.c.orig 2013-07-04 11:10:49 UTC ++++ plib/server.c +@@ -41,7 +41,7 @@ + + #include "plib/server.h" + +-int debug; ++extern int debug; + + + diff --git a/ftp/pftpd/files/patch-plib_timeout.c b/ftp/pftpd/files/patch-plib_timeout.c new file mode 100644 index 000000000000..50de9b20a0a6 --- /dev/null +++ b/ftp/pftpd/files/patch-plib_timeout.c @@ -0,0 +1,11 @@ +--- plib/timeout.c.orig 2013-07-04 11:10:49 UTC ++++ plib/timeout.c +@@ -31,7 +31,7 @@ + #ifdef HAVE_THREADS + + +-int debug; ++extern int debug; + + + static struct timeout_cb |