forked from pool/perl-List-MoreUtils-XS
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-List-MoreUtils-XS?expand=0&rev=11
This commit is contained in:
parent
b3e83eb342
commit
4e979ff11f
28
cpanspec.yml
28
cpanspec.yml
@ -1,30 +1,2 @@
|
|||||||
---
|
---
|
||||||
#description_paragraphs: 3
|
|
||||||
#description: |-
|
|
||||||
# override description from CPAN
|
|
||||||
#summary: override summary from CPAN
|
|
||||||
#no_testing: broken upstream
|
|
||||||
#sources:
|
|
||||||
# - source1
|
|
||||||
# - source2
|
|
||||||
#patches:
|
|
||||||
# foo.patch: -p1
|
|
||||||
# bar.patch:
|
|
||||||
format.patch: -p1
|
|
||||||
undefined.patch: -p1
|
|
||||||
#preamble: |-
|
|
||||||
# BuildRequires: gcc-c++
|
|
||||||
#post_prep: |-
|
|
||||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
|
||||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
|
||||||
#post_build: |-
|
|
||||||
# rm unused.files
|
|
||||||
#post_install: |-
|
|
||||||
# sed on %{name}.files
|
|
||||||
license: (Artistic-1.0 or GPL-1.0+) and Apache-2.0
|
license: (Artistic-1.0 or GPL-1.0+) and Apache-2.0
|
||||||
#skip_noarch: 1
|
|
||||||
#custom_build: |-
|
|
||||||
#./Build build flags=%{?_smp_mflags} --myflag
|
|
||||||
#custom_test: |-
|
|
||||||
#startserver && make test
|
|
||||||
#ignore_requires: Bizarre::Module
|
|
||||||
|
13
format.patch
13
format.patch
@ -1,13 +0,0 @@
|
|||||||
Index: List-MoreUtils-XS-0.423/XS.xs
|
|
||||||
===================================================================
|
|
||||||
--- List-MoreUtils-XS-0.423.orig/XS.xs
|
|
||||||
+++ List-MoreUtils-XS-0.423/XS.xs
|
|
||||||
@@ -2310,7 +2310,7 @@ CODE:
|
|
||||||
idx = SvIV(*PL_stack_sp);
|
|
||||||
|
|
||||||
if (UNLIKELY(idx < 0 && (idx += (AvFILLp(tmp)+1)) < 0))
|
|
||||||
- croak("Modification of non-creatable array value attempted, subscript %ld", idx);
|
|
||||||
+ croak("Modification of non-creatable array value attempted, subscript %" IVdf, idx);
|
|
||||||
|
|
||||||
if(UNLIKELY(NULL == (inner = av_fetch(tmp, idx, FALSE))))
|
|
||||||
{
|
|
@ -16,6 +16,7 @@ Tue Oct 3 05:40:02 UTC 2017 - coolo@suse.com
|
|||||||
thanks Alexander Bluhm <alexander.bluhm@gmx.net> for reporting).
|
thanks Alexander Bluhm <alexander.bluhm@gmx.net> for reporting).
|
||||||
- Fix compiling issue on CentOS 4 & CentOS 5 (thanks Alex Karelas
|
- Fix compiling issue on CentOS 4 & CentOS 5 (thanks Alex Karelas
|
||||||
<alex.karelas@gmail.com> for reporting and testing the fix)
|
<alex.karelas@gmail.com> for reporting and testing the fix)
|
||||||
|
- obsolete format.patch and undefined.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 12 08:16:32 UTC 2017 - schwab@suse.de
|
Tue Sep 12 08:16:32 UTC 2017 - schwab@suse.de
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
Index: List-MoreUtils-XS-0.423/XS.xs
|
|
||||||
===================================================================
|
|
||||||
--- List-MoreUtils-XS-0.423.orig/XS.xs
|
|
||||||
+++ List-MoreUtils-XS-0.423/XS.xs
|
|
||||||
@@ -2114,7 +2114,8 @@ CODE:
|
|
||||||
|
|
||||||
if(seen_undef == max)
|
|
||||||
{
|
|
||||||
- EXTEND(SP, ++count);
|
|
||||||
+ ++count;
|
|
||||||
+ EXTEND(SP, count);
|
|
||||||
ST(count-1) = &PL_sv_undef;
|
|
||||||
}
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user