From 4a5da81c0e28debd8b370217f3313f813b7e3a08 Mon Sep 17 00:00:00 2001 From: allan Date: Wed, 30 Mar 2016 15:26:01 +0200 Subject: [PATCH] httperf: unbreak; libressl-2.3 patches from OpenBSD --- srcpkgs/httperf/patches/sslv23.patch | 13 +++++++++++++ srcpkgs/httperf/template | 1 - 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/httperf/patches/sslv23.patch diff --git a/srcpkgs/httperf/patches/sslv23.patch b/srcpkgs/httperf/patches/sslv23.patch new file mode 100644 index 00000000000..1ff4547ef11 --- /dev/null +++ b/srcpkgs/httperf/patches/sslv23.patch @@ -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); diff --git a/srcpkgs/httperf/template b/srcpkgs/httperf/template index 7c1ba50041f..58611cf6292 100644 --- a/srcpkgs/httperf/template +++ b/srcpkgs/httperf/template @@ -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"