From aca32f9642b9739ef038491713c920febf03a854 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Fri, 30 Jun 2023 07:46:10 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 22 +++++- threads-2.21-Upgrade-to-2.25.patch | 103 ----------------------------- 2 files changed, 21 insertions(+), 104 deletions(-) delete mode 100644 threads-2.21-Upgrade-to-2.25.patch diff --git a/.gitignore b/.gitignore index 93af8a5..0409555 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,22 @@ -SOURCES/threads-2.21.tar.gz +/threads-1.79.tar.gz +/threads-1.81.tar.gz +/threads-1.82.tar.gz +/threads-1.83.tar.gz +/threads-1.85.tar.gz +/threads-1.86.tar.gz +/threads-1.87.tar.gz +/threads-1.89.tar.gz +/threads-1.92.tar.gz +/threads-1.96.tar.gz +/threads-1.97.tar.gz +/threads-1.98.tar.gz +/threads-1.99.tar.gz +/threads-2.01.tar.gz +/threads-2.02.tar.gz +/threads-2.07.tar.gz +/threads-2.08.tar.gz +/threads-2.09.tar.gz +/threads-2.12.tar.gz +/threads-2.15.tar.gz +/threads-2.16.tar.gz /threads-2.21.tar.gz diff --git a/threads-2.21-Upgrade-to-2.25.patch b/threads-2.21-Upgrade-to-2.25.patch deleted file mode 100644 index 02ac54e..0000000 --- a/threads-2.21-Upgrade-to-2.25.patch +++ /dev/null @@ -1,103 +0,0 @@ -From 0bb2d0b00e011f1d77d1766fac4777c6bc376af7 Mon Sep 17 00:00:00 2001 -From: Jitka Plesnikova -Date: Mon, 1 Jun 2020 13:23:16 +0200 -Subject: [PATCH] Upgrade to 2.25 - ---- - lib/threads.pm | 22 +++++++++++----------- - threads.xs | 2 +- - 2 files changed, 12 insertions(+), 12 deletions(-) - -diff --git a/lib/threads.pm b/lib/threads.pm -index 1b99567..ee201a2 100644 ---- a/lib/threads.pm -+++ b/lib/threads.pm -@@ -5,7 +5,7 @@ use 5.008; - use strict; - use warnings; - --our $VERSION = '2.22'; # remember to update version in POD! -+our $VERSION = '2.25'; # remember to update version in POD! - my $XS_VERSION = $VERSION; - $VERSION = eval $VERSION; - -@@ -134,13 +134,13 @@ threads - Perl interpreter-based threads - - =head1 VERSION - --This document describes threads version 2.21 -+This document describes threads version 2.25 - - =head1 WARNING - - The "interpreter-based threads" provided by Perl are not the fast, lightweight - system for multitasking that one might expect or hope for. Threads are --implemented in a way that make them easy to misuse. Few people know how to -+implemented in a way that makes them easy to misuse. Few people know how to - use them correctly or will be able to provide help. - - The use of interpreter-based threads in perl is officially -@@ -914,7 +914,7 @@ C<-Eimport()>) after any threads are started, and in such a way that no - other threads are started afterwards. - - If the above does not work, or is not adequate for your application, then file --a bug report on L against the problematic module. -+a bug report on L against the problematic module. - - =item Memory consumption - -@@ -1090,7 +1090,7 @@ determine whether your system supports it. - - In prior perl versions, spawning threads with open directory handles would - crash the interpreter. --L<[perl #75154]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75154> -+L<[perl #75154]|https://rt.perl.org/rt3/Public/Bug/Display.html?id=75154> - - =item Detached threads and global destruction - -@@ -1118,8 +1118,8 @@ unreferenced scalars. However, such warnings are harmless, and may safely be - ignored. - - You can search for L related bug reports at --L. If needed submit any new bugs, problems, --patches, etc. to: L -+L. If needed submit any new bugs, problems, -+patches, etc. to: L - - =back - -@@ -1137,14 +1137,14 @@ L - - L, L - --L and --L -+L and -+L - - Perl threads mailing list: --L -+L - - Stack size discussion: --L -+L - - Sample code in the I directory of this distribution on CPAN. - -diff --git a/threads.xs b/threads.xs -index 3da9165..ab64dc0 100644 ---- a/threads.xs -+++ b/threads.xs -@@ -676,7 +676,7 @@ S_ithread_run(void * arg) - } - - /* At this point, the interpreter may have been freed, so call -- * free in the the context of of the 'main' interpreter which -+ * free in the context of the 'main' interpreter which - * can't have been freed due to the veto_cleanup mechanism. - */ - aTHX = MY_POOL.main_thread.interp; --- -2.25.4 -