From 5a0ee354ebad0717d39d662b29bbe91644616837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Wed, 1 Jul 2015 07:53:09 +0200
Subject: 6.46 bump
diff --git a/.gitignore b/.gitignore
index 130297b..0e93ccd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
/Coro-6.43.tar.gz
/Coro-6.44.tar.gz
/Coro-6.45.tar.gz
+/Coro-6.46.tar.gz
diff --git a/Coro-6.44-Fix-coro_enterleave_hook-invocations.patch
b/Coro-6.44-Fix-coro_enterleave_hook-invocations.patch
deleted file mode 100644
index d4f330a..0000000
--- a/Coro-6.44-Fix-coro_enterleave_hook-invocations.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 803d1ef574ed183d0979e1f2cc81552396d8c6e3 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
-Date: Tue, 30 Jun 2015 12:50:36 +0200
-Subject: [PATCH] Fix coro_enterleave_hook invocations
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The hook has type of:
-
-typedef void (*coro_enterleave_hook) (pTHX_ void *arg);
-
-so it needs perl context as the first argument. It prevents from
-compilation on thread-enabled perl.
-
-Signed-off-by: Petr Písař <ppisar(a)redhat.com>
----
- Coro/State.xs | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Coro/State.xs b/Coro/State.xs
-index c2abc8c..76b546f 100644
---- a/Coro/State.xs
-+++ b/Coro/State.xs
-@@ -2872,7 +2872,7 @@ enterleave_unhook_xs (pTHX_ struct coro *coro, AV **avp,
coro_enterleave_hook ho
- if (AvARRAY (av)[i] == (SV *)hook)
- {
- if (execute)
-- hook ((void *)AvARRAY (av)[i + 1]);
-+ hook (aTHX_ (void *)AvARRAY (av)[i + 1]);
-
- memmove (AvARRAY (av) + i, AvARRAY (av) + i + 2, AvFILLp (av) - i - 1);
- av_pop (av);
-@@ -2894,7 +2894,7 @@ api_enterleave_hook (pTHX_ SV *coro_sv, coro_enterleave_hook enter,
void *enter_
-
- if (SvSTATE_current == coro)
- if (enter)
-- enter (aTHX enter_arg);
-+ enter (aTHX_ enter_arg);
-
- enterleave_hook_xs (aTHX_ coro, &coro->on_enter_xs, enter, enter_arg);
- enterleave_hook_xs (aTHX_ coro, &coro->on_leave_xs, leave, leave_arg);
---
-2.4.3
-
diff --git a/perl-Coro.spec b/perl-Coro.spec
index 2a44b36..5ddf7c4 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -1,5 +1,5 @@
Name: perl-Coro
-Version: 6.45
+Version: 6.46
Release: 1%{?dist}
Summary: The only real threads in perl
# Coro/libcoro: GPLv2 or BSD
@@ -9,8 +9,6 @@ Group: Development/Libraries
URL:
http://search.cpan.org/dist/Coro/
Source0:
http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Coro-%{version}.tar.gz
Patch0: %{name}-5.25-ucontext-default.patch
-# Fix building on thread-enabled perl
-Patch1: Coro-6.44-Fix-coro_enterleave_hook-invocations.patch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: libecb-static
@@ -112,7 +110,6 @@ programming much safer and easier than using other thread models.
# use ucontext backend on non-x86 (setjmp didn't work on s390(x))
%patch0 -p1 -b .ucontext-default
%endif
-%patch1 -p1
# Unbundle libecb
rm Coro/ecb.h
@@ -161,6 +158,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Wed Jul 01 2015 Petr Pisar <ppisar(a)redhat.com> - 6.46-1
+- 6.46 bump
+
* Tue Jun 30 2015 Petr Pisar <ppisar(a)redhat.com> - 6.45-1
- 6.45 bump
diff --git a/sources b/sources
index db36263..ca1d422 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fb699f366af1a4128db7e14db51c8dee Coro-6.45.tar.gz
+2cfab94d57c6508918bec360d1b08985 Coro-6.46.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Coro.git/commit/?h=master&id=...