aboutsummaryrefslogtreecommitdiffstats
path: root/net/mpd5
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-03-24 05:09:48 +0800
committerdim <dim@FreeBSD.org>2015-03-24 05:09:48 +0800
commit7a0219d81037438e1bca3cb3a7d8fc84c8c06b64 (patch)
tree1e62e70c2805f8dfe7db9f712fdf787dafa810a8 /net/mpd5
parentf6cf7361dcfb66ab9d3afbdc32707bb9c237c7b1 (diff)
downloadfreebsd-ports-gnome-7a0219d81037438e1bca3cb3a7d8fc84c8c06b64.tar.gz
freebsd-ports-gnome-7a0219d81037438e1bca3cb3a7d8fc84c8c06b64.tar.zst
freebsd-ports-gnome-7a0219d81037438e1bca3cb3a7d8fc84c8c06b64.zip
Fix build of net/mpd5, after SSLv2 was disabled in base.
Approved by: portmgr (bdrewery) PR: 198791
Diffstat (limited to 'net/mpd5')
-rw-r--r--net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c b/net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c
new file mode 100644
index 000000000000..c6470fa7c69c
--- /dev/null
+++ b/net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c
@@ -0,0 +1,11 @@
+--- src/contrib/libpdel/http/http_server.c.orig 2013-06-11 11:00:00.000000000 +0200
++++ src/contrib/libpdel/http/http_server.c 2015-03-23 21:01:49.295512000 +0100
+@@ -197,7 +197,7 @@ http_server_start(struct pevent_ctx *ctx
+ _http_ssl_init();
+
+ /* Initialize SSL context for this server */
+- if ((serv->ssl = SSL_CTX_new(SSLv2_server_method())) == NULL) {
++ if ((serv->ssl = SSL_CTX_new(SSLv23_server_method())) == NULL) {
+ ssl_log(http_server_ssl_logger, serv);
+ goto fail;
+ }