diff options
author | naddy <naddy@FreeBSD.org> | 2003-03-04 23:03:42 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-03-04 23:03:42 +0800 |
commit | a68cf32d8837709616ff53bd48f823dd1ea893d8 (patch) | |
tree | 29bad09f0275107125bda5cdde0b98b8b9ba2379 /comms/kermit | |
parent | 6df7e4814a8268c0e498ddb29cf1b34b6a98dd60 (diff) | |
download | freebsd-ports-gnome-a68cf32d8837709616ff53bd48f823dd1ea893d8.tar.gz freebsd-ports-gnome-a68cf32d8837709616ff53bd48f823dd1ea893d8.tar.zst freebsd-ports-gnome-a68cf32d8837709616ff53bd48f823dd1ea893d8.zip |
Fix build with OpenSSL 0.9.7.
Submitted by: nectar
Diffstat (limited to 'comms/kermit')
-rw-r--r-- | comms/kermit/Makefile | 5 | ||||
-rw-r--r-- | comms/kermit/files/patch-ck__crp.c | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile index 1ce7efd14bbd..ea7515d8d67f 100644 --- a/comms/kermit/Makefile +++ b/comms/kermit/Makefile @@ -26,9 +26,10 @@ MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \ -DBSD44 -DCK_NCURSES -DCK_NEWTERM \ -DTCPSOCKET -DNOCOTFMC -DFREEBSD4 -DUSE_UU_LOCK -DFNFLOAT \ -funsigned-char -DTPUTSARGTYPE=int -DUSE_STRERROR -DCKHTTP \ - -DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES" \ + -DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES \ + -DOPENSSL_DES_LIBDES_COMPATIBILITY -DOPENSSL_097" \ LIBS="-L${OPENSSLLIB} \ - -lssl -lcrypto -ldes -lncurses -lcrypt -lutil -lm" + -lssl -lcrypto -lncurses -lcrypt -lutil -lm" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/krbmit ${PREFIX}/bin/kermit diff --git a/comms/kermit/files/patch-ck__crp.c b/comms/kermit/files/patch-ck__crp.c new file mode 100644 index 000000000000..2c060188c63a --- /dev/null +++ b/comms/kermit/files/patch-ck__crp.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- ck_crp.c.orig Tue Jun 25 17:53:02 2002 ++++ ck_crp.c Tue Mar 4 15:14:45 2003 +@@ -396,7 +396,7 @@ + des_new_random_key(Block B) + { + int rc=0; +- rc = des_random_key(B); ++ des_random_key(B); + return(rc); + } + |