summaryrefslogtreecommitdiff
path: root/dev-perl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-01 20:53:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-01 20:53:45 +0000
commit896d6a8a88861c42b5d531a2f147c8a29a149bd8 (patch)
tree081fe10813721a96088dca6b54bc35bcac18afc6 /dev-perl
parent3059f20995d5ac642b7b4a38d538fdf1cc45d90d (diff)
gentoo auto-resync : 01:12:2022 - 20:53:45
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Manifest.gzbin281779 -> 281779 bytes
-rw-r--r--dev-perl/Math-GMP/Manifest2
-rw-r--r--dev-perl/Math-GMP/Math-GMP-2.250.0.ebuild35
-rw-r--r--dev-perl/TermReadKey/Manifest3
-rw-r--r--dev-perl/TermReadKey/TermReadKey-2.380.0-r1.ebuild (renamed from dev-perl/TermReadKey/TermReadKey-2.380.0.ebuild)4
-rw-r--r--dev-perl/TermReadKey/files/TermReadKey-2.380.0-configure-clang16.patch147
6 files changed, 190 insertions, 1 deletions
diff --git a/dev-perl/Manifest.gz b/dev-perl/Manifest.gz
index 95fa02a24d49..f82e2bfee94f 100644
--- a/dev-perl/Manifest.gz
+++ b/dev-perl/Manifest.gz
Binary files differ
diff --git a/dev-perl/Math-GMP/Manifest b/dev-perl/Math-GMP/Manifest
index aed3c480a63e..258763aaec31 100644
--- a/dev-perl/Math-GMP/Manifest
+++ b/dev-perl/Math-GMP/Manifest
@@ -1,5 +1,7 @@
DIST Math-GMP-2.20.tar.gz 34224 BLAKE2B 752c87fcb3b1b9842822f57bd2ed8c8600ccd117103bc6d4fd957c20c3476224c471a7572557094163b7264781aa2e46ed58a6b3f6b185d691aad28dfa79f839 SHA512 e76a4f2ed9f700029a0b075fcdaecf6fb3792ecfef23fb75f014572b6471be9265b80551c741cda9fe3f323a351a23fb9e5edca2e05300b97509b225aa721b04
DIST Math-GMP-2.23.tar.gz 33639 BLAKE2B 45cb7619928ca27cfa1bdd8cdfc34399d84f85b83bcf5e9df538e4b1f87e19783881dc883f062b4a456ba9e02f26aee1b6292fd2430455713f4e05d25aa0ed00 SHA512 33b5517a1c7c12f8e460025204e5029be594eb48fcd59b1563203b97fb0fe0072a22296a1b9c8df90d68e2c37302d3aae208065d6414d6a74e58df47a995db38
+DIST Math-GMP-2.25.tar.gz 34422 BLAKE2B 1a07225593463145bffc35386b556dbf5fec883dc6a4aee3c5d6cb8c98a2ea2bf11e1eb798960c5ae8a9914d19dcb709c5cb77efa59bdc4012fc2d33acfd21c8 SHA512 485c33dbcd39a747838f59914504fb99dd4b1433f617667e906189581fb5b5050c26d9bb2e686a778cb677352c2355340f999f76068c469e1561c60dfe61ff8b
EBUILD Math-GMP-2.200.0.ebuild 648 BLAKE2B 411a8ce8035de301e4e8cfcad8f6ca4541e6973b5108b2783ca674a78badb4fd89b8501068c57041f2b92fd012f9b512e6329dcf129b97af13f292502e14fbd7 SHA512 48cb09d7d8dc05a64fa121d49b8bc6207801a3ea329c77ce29c6ee3c12864c2677c1cd8380507233bd78619d94c32d2dc5ada1e37aaadbae32e9f6078e62ae6e
EBUILD Math-GMP-2.230.0.ebuild 610 BLAKE2B 8c0d0da0697dd90ab99c1986ffe25e47dc268b7c10f1cc6e16295369f6ad91f646d3006de99208f9a3fb2080238f1a01a081846f85673b8fcc2bc22566e1e79d SHA512 986b4404ada0cc01add58fe22916fc986fac87dbbcac09786306722fa3b5b309bcffffc7beaa34358e1c7de8e6b86b547a0a6f4ca616581c0c997725c97b4489
+EBUILD Math-GMP-2.250.0.ebuild 672 BLAKE2B 0e9a265d77a920c3b7693f42b0fdf9f128fb38914035692d182da826ff3da8eb95779b796d64924dbcc9be48c4bb17a934e4ac5c3c570d433ddb8e247ceae86b SHA512 9f0d187b136616c8280838d1290187d33800f6c3bc65dadbc3437e680a996ff0a923bdd323721ebf7ec4b7c1178c83cb80f392b4406f3ca39a0f8fd42087232f
MISC metadata.xml 389 BLAKE2B 7d6ca48961b3a31ba0df3223527a4f896b4d6cc733b4fb1027dc779b96ac8cd65cc7d80dc7eb60159d7343a4031d336baf97a766e97d1469860c6e24b94d40eb SHA512 b17c65047dec2c123e4a2ab1bc529cf79a14ec2da2ee3e75a38caacd1d2dd25ebba912d1c86d5c566f9e29fe392b2451ec4831ca639f9cf9666035419072af20
diff --git a/dev-perl/Math-GMP/Math-GMP-2.250.0.ebuild b/dev-perl/Math-GMP/Math-GMP-2.250.0.ebuild
new file mode 100644
index 000000000000..c25f7166b15a
--- /dev/null
+++ b/dev-perl/Math-GMP/Math-GMP-2.250.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=SHLOMIF
+DIST_VERSION=2.25
+inherit perl-module
+
+DESCRIPTION="High speed arbitrary size integer math"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~x86"
+
+RDEPEND="
+ virtual/perl-AutoLoader
+ virtual/perl-Carp
+ virtual/perl-Exporter
+ dev-libs/gmp:=
+"
+DEPEND="dev-libs/gmp:="
+BDEPEND="
+ ${RDEPEND}
+ >=dev-perl/Alien-GMP-1.80.0
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Data-Dumper
+ virtual/perl-File-Spec
+ virtual/perl-File-Temp
+ virtual/perl-IO
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Test-Simple
+ )
+"
diff --git a/dev-perl/TermReadKey/Manifest b/dev-perl/TermReadKey/Manifest
index 3e018f733c94..f22e21001e09 100644
--- a/dev-perl/TermReadKey/Manifest
+++ b/dev-perl/TermReadKey/Manifest
@@ -1,3 +1,4 @@
+AUX TermReadKey-2.380.0-configure-clang16.patch 5482 BLAKE2B 7d8ae1218a01d22679f78525d5bcc99db3bdec19f4c25be4aa1bc1c38272b98ab212ce18ab02f7d245381efb0b4bb33eb402465adaa8d9e8dfa7ccc9fc58ccc3 SHA512 a792768041addcbd7be085f0354c90ad2e9baa711250e34515d7a53451c09f665f05fbc3b422be998154bbee04ca66e8a3c050c6d8fbfd177d9a4b74a11b1abc
DIST TermReadKey-2.38.tar.gz 85164 BLAKE2B 7fe1b7af17d66598dd39b81a667e0a16061694fcd37521dccb355295ff2980836e2d5e58cafd22ed370e790b33d39c2232a64785aa01d9c2cc6c30d6bafe9484 SHA512 fb09f013f9f0d8a4397e39f6f3db7a6d023259219af8f76744094e396437a01b19141b3cdb39a158d3b518903fb010088bc37406763bfbeb3fcab810bb0bb157
-EBUILD TermReadKey-2.380.0.ebuild 546 BLAKE2B 73d78f44377c8442b71ac7527cd8054af6de91aae5eb0761b77c80f06ee9fad00077507bf8bddb333097fdec53023bfd17f2d637d489ea766c070ab6109fe5b0 SHA512 98ae5d17561b3d679450baf9dc133550ae355adeac6b7cc67de168e81a3da7fe946d59d3cddee5a33018d9ed964f7b031c44dd79abf1420fb3c38aed36c6dd97
+EBUILD TermReadKey-2.380.0-r1.ebuild 603 BLAKE2B 46a9fe1a66436cea8657847425eeab8a2d1538a782311afd614b73801eaeda5302553135230ea2747ab2d8a9d0914b8474f44846dc6aef7afad1ea7033649f0f SHA512 8827b7a23a32c6a1f5f2f55f4fc73555b8de9598cfd5d22346499a632b7416dce544f76d69a8c0787aab4e9c940c943d169ab28e02d829340acf27132c01a3c0
MISC metadata.xml 396 BLAKE2B 6abcd7025d5f4d5f838cf1bd6454ff2f3ad76519eb6b70d69adf1f759444a4f125ecab0e54664ecee4e1898edd3b6863ca3b10a64d4f2044b73f4360a84a596c SHA512 e6ba355dd842b2316630a8fe4889840b3bfca17e98752e74b1a9d4e512440687456e4c056b95dd554b00273f6111e9cede6d9fc535644fe09b53f222cc196ab1
diff --git a/dev-perl/TermReadKey/TermReadKey-2.380.0.ebuild b/dev-perl/TermReadKey/TermReadKey-2.380.0-r1.ebuild
index 667ae933ef4b..ade673b4b431 100644
--- a/dev-perl/TermReadKey/TermReadKey-2.380.0.ebuild
+++ b/dev-perl/TermReadKey/TermReadKey-2.380.0-r1.ebuild
@@ -16,3 +16,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv
BDEPEND="
>=virtual/perl-ExtUtils-MakeMaker-6.580.0
"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-configure-clang16.patch
+)
diff --git a/dev-perl/TermReadKey/files/TermReadKey-2.380.0-configure-clang16.patch b/dev-perl/TermReadKey/files/TermReadKey-2.380.0-configure-clang16.patch
new file mode 100644
index 000000000000..c53eff0e150a
--- /dev/null
+++ b/dev-perl/TermReadKey/files/TermReadKey-2.380.0-configure-clang16.patch
@@ -0,0 +1,147 @@
+https://github.com/jonathanstowe/TermReadKey/commit/1e3455135ac17f25ce0c4f01722a184a1fb5c4d1
+
+From 1e3455135ac17f25ce0c4f01722a184a1fb5c4d1 Mon Sep 17 00:00:00 2001
+From: Florian Weimer <fweimer@redhat.com>
+Date: Fri, 25 Nov 2022 17:28:56 +0100
+Subject: [PATCH] Configure.pm: Specify the return type of main as int
+
+Implicit int is a language feature that was removed in the 1999
+version of the C language.
+
+I could not fix DeducePrototype because I do not see how it
+can work reliably with this approach. I don't think TermReadKey
+uses this function.
+--- a/Configure.pm
++++ b/Configure.pm
+@@ -503,7 +503,7 @@ by the compiler is returned.
+ =cut
+
+ sub CheckHeader { #Find a header (or set of headers) that exists
+- ApplyHeaders("main(){}",@_);
++ ApplyHeaders("int main(){}",@_);
+ }
+
+ =head2 CheckStructure
+@@ -516,7 +516,7 @@ properly will be returned. B<undef> will be returned if nothing succeeds.
+
+ sub CheckStructure { # Check existance of a structure.
+ my($structname,@headers) = @_;
+- ApplyHeaders("main(){ struct $structname s;}",@headers);
++ ApplyHeaders("int main(){ struct $structname s;}",@headers);
+ }
+
+ =head2 CheckField
+@@ -530,7 +530,7 @@ be returned if nothing succeeds.
+
+ sub CheckField { # Check for the existance of specified field in structure
+ my($structname,$fieldname,@headers) = @_;
+- ApplyHeaders("main(){ struct $structname s1; struct $structname s2;
++ ApplyHeaders("int main(){ struct $structname s1; struct $structname s2;
+ s1.$fieldname = s2.$fieldname; }",@headers);
+ }
+
+@@ -544,7 +544,7 @@ that symbol will be returned. B<undef> will be returned if nothing succeeds.
+
+ sub CheckLSymbol { # Check for linkable symbol
+ my($symbol,@libs) = @_;
+- ApplyLibs("main() { void * f = (void *)($symbol); }",@libs);
++ ApplyLibs("int main() { void * f = (void *)($symbol); }",@libs);
+ }
+
+ =head2 CheckSymbol
+@@ -558,7 +558,8 @@ B<undef> will be returned if nothing succeeds.
+
+ sub CheckSymbol { # Check for linkable/header symbol
+ my($symbol,@lookup) = @_;
+- ApplyHeadersAndLibs("main() { void * f = (void *)($symbol); }",@lookup);
++ ApplyHeadersAndLibs("int main() { void * f = (void *)($symbol); }",
++ @lookup);
+ }
+
+ =head2 CheckHSymbol
+@@ -571,7 +572,7 @@ that symbol will be returned. B<undef> will be returned if nothing succeeds.
+
+ sub CheckHSymbol { # Check for header symbol
+ my($symbol,@headers) = @_;
+- ApplyHeaders("main() { void * f = (void *)($symbol); }",@headers);
++ ApplyHeaders("int main() { void * f = (void *)($symbol); }",@headers);
+ }
+
+ =head2 CheckHPrototype (unexported)
+@@ -591,7 +592,7 @@ sub CheckHPrototype { # Check for header prototype.
+ # names function doesn't exist, this call will _succeed_. Caveat Utilitor.
+ my($function,$proto,@headers) = @_;
+ my(@proto) = @{$proto};
+- ApplyHeaders("main() { extern ".$proto[0]." $function(".
++ ApplyHeaders("int main() { extern ".$proto[0]." $function(".
+ join(",",@proto[1..$#proto])."); }",@headers);
+ }
+
+@@ -612,7 +613,8 @@ Example:
+ sub GetSymbol { # Check for linkable/header symbol
+ my($symbol,$printf,$cast,@lookup) = @_,"","";
+ scalar(ApplyHeadersAndLibsAndExecute(
+- "main(){ printf(\"\%$printf\",($cast)($symbol));exit(0);}",@lookup));
++ "int main(){ printf(\"\%$printf\",($cast)($symbol));exit(0);}",
++ @lookup));
+ }
+
+ =head2 GetTextSymbol
+@@ -768,7 +770,7 @@ main(){ }");
+ "double","long double",
+ "char","unsigned char","short int","unsigned short int");
+
+- if(Compile("main(){flurfie a;}")) { @types = (); }
++ if(Compile("int main(){flurfie a;}")) { @types = (); }
+
+ $Verbose=0;
+
+@@ -781,7 +783,7 @@ main(){ }");
+ if(Compile("
+ extern void func($types[$i]);
+ extern void func($types[$j]);
+-main(){}")) {
++int main(){}")) {
+ print "Removing type $types[$j] because it equals $types[$i]\n";
+ splice(@types,$j,1);
+ $j--;
+@@ -795,7 +797,7 @@ main(){}")) {
+ if(Compile("
+ $types[$i] func(void);
+ extern $types[$j] func(void);
+-main(){}")) {
++int main(){}")) {
+ print "Removing type $types[$j] because it equals $types[$i]\n";
+ splice(@types,$j,1);
+ $j--;
+@@ -833,7 +835,7 @@ main(){}")) {
+ # Can we check the return type without worry about arguements?
+ if($checkreturn and (!$checknilargs or !$checkniletcargs)) {
+ for (@types) {
+- if(ApplyHeaders("extern $_ $function(". ($checknilargs?"...":"").");main(){}",[@headers])) {
++ if(ApplyHeaders("extern $_ $function(". ($checknilargs?"...":"").");int main(){}",[@headers])) {
+ $rettype = $_; # Great, we found the return type.
+ last;
+ }
+@@ -847,9 +849,9 @@ main(){}")) {
+ my $numargs=-1;
+ my $varargs=0;
+ for (0..32) {
+- if(ApplyHeaders("main(){ $function(".join(",",("0") x $_).");}",@headers)) {
++ if(ApplyHeaders("int main(){ $function(".join(",",("0") x $_).");}",@headers)) {
+ $numargs=$_;
+- if(ApplyHeaders("main(){ $function(".join(",",("0") x ($_+1)).");}",@headers)) {
++ if(ApplyHeaders("int main(){ $function(".join(",",("0") x ($_+1)).");}",@headers)) {
+ $varargs=1;
+ }
+ last
+@@ -865,7 +867,7 @@ main(){}")) {
+
+ if(@args>0 and !defined($rettype)) {
+ for (@types) {
+- if(defined(ApplyHeaders("extern $_ $function(".join(",",@args).");main(){}",[@headers]))) {
++ if(defined(ApplyHeaders("extern $_ $function(".join(",",@args).");int main(){}",[@headers]))) {
+ $rettype = $_; # Great, we found the return type.
+ last;
+ }
+