From feb848e125f7592a103919ebee0961153bce79f5 Mon Sep 17 00:00:00 2001
From: Peter Robinson <[email protected]>
Date: Tue, 21 Feb 2012 22:58:59 +0000
Subject: Add patch to fix build on ARM. RHBZ 750805
---
perl-Coro.spec | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/perl-Coro.spec b/perl-Coro.spec
index d503164..1ef3555 100644
--- a/perl-Coro.spec
+++ b/perl-Coro.spec
@@ -1,6 +1,6 @@
Name: perl-Coro
Version: 6.07
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The only real threads in perl
License: GPL+ or Artistic
Group: Development/Libraries
@@ -95,6 +95,11 @@ sed -i -e '/^#!/ s|.*|#!%{__perl}|' %wrong_shbangs
%build
+# Disable FORTIFY_SOURCE on ARM as it breaks setjmp - RHBZ 750805
+%ifarch %{arm}
+RPM_OPT_FLAGS=$(echo "${RPM_OPT_FLAGS}" | sed -e
's/-Wp,-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=0/g')
+%endif
+
# Interractive configuration. Use default values.
%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS" </dev/null
make %{?_smp_mflags}
@@ -120,6 +125,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Tue Feb 21 2012 Peter Robinson <[email protected]> - 6.07-3
+- Add patch to fix build on ARM. RHBZ 750805
+
* Fri Jan 13 2012 Fedora Release Engineering <[email protected]>
- 6.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Coro.git/commit/?h=epel7&id=feb848e125f7592a103919ebee0961153bce79f5
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]