Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2018 08:13:09 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487029 - head/irc/ratbox-respond/files
Message-ID:  <201812090813.wB98D9PJ012684@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Dec  9 08:13:09 2018
New Revision: 487029
URL: https://svnweb.freebsd.org/changeset/ports/487029

Log:
  irc/ratbox-respond: Fix build with OpenSSL 1.1.1
  
  PR:		232128
  Submitted by:	ndowens@yahoo.com
  Approved by:	zi (maintainer timeout, 2 months)

Added:
  head/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c   (contents, props changed)

Added: head/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c	Sun Dec  9 08:13:09 2018	(r487029)
@@ -0,0 +1,23 @@
+--- ratbox-respond/ratbox-respond.c.orig	2018-10-09 21:09:45 UTC
++++ ratbox-respond/ratbox-respond.c
+@@ -27,8 +27,10 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <openssl/evp.h>
+ #include <openssl/err.h>
+ #include <openssl/rsa.h>
++#include <openssl/opensslv.h>
+ #include <openssl/pem.h>
+ #include <openssl/sha.h>
+ #include <unistd.h>
+@@ -235,7 +237,9 @@ main(int argc, char **argv)
+ 		return -1;
+ 	}
+ 
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ 	SSLeay_add_all_ciphers();
++#endif
+ 	rsa = PEM_read_RSAPrivateKey(kfile, NULL,pass_cb, NULL);
+ 
+ 	if(!rsa)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812090813.wB98D9PJ012684>