OBS User unknown 2008-05-07 19:53:03 +00:00 committed by Git OBS Bridge
parent cf2a3600c2
commit b77244a176
3 changed files with 32 additions and 1 deletions

20
perl-5.10.0-warn.diff Normal file
View File

@ -0,0 +1,20 @@
--- Configure
+++ Configure
@@ -10860,7 +10860,7 @@
va_start(args, n);
exit((unsigned long)vsprintf(buf,"%s",args) > 10L);
}
-int main() { xxx(1, "foo"); }
+int main() { xxx(1, "foo"); return 0; }
#else /* I_VARARGS */
@@ -10872,7 +10872,7 @@
va_start(args);
exit((unsigned long)vsprintf(buf,"%s",args) > 10L);
}
-int main() { xxx("foo"); }
+int main() { xxx("foo"); return 0; }
#endif

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 6 21:34:57 CEST 2008 - aj@suse.de
- Fix missing return value in configure script to silence rpmlint
checks.
-------------------------------------------------------------------
Fri Apr 11 17:49:26 CEST 2008 - mls@suse.de

View File

@ -16,7 +16,7 @@ Name: perl
Url: http://www.perl.org/
BuildRequires: db-devel gdbm-devel ncurses-devel zlib-devel
Version: 5.10.0
Release: 27
Release: 32
Summary: The Perl interpreter
License: Artistic License; GPL v2 or later
Group: Development/Languages/Perl
@ -38,6 +38,7 @@ Patch: perl-%{version}.dif
Patch1: perl-gracefull-net-ftp.diff
Patch2: perl-5.10.0-regexp.diff
Patch3: perl-fix_dbmclose_call.patch
Patch4: perl-5.10.0-warn.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -105,6 +106,7 @@ Authors:
%patch1
%patch2
%patch3
%patch4
%build
options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'"
@ -333,6 +335,9 @@ cat perl-pod-excludes >> perl-base-excludes
%doc /usr/lib/perl5/*/unicore/*.txt
%changelog
* Tue May 06 2008 aj@suse.de
- Fix missing return value in configure script to silence rpmlint
checks.
* Fri Apr 11 2008 mls@suse.de
- compile with -DPERL_USE_SAFE_PUTENV [bnc#377543]
* Thu Apr 10 2008 ro@suse.de