This commit is contained in:
parent
5395bffe6d
commit
fb970b954c
11
perl-fix_dbmclose_call.patch
Normal file
11
perl-fix_dbmclose_call.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ext/ODBM_File/ODBM_File.xs
|
||||||
|
+++ ext/ODBM_File/ODBM_File.xs
|
||||||
|
@@ -121,7 +121,7 @@
|
||||||
|
dMY_CXT;
|
||||||
|
CODE:
|
||||||
|
dbmrefcnt--;
|
||||||
|
- dbmclose();
|
||||||
|
+ dbmclose(db);
|
||||||
|
safefree(db);
|
||||||
|
|
||||||
|
datum_value
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 10 13:20:38 CET 2008 - pth@suse.de
|
||||||
|
|
||||||
|
- Fix call to dbmclose in ext/ODBM_File/ODBM_File.xs
|
||||||
|
- Run 'make check' in %check
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 19 15:31:36 CET 2008 - mls@suse.de
|
Tue Feb 19 15:31:36 CET 2008 - mls@suse.de
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Name: perl
|
|||||||
Url: http://www.perl.org/
|
Url: http://www.perl.org/
|
||||||
BuildRequires: db-devel gdbm-devel ncurses-devel zlib-devel
|
BuildRequires: db-devel gdbm-devel ncurses-devel zlib-devel
|
||||||
Version: 5.10.0
|
Version: 5.10.0
|
||||||
Release: 14
|
Release: 16
|
||||||
Summary: The Perl interpreter
|
Summary: The Perl interpreter
|
||||||
License: Artistic License; GPL v2 or later
|
License: Artistic License; GPL v2 or later
|
||||||
Group: Development/Languages/Perl
|
Group: Development/Languages/Perl
|
||||||
@ -36,6 +36,7 @@ Source1: %name-rpmlintrc
|
|||||||
Patch: perl-%{version}.dif
|
Patch: perl-%{version}.dif
|
||||||
Patch1: perl-gracefull-net-ftp.diff
|
Patch1: perl-gracefull-net-ftp.diff
|
||||||
Patch2: perl-5.10.0-regexp.diff
|
Patch2: perl-5.10.0-regexp.diff
|
||||||
|
Patch3: perl-fix_dbmclose_call.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -85,6 +86,7 @@ Authors:
|
|||||||
%patch
|
%patch
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
%patch3
|
||||||
|
|
||||||
%build
|
%build
|
||||||
options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'"
|
options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'"
|
||||||
@ -105,6 +107,8 @@ make clobber
|
|||||||
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm $options
|
./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm $options
|
||||||
make
|
make
|
||||||
%ifnarch ppc64 %arm
|
%ifnarch ppc64 %arm
|
||||||
|
|
||||||
|
%check
|
||||||
# delete broken File::Find test
|
# delete broken File::Find test
|
||||||
rm -f lib/File/Find/t/find.t
|
rm -f lib/File/Find/t/find.t
|
||||||
# delete racy test
|
# delete racy test
|
||||||
@ -284,6 +288,9 @@ cat perl-base-filelist | sed -e 's/^/%exclude /g' > perl-base-excludes
|
|||||||
#%ghost %doc /usr/share/man/man3/perllocal.3pm.gz
|
#%ghost %doc /usr/share/man/man3/perllocal.3pm.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 10 2008 pth@suse.de
|
||||||
|
- Fix call to dbmclose in ext/ODBM_File/ODBM_File.xs
|
||||||
|
- Run 'make check' in %%check
|
||||||
* Tue Feb 19 2008 mls@suse.de
|
* Tue Feb 19 2008 mls@suse.de
|
||||||
- fix bug in regexp engine [bnc#355233]
|
- fix bug in regexp engine [bnc#355233]
|
||||||
* Fri Jan 18 2008 mls@suse.de
|
* Fri Jan 18 2008 mls@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user