Accepting request 128241 from Base:System
Fix build with missing gets declaration (glibc 2.16) (forwarded request 128155 from a_jaeger) OBS-URL: https://build.opensuse.org/request/show/128241 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gzip?expand=0&rev=26
This commit is contained in:
commit
fd0e9403d9
14
gzip-stdio.in.patch
Normal file
14
gzip-stdio.in.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: gzip-1.4/lib/stdio.in.h
|
||||
===================================================================
|
||||
--- gzip-1.4.orig/lib/stdio.in.h
|
||||
+++ gzip-1.4/lib/stdio.in.h
|
||||
@@ -125,7 +125,9 @@ extern int fclose (FILE *stream) _GL_ARG
|
||||
so any use of gets warrants an unconditional warning. Assume it is
|
||||
always declared, since it is required by C89. */
|
||||
#undef gets
|
||||
+#if HAVE_RAW_DECL_GETS
|
||||
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
||||
+#endif
|
||||
|
||||
#if @GNULIB_FOPEN@
|
||||
# if @REPLACE_FOPEN@
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 17 19:00:13 UTC 2012 - aj@suse.de
|
||||
|
||||
- Fix build with missing gets declaration (glibc 2.16)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 7 21:33:35 UTC 2012 - rschweikert@suse.com
|
||||
|
||||
|
@ -31,6 +31,7 @@ Patch2: zmore.diff
|
||||
Patch3: non-exec-stack.diff
|
||||
Patch4: http://rsync.samba.org/ftp/unpacked/rsync/patches/gzip-rsyncable.diff
|
||||
Patch6: zdiff.diff
|
||||
Patch7: gzip-stdio.in.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -47,6 +48,7 @@ times.
|
||||
%patch3
|
||||
%patch4 -p1
|
||||
%patch6
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer \
|
||||
|
Loading…
Reference in New Issue
Block a user