summaryrefslogtreecommitdiff
path: root/app-text/pspdftool/pspdftool-0.03.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/pspdftool/pspdftool-0.03.ebuild')
-rw-r--r--app-text/pspdftool/pspdftool-0.03.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/app-text/pspdftool/pspdftool-0.03.ebuild b/app-text/pspdftool/pspdftool-0.03.ebuild
index 5dff5b9d0d33..97d533be413d 100644
--- a/app-text/pspdftool/pspdftool-0.03.ebuild
+++ b/app-text/pspdftool/pspdftool-0.03.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools
+inherit autotools flag-o-matic
DESCRIPTION="Tool for prepress preparation of PDF and PostScript documents"
HOMEPAGE="https://sourceforge.net/projects/pspdftool"
@@ -24,6 +24,12 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing; do not trust for LTO-safety either.
+ # https://bugs.gentoo.org/855023
+ # Upstream is dead for nearly a decade. Not forwarded.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
econf $(use_with zlib)
}