perl-core/Encode: Drop old versions

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2024-03-14 12:44:23 -04:00
parent d0762e2c74
commit 6a720ce05c
3 changed files with 0 additions and 48 deletions

View File

@@ -1,18 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=DANKOGAI
DIST_VERSION=3.12
inherit perl-module
DESCRIPTION="Character encodings in Perl"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
PATCHES=(
"${FILESDIR}"/${P}-Werror.patch
"${FILESDIR}"/gentoo_enc2xs.diff
)

View File

@@ -1,2 +1 @@
DIST Encode-3.12.tar.gz 2056308 BLAKE2B 9046bb55fc278c8d3d3f60ae295d00b6d6a54371b2e7b83bd3de564ee8c423cd859f3ef7b8a46e83cb6a7fba88741b5316a7e773d544f6cbc91f4360635ee314 SHA512 f9b47dac29df65949c985dc006ad41f68ede3d584b5bb265f7564fb6315e81e9ac23194ae1c4530e4e15c4670c4cf433eb6b1d2cf5542a8ac5d7f0e566db2b81
DIST Encode-3.19.tar.gz 2086567 BLAKE2B e21475d48b71bb192470e56bf3246d68bfcb443358f9af9f537ef562dc44d290ad4d2e14b17a020b58d8569978e2b2dc1e9e62b019b6f604089d64622d13df02 SHA512 0652996d7cd95e02c72128594e79a5b946ee3118e2536e7b5559ccd8a6da1505b23a4c9542266ea11852b792b5130ec21fcd7d99a93bd0a72ea3bcf072cf44aa

View File

@@ -1,29 +0,0 @@
https://github.com/dankogai/p5-encode/commit/7c9c5be4e658a5b37632b46925a2735123f65c6e
https://bugs.gentoo.org/886507
From 7c9c5be4e658a5b37632b46925a2735123f65c6e Mon Sep 17 00:00:00 2001
From: Nicholas Clark <nick@ccl4.org>
Date: Wed, 13 Oct 2021 07:51:58 +0000
Subject: [PATCH] Only add -Werror=declaration-after-statement for 5.035004 and
earlier
Perl v5.35.5 now uses some C99 features. This means that Perl's headers now
contain some code with mixed declarations and code., and so won't compile
with -Werror=declaration-after-statement
It still makes sense to add this flag for builds for earlier perl versions,
because they support long obsolete compilers that are strict in rejecting
certain C99 features, so adding this gcc flag allows us to audit that our
code does not violate this.
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -20,7 +20,7 @@ if (!$ENV{PERL_CORE}) {
$gccver =~ s/\.//g; $gccver =~ s/ .*//;
$gccver .= "0" while length $gccver < 3;
$gccver = 0+$gccver;
- $ccflags .= ' -Werror=declaration-after-statement' if $gccver > 412;
+ $ccflags .= ' -Werror=declaration-after-statement' if $gccver > 412 and $] < 5.035005;
$ccflags .= ' -Wpointer-sign' if !$Config{d_cplusplus} and $gccver > 400;
$ccflags .= ' -fpermissive' if $Config{d_cplusplus};
}