[packages/perl] - rel 6; add default switch

arekm arekm at pld-linux.org
Sun Jun 9 20:30:56 CEST 2013


commit c1a4737cf2bea49e2023d1da8194ce2777e95bdb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Jun 9 20:30:51 2013 +0200

    - rel 6; add default switch

 perl-switch.patch | 12 ++++++++++++
 perl.spec         |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/perl.spec b/perl.spec
index 6c88bdf..dfc08d8 100644
--- a/perl.spec
+++ b/perl.spec
@@ -44,7 +44,7 @@
 %define		perl_modversion()	%([ -f %{SOURCE3} ] && awk -vp=%1 '$1 == p{m=$1; gsub(/::/, "-", m); printf("perl-%s = %s\\n", m, $3)}END{if (!m) printf("# Error looking up [%s]\\n", p)}' %{SOURCE3} || echo ERROR)
 
 %define		ver	5.18.0
-%define		rel	5
+%define		rel	6
 Summary:	Practical Extraction and Report Language (Perl)
 Summary(cs.UTF-8):	Programovací jazyk Perl
 Summary(da.UTF-8):	Programmeringssproget Perl
@@ -85,6 +85,7 @@ Patch5:		%{name}_585-microperl_uconfig.patch
 Patch6:		%{name}-write-permissions.patch
 Patch7:		%{name}-t-syslog.patch
 Patch8:		%{name}-fix-pointer-arithmetic.patch
+Patch9:		%{name}-switch.patch
 URL:		http://dev.perl.org/perl5/
 %ifarch ppc
 # gcc 3.3.x miscompiles pp_hot.c
@@ -690,6 +691,7 @@ z biblioteki GNU gdbm.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 cat > runperl <<'EOF'
 #!/bin/sh
diff --git a/perl-switch.patch b/perl-switch.patch
new file mode 100644
index 0000000..a4c9082
--- /dev/null
+++ b/perl-switch.patch
@@ -0,0 +1,12 @@
+--- perl-5.18.0/hv_func.h~	2013-05-08 15:58:40.000000000 +0200
++++ perl-5.18.0/hv_func.h	2013-06-09 20:29:24.940447822 +0200
+@@ -425,6 +425,9 @@
+             k1 |= carry<<24;
+             MURMUR_DOBLOCK(h1, k1);
+         }
++        default:
++        /* make gcc quiet */
++        break;
+     }
+ #endif
+     /* Advance over whole 32-bit chunks, possibly leaving 1..3 bytes */
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl.git/commitdiff/c1a4737cf2bea49e2023d1da8194ce2777e95bdb



More information about the pld-cvs-commit mailing list