summaryrefslogtreecommitdiff
path: root/ftp/bbftp-server/files/patch-bbftpd.c
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-01-30 09:01:08 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-01-30 09:01:08 +0000
commit06105161ebb5e89dbb235b66493f0694a35302a0 (patch)
tree58f85ef1cd37e9998ba507a46fe0373a4cca98f5 /ftp/bbftp-server/files/patch-bbftpd.c
parentsysutils/conan: 1.32.1 -> 1.33.0 (diff)
- Split into client and server ports: upstream now provides separate
distfiles and also this allows to simplify configure and build glue in the Makefiles considerably - Update to version 3.2.1, reword both COMMENTs accordingly - Actualize MASTER_SITES and WWW line in the port description - Unbreak the build against contemporary versions of OpenSSL - Define LICENSE (GPLv2+) and install provided documentation files
Notes
Notes: svn path=/head/; revision=563282
Diffstat (limited to 'ftp/bbftp-server/files/patch-bbftpd.c')
-rw-r--r--ftp/bbftp-server/files/patch-bbftpd.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/ftp/bbftp-server/files/patch-bbftpd.c b/ftp/bbftp-server/files/patch-bbftpd.c
new file mode 100644
index 000000000000..5fc376daee1a
--- /dev/null
+++ b/ftp/bbftp-server/files/patch-bbftpd.c
@@ -0,0 +1,15 @@
+--- bbftpd.c.orig 2005-05-03 08:43:34 UTC
++++ bbftpd.c
+@@ -842,10 +842,12 @@ main (argc,argv,envp)
+ char buffrand[NBITSINKEY] ;
+ struct timeval tp ;
+ unsigned int seed ;
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ /*
+ ** Load the error message from the crypto lib
+ */
+ ERR_load_crypto_strings() ;
++#endif
+ /*
+ ** Initialize the buffrand buffer which is giong to be used to initialize the
+ ** random generator