summaryrefslogtreecommitdiff
path: root/net-ftp/proftpd/files/proftpd-1.3.6a-fix-libcheck.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/proftpd/files/proftpd-1.3.6a-fix-libcheck.patch')
-rw-r--r--net-ftp/proftpd/files/proftpd-1.3.6a-fix-libcheck.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/net-ftp/proftpd/files/proftpd-1.3.6a-fix-libcheck.patch b/net-ftp/proftpd/files/proftpd-1.3.6a-fix-libcheck.patch
new file mode 100644
index 000000000000..93752c43e926
--- /dev/null
+++ b/net-ftp/proftpd/files/proftpd-1.3.6a-fix-libcheck.patch
@@ -0,0 +1,28 @@
+Fix test suite detection.
+
+https://github.com/proftpd/proftpd/pull/839
+
+Reported-by: Toralf Förster
+Bug: https://bugs.gentoo.org/697782
+--- a/configure.in
++++ b/configure.in
+@@ -991,7 +991,7 @@ AC_ARG_ENABLE(tests,
+ [enable unit tests (default=no)])
+ ],
+ [
+- if test "$enableval" != xno ; then
++ if test x"$enableval" != xno ; then
+ AC_CHECK_HEADERS(check.h)
+
+ AC_CHECK_LIB(check, tcase_create,
+--- a/configure
++++ b/configure
+@@ -20639,7 +20639,7 @@ ENABLE_TESTS="\"\""
+ # Check whether --enable-tests was given.
+ if test "${enable_tests+set}" = set; then
+ enableval=$enable_tests;
+- if test "$enableval" != xno ; then
++ if test x"$enableval" != xno ; then
+
+ for ac_header in check.h
+ do