Accepting request 314678 from openSUSE:Factory:Staging:B
OBS-URL: https://build.opensuse.org/request/show/314678 OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=206
This commit is contained in:
parent
52e241b215
commit
a926a4fef9
28
bash-4.3-perl522.patch
Normal file
28
bash-4.3-perl522.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From: coolo@suse.com
|
||||||
|
|
||||||
|
perl 5.22 makes the long deprecated defined(@array) an hard
|
||||||
|
error
|
||||||
|
|
||||||
|
--- support/texi2html
|
||||||
|
+++ support/texi2html
|
||||||
|
@@ -4855,9 +4855,9 @@ sub update_sec_num {
|
||||||
|
my $ret;
|
||||||
|
|
||||||
|
$level--; # here we start at 0
|
||||||
|
- if ($name =~ /^appendix/ || defined(@appendix_sec_num)) {
|
||||||
|
+ if ($name =~ /^appendix/ || @appendix_sec_num) {
|
||||||
|
# appendix style
|
||||||
|
- if (defined(@appendix_sec_num)) {
|
||||||
|
+ if (@appendix_sec_num) {
|
||||||
|
&incr_sec_num($level, @appendix_sec_num);
|
||||||
|
} else {
|
||||||
|
@appendix_sec_num = ('A', 0, 0, 0);
|
||||||
|
@@ -4865,7 +4865,7 @@ sub update_sec_num {
|
||||||
|
$ret = join('.', @appendix_sec_num[0..$level]);
|
||||||
|
} else {
|
||||||
|
# normal style
|
||||||
|
- if (defined(@normal_sec_num))
|
||||||
|
+ if (@normal_sec_num)
|
||||||
|
{
|
||||||
|
&incr_sec_num($level, @normal_sec_num);
|
||||||
|
}
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 1 08:31:09 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- add bash-4.3-perl522.patch to fix texi2html for perl 5.22
|
||||||
|
(defined(@array) has been deprecated since at least 2012)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 28 08:50:30 UTC 2015 - werner@suse.de
|
Thu May 28 08:50:30 UTC 2015 - werner@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bash
|
# spec file for package bash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -96,6 +96,7 @@ Patch30: readline-6.3-destdir.patch
|
|||||||
Patch31: readline-6.3-rltrace.patch
|
Patch31: readline-6.3-rltrace.patch
|
||||||
Patch40: bash-4.1-bash.bashrc.dif
|
Patch40: bash-4.1-bash.bashrc.dif
|
||||||
Patch46: man2html-no-timestamp.patch
|
Patch46: man2html-no-timestamp.patch
|
||||||
|
Patch47: bash-4.3-perl522.patch
|
||||||
# PATCH-FIX-SUSE
|
# PATCH-FIX-SUSE
|
||||||
Patch48: bash-4.3-extra-import-func.patch
|
Patch48: bash-4.3-extra-import-func.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -314,6 +315,7 @@ done
|
|||||||
%patch31 -p0 -b .tmp
|
%patch31 -p0 -b .tmp
|
||||||
%patch40 -p0 -b .bashrc
|
%patch40 -p0 -b .bashrc
|
||||||
%patch46 -p0 -b .notimestamp
|
%patch46 -p0 -b .notimestamp
|
||||||
|
%patch47 -p0 -b .perl522
|
||||||
%if %{with import_function}
|
%if %{with import_function}
|
||||||
%patch48
|
%patch48
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user