summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-12 00:07:17 -0400
committerSam James <sam@gentoo.org>2024-03-12 05:15:39 +0000
commit65c4d815a053b023f48cf96ca632a2afe8cb394a (patch)
tree7c709653084fd94e73cd2e0481105f06734c8a29 /net-print/mtink/mtink-1.0.16-r2.ebuild
parentnet-print/mtink: update HOMEPAGE, SRC_URI (diff)
downloadgentoo-65c4d815a053b023f48cf96ca632a2afe8cb394a.tar.gz
gentoo-65c4d815a053b023f48cf96ca632a2afe8cb394a.tar.bz2
gentoo-65c4d815a053b023f48cf96ca632a2afe8cb394a.zip
net-print/mtink: fix LTO and Modern C bugs
Import a patch from debian which fixes both issues by: - including the correct headers - avoiding conflicting definitions of two functions by deleting the conflicting one and #include'ing the other one everywhere Closes: https://bugs.gentoo.org/861854 Closes: https://bugs.gentoo.org/885963 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-print/mtink/mtink-1.0.16-r2.ebuild')
-rw-r--r--net-print/mtink/mtink-1.0.16-r2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-print/mtink/mtink-1.0.16-r2.ebuild b/net-print/mtink/mtink-1.0.16-r2.ebuild
index 32b8c51473ac..4d46836b2d1f 100644
--- a/net-print/mtink/mtink-1.0.16-r2.ebuild
+++ b/net-print/mtink/mtink-1.0.16-r2.ebuild
@@ -32,6 +32,7 @@ PATCHES=(
"${FILESDIR}"/${P}-flags.patch
"${FILESDIR}"/${P}-motif.patch
"${FILESDIR}"/${P}-fno-common.patch
+ "${FILESDIR}"/${P}-fix-function-declarations.patch
)
src_prepare() {