[perl-Coro] Add patch to fix build on ARM. RHBZ 750805

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit feb848e125f7592a103919ebee0961153bce79f5
Author: Peter Robinson <pbrobinson@xxxxxxxxx>
Date:   Tue Feb 21 22:58:59 2012 +0000

    Add patch to fix build on ARM. RHBZ 750805

 perl-Coro.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
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 <pbrobinson@xxxxxxxxxxxxxxxxx> - 6.07-3
+- Add patch to fix build on ARM. RHBZ 750805
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 6.07-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux