httperf: unbreak; libressl-2.3 patches from OpenBSD

This commit is contained in:
allan 2016-03-30 15:26:01 +02:00
parent 51bd3ef1ce
commit 4a5da81c0e
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_httperf_c,v 1.1 2015/07/18 17:13:49 jca Exp $
--- src/httperf.c.orig Sat Jul 18 11:10:17 2015
+++ src/httperf.c Sat Jul 18 11:10:41 2015
@@ -807,8 +807,7 @@ main (int argc, char **argv)
SSL_load_error_strings ();
SSLeay_add_ssl_algorithms ();
- /* for some strange reason, SSLv23_client_method () doesn't work here */
- ssl_ctx = SSL_CTX_new (SSLv3_client_method ());
+ ssl_ctx = SSL_CTX_new (SSLv23_client_method ());
if (!ssl_ctx)
{
ERR_print_errors_fp (stderr);

View File

@ -2,7 +2,6 @@
pkgname=httperf
version=0.9.0
revision=2
broken="/builddir/httperf-0.9.0/src/httperf.c:811: undefined reference to 'SSLv3_client_method'"
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="A tool for measuring web server performance"