commit: 0c3d907220cac2892ac156a9257866f36a944e1d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 01:33:31 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 11 01:33:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c3d9072
dev-lang/perl: fix -Wimplicit-int in prefix check
-Wimplicit-int becomes an error by default in newer compilers.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/perl/perl-5.38.2-r2.ebuild | 2 +-
dev-lang/perl/perl-5.38.2-r3.ebuild | 2 +-
dev-lang/perl/perl-5.38.2-r4.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-lang/perl/perl-5.38.2-r2.ebuild
b/dev-lang/perl/perl-5.38.2-r2.ebuild
index a6120f17e34e..3f586f1612f2 100644
--- a/dev-lang/perl/perl-5.38.2-r2.ebuild
+++ b/dev-lang/perl/perl-5.38.2-r2.ebuild
@@ -650,7 +650,7 @@ src_configure() {
if use prefix ; then
# Set a hook to check for each detected library whether it
actually works.
export libscheck="
- ( echo 'main(){}' > '${T}'/conftest.c &&
+ ( echo 'int main(){}' > '${T}'/conftest.c &&
$(tc-getCC) -o '${T}'/conftest
'${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
) || xxx=/dev/null"
diff --git a/dev-lang/perl/perl-5.38.2-r3.ebuild
b/dev-lang/perl/perl-5.38.2-r3.ebuild
index 025d3b8ae213..56925312ea9f 100644
--- a/dev-lang/perl/perl-5.38.2-r3.ebuild
+++ b/dev-lang/perl/perl-5.38.2-r3.ebuild
@@ -680,7 +680,7 @@ src_configure() {
if use prefix ; then
# Set a hook to check for each detected library whether it
actually works.
export libscheck="
- ( echo 'main(){}' > '${T}'/conftest.c &&
+ ( echo 'int main(){}' > '${T}'/conftest.c &&
$(tc-getCC) -o '${T}'/conftest
'${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
) || xxx=/dev/null"
diff --git a/dev-lang/perl/perl-5.38.2-r4.ebuild
b/dev-lang/perl/perl-5.38.2-r4.ebuild
index 64babaaa08fb..736657d7a501 100644
--- a/dev-lang/perl/perl-5.38.2-r4.ebuild
+++ b/dev-lang/perl/perl-5.38.2-r4.ebuild
@@ -680,7 +680,7 @@ src_configure() {
if use prefix ; then
# Set a hook to check for each detected library whether it
actually works.
export libscheck="
- ( echo 'main(){}' > '${T}'/conftest.c &&
+ ( echo 'int main(){}' > '${T}'/conftest.c &&
$(tc-getCC) -o '${T}'/conftest
'${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
) || xxx=/dev/null"