Accepting request 129143 from network:utilities
Add missing sys/resource.h include (glibc 2.16) (forwarded request 129130 from a_jaeger) OBS-URL: https://build.opensuse.org/request/show/129143 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wget?expand=0&rev=23
This commit is contained in:
commit
a062fa0190
17
wget-stdio.h.patch
Normal file
17
wget-stdio.h.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Index: wget-1.13.4/lib/stdio.in.h
|
||||||
|
===================================================================
|
||||||
|
--- wget-1.13.4.orig/lib/stdio.in.h
|
||||||
|
+++ wget-1.13.4/lib/stdio.in.h
|
||||||
|
@@ -694,10 +694,12 @@ _GL_CXXALIAS_SYS (gets, char *, (char *s
|
||||||
|
# undef gets
|
||||||
|
# endif
|
||||||
|
_GL_CXXALIASWARN (gets);
|
||||||
|
+# if HAVE_RAW_DECL_GETS
|
||||||
|
/* It is very rare that the developer ever has full control of stdin,
|
||||||
|
so any use of gets warrants an unconditional warning. Assume it is
|
||||||
|
always declared, since it is required by C89. */
|
||||||
|
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
||||||
|
+# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 27 20:03:31 UTC 2012 - aj@suse.de
|
||||||
|
|
||||||
|
- Fix build with missing gets declaration (glibc 2.16)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 21 19:44:53 UTC 2012 - dimstar@opensuse.org
|
Wed Mar 21 19:44:53 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ Patch0: wgetrc.patch
|
|||||||
# PATCH-FEATURE-UPSTREAM wget-libproxy.patch dimstar@opensuse.org -- Add libproxy support to wget
|
# PATCH-FEATURE-UPSTREAM wget-libproxy.patch dimstar@opensuse.org -- Add libproxy support to wget
|
||||||
Patch1: wget-libproxy.patch
|
Patch1: wget-libproxy.patch
|
||||||
Patch3: wget-sni.patch
|
Patch3: wget-sni.patch
|
||||||
|
Patch4: wget-stdio.h.patch
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
%if 0%{suse_version} > 1110
|
%if 0%{suse_version} > 1110
|
||||||
BuildRequires: libproxy-devel
|
BuildRequires: libproxy-devel
|
||||||
@ -51,6 +52,7 @@ This can be done in script files or via the command line.
|
|||||||
%patch1
|
%patch1
|
||||||
%endif
|
%endif
|
||||||
%patch3
|
%patch3
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{suse_version} > 1110
|
%if 0%{suse_version} > 1110
|
||||||
|
Loading…
Reference in New Issue
Block a user