summaryrefslogtreecommitdiff
path: root/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-12 05:27:32 +0000
committerSam James <sam@gentoo.org>2024-03-12 05:27:32 +0000
commit59c641be74b0f217d0d47763aa9a0f3437b9d76b (patch)
tree7ddad91ce03ec1555ccd69265f09993956bbae89 /net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
parent2f8c57b46ad5450a60adadafdf189f0631500857 (diff)
downloadgentoo-59c641be74b0f217d0d47763aa9a0f3437b9d76b.tar.gz
gentoo-59c641be74b0f217d0d47763aa9a0f3437b9d76b.tar.bz2
gentoo-59c641be74b0f217d0d47763aa9a0f3437b9d76b.zip
net-proxy/nutcracker: add 0.5.0
Closes: https://bugs.gentoo.org/861860 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch')
-rw-r--r--net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch b/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
new file mode 100644
index 000000000000..888779a82514
--- /dev/null
+++ b/net-proxy/nutcracker/files/nutcracker-0.5.0-configure-bashism.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -159,7 +159,7 @@ AS_IF([test "x$ac_cv_epoll_works" = "xno" &&
+ AM_CONDITIONAL([OS_LINUX], [test "x$ac_cv_epoll_works" = "xyes"])
+ AM_CONDITIONAL([OS_BSD], [test "x$ac_cv_kqueue_works" = "xyes"])
+ AM_CONDITIONAL([OS_SOLARIS], [test "x$ac_cv_evports_works" = "xyes"])
+-AM_CONDITIONAL([OS_FREEBSD], [test "$(uname -v | cut -c 1-10)" == "FreeBSD 10"])
++AM_CONDITIONAL([OS_FREEBSD], [test "$(uname -v | cut -c 1-10)" = "FreeBSD 10"])
+
+ # Package options
+ AC_MSG_CHECKING([whether to enable debug logs and asserts])