]> git.pld-linux.org Git - packages/perl.git/commitdiff
- rel 6; add default switch auto/th/perl-5.18.0-6
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 9 Jun 2013 18:30:51 +0000 (20:30 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 9 Jun 2013 18:30:51 +0000 (20:30 +0200)
perl-switch.patch [new file with mode: 0644]
perl.spec

diff --git a/perl-switch.patch b/perl-switch.patch
new file mode 100644 (file)
index 0000000..a4c9082
--- /dev/null
@@ -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 */
index 6c88bdfa11895ce5c07606568c5bede6e47aeb3f..dfc08d8d6d709fde7185d0f02adedddb692cba41 100644 (file)
--- 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
This page took 0.195557 seconds and 4 git commands to generate.