diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch')
-rw-r--r-- | sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch b/sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch new file mode 100644 index 000000000000..73c9b4386fd1 --- /dev/null +++ b/sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch @@ -0,0 +1,27 @@ +From 94010a8c4c93c6ba9520b7c26bb6cb36344a4bf9 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Wed, 1 Jun 2022 22:11:48 -0400 +Subject: [PATCH 1/1] configure.ac: fix bashism in --with-qd test. + +There's a double-equals test here that doesn't work properly when +/bin/sh is not bash. We simply change it to single-equals. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 0ccc4c4..ed0cd59 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -104,7 +104,7 @@ AS_IF([test -z "$with_qd"], [with_qd=yes]) + # and libraries if that didn't work for some reason. + # + # We only show a warning if we cannot find libqd, it is optional but recommended +-AS_IF([test "x$with_qd" == "xyes"], [ ++AS_IF([test "x$with_qd" = "xyes"], [ + PKG_CHECK_MODULES([LIBQD], [qd], [have_libqd="yes"], [ + # fall back to manual search. + AC_SEARCH_LIBS(c_dd_add, +-- +2.35.1 + |