summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2021-08-04 20:00:00 -0400
committerMichael Orlitzky <mjo@gentoo.org>2021-08-04 20:02:38 -0400
commit71595d02b69ce844e12e2344531f6af9e437c4d1 (patch)
tree1799897eec768b676789a1aae6750399e027b9bb /sci-libs/qd/files/0007-config.h.in-remove-QD_DEBUG-constant.patch
parentnet-analyzer/nsat: port to EAPI 7, fix configure with non-bash (diff)
downloadgentoo-71595d02b69ce844e12e2344531f6af9e437c4d1.tar.gz
gentoo-71595d02b69ce844e12e2344531f6af9e437c4d1.tar.bz2
gentoo-71595d02b69ce844e12e2344531f6af9e437c4d1.zip
sci-libs/qd: new revision that works with autoconf-2.71.
In this -r1, I've added a patch that solves bug 775215 by not setting CC=$CXX during ./configure. At the same time, I've refactored our other build system patch into a series of smaller patches (with explanatory commit messages) that can be sent upstream. Finally, I've removed USE=static-libs support from the ebuild. It doesn't do anyone any good. Closes: https://bugs.gentoo.org/775215 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-libs/qd/files/0007-config.h.in-remove-QD_DEBUG-constant.patch')
-rw-r--r--sci-libs/qd/files/0007-config.h.in-remove-QD_DEBUG-constant.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/sci-libs/qd/files/0007-config.h.in-remove-QD_DEBUG-constant.patch b/sci-libs/qd/files/0007-config.h.in-remove-QD_DEBUG-constant.patch
new file mode 100644
index 000000000000..f3538b4953e6
--- /dev/null
+++ b/sci-libs/qd/files/0007-config.h.in-remove-QD_DEBUG-constant.patch
@@ -0,0 +1,29 @@
+From 0e7e6933467c76f97c4c1233558c3e1f8f17b52e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 4 Aug 2021 19:08:36 -0400
+Subject: [PATCH 07/12] config.h.in: remove QD_DEBUG constant.
+
+Having removed the --enable-debug flag from the configure script in an
+earlier commit, the constant QD_DEBUG will never be defined (or used,
+as it happens) in config.h. We remove it too.
+---
+ config.h.in | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/config.h.in b/config.h.in
+index a08fd0e..dcb4272 100644
+--- a/config.h.in
++++ b/config.h.in
+@@ -112,9 +112,6 @@
+ /* Define this macro to be the copysign(x, y) function. */
+ #undef QD_COPYSIGN
+
+-/* Define to 1 to enable debugging code. */
+-#undef QD_DEBUG
+-
+ /* If fused multiply-add is available, define correct macro for using it. */
+ #undef QD_FMA
+
+--
+2.31.1
+