From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Crypt-Twofish/, dev-perl/Crypt-Twofish/files/
Date: Wed, 4 Jan 2023 04:32:42 +0000 (UTC) [thread overview]
Message-ID: <1672806722.ff1fcba28ce2f58511dafeaf24ba726feef774f9.sam@gentoo> (raw)
commit: ff1fcba28ce2f58511dafeaf24ba726feef774f9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 4 04:30:53 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 4 04:32:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff1fcba2
dev-perl/Crypt-Twofish: fix configure w/ clang 16
Signed-off-by: Sam James <sam <AT> gentoo.org>
...ofish-2.180.0.ebuild => Crypt-Twofish-2.180.0-r1.ebuild} | 6 +++++-
.../files/Crypt-Twofish-2.180.0-configure-clang16.patch | 13 +++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/dev-perl/Crypt-Twofish/Crypt-Twofish-2.180.0.ebuild b/dev-perl/Crypt-Twofish/Crypt-Twofish-2.180.0-r1.ebuild
similarity index 77%
rename from dev-perl/Crypt-Twofish/Crypt-Twofish-2.180.0.ebuild
rename to dev-perl/Crypt-Twofish/Crypt-Twofish-2.180.0-r1.ebuild
index 08416159288b..5468e3cab0b2 100644
--- a/dev-perl/Crypt-Twofish/Crypt-Twofish-2.180.0.ebuild
+++ b/dev-perl/Crypt-Twofish/Crypt-Twofish-2.180.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,6 +12,10 @@ DESCRIPTION="The Twofish Encryption Algorithm"
SLOT="0"
KEYWORDS="amd64 ~ia64 ~ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.180.0-configure-clang16.patch
+)
+
src_compile() {
mymake=(
"OPTIMIZE=${CFLAGS}"
diff --git a/dev-perl/Crypt-Twofish/files/Crypt-Twofish-2.180.0-configure-clang16.patch b/dev-perl/Crypt-Twofish/files/Crypt-Twofish-2.180.0-configure-clang16.patch
new file mode 100644
index 000000000000..4dbb15364190
--- /dev/null
+++ b/dev-perl/Crypt-Twofish/files/Crypt-Twofish-2.180.0-configure-clang16.patch
@@ -0,0 +1,13 @@
+https://gitlab.com/fweimer-rh/fedora-modernc/-/commit/1dfd7bb468b91abb93f6b3c54c8b1dcdaf8ccdff
+https://rt.cpan.org/Public/Bug/Display.html?id=145461
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -6,6 +6,7 @@ use ExtUtils::MakeMaker;
+
+ ($stdint = <<"TEST") =~ s/^\| {0,3}//gm;
+ | #include <stdint.h>
++| #include <stdio.h>
+ | int main(void) {
+ | printf("%d%d", sizeof(uint16_t), sizeof(uint32_t));
+ | return 0;
+
reply other threads:[~2023-01-04 4:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1672806722.ff1fcba28ce2f58511dafeaf24ba726feef774f9.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox