summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/nghttp2/files/nghttp2-1.0.2-third-party.patch')
-rw-r--r--net-libs/nghttp2/files/nghttp2-1.0.2-third-party.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-libs/nghttp2/files/nghttp2-1.0.2-third-party.patch b/net-libs/nghttp2/files/nghttp2-1.0.2-third-party.patch
new file mode 100644
index 000000000000..9e5323bc81e8
--- /dev/null
+++ b/net-libs/nghttp2/files/nghttp2-1.0.2-third-party.patch
@@ -0,0 +1,34 @@
+From 19309823aa5e4e9a65436bbc32430c9092e5d233 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Wed, 17 Jun 2015 13:29:37 -0400
+Subject: [PATCH] enable third-party for asio_lib too
+
+Since this library uses the third-party subdir, make sure we auto-enable
+it when that lib is turned on.
+---
+ configure.ac | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index be51a24..8e81741 100644
+--- a/configure
++++ b/configure
+@@ -464,11 +464,12 @@ fi
+
+ AM_CONDITIONAL([ENABLE_EXAMPLES], [ test "x${enable_examples}" = "xyes" ])
+
+-# third-party only be built if either enable_examples or enable_app is
+-# yes
++# third-party only be built when needed
+
+ enable_third_party=no
+-if test "x${enable_examples}" = "xyes" || test "x${enable_app}" = "xyes"; then
++if test "x${enable_examples}" = "xyes" ||
++ test "x${enable_app}" = "xyes" ||
++ test "x${enable_asio_lib}" = "xyes"; then
+ enable_third_party=yes
+ fi
+
+--
+2.4.1
+