packages: wget/wget.spec, wget/wget-usage.patch (NEW) - added usage patch (...

qboosh qboosh at pld-linux.org
Sun Sep 18 10:08:51 CEST 2011


Author: qboosh                       Date: Sun Sep 18 08:08:51 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added usage patch (fixes --help, which was broken and thus broke builder script)
- release 2

---- Files affected:
packages/wget:
   wget.spec (1.155 -> 1.156) , wget-usage.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/wget/wget.spec
diff -u packages/wget/wget.spec:1.155 packages/wget/wget.spec:1.156
--- packages/wget/wget.spec:1.155	Fri Sep  2 17:36:45 2011
+++ packages/wget/wget.spec	Sun Sep 18 10:08:45 2011
@@ -18,7 +18,7 @@
 Summary(zh_CN.UTF-8):	[通讯]功能强大的下载程序,支持断点续传
 Name:		wget
 Version:	1.13.3
-Release:	1
+Release:	2
 License:	GPL v3+ with OpenSSL exception
 Group:		Networking/Utilities
 Source0:	http://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.xz
@@ -30,6 +30,7 @@
 Patch2:		%{name}-home_etc.patch
 Patch3:		%{name}-ssl-certs.patch
 Patch4:		%{name}-pl.po-update.patch
+Patch5:		%{name}-usage.patch
 URL:		http://www.gnu.org/software/wget/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake >= 1:1.9
@@ -123,6 +124,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 %{__rm} doc/wget.info doc/sample.wgetrc.munged_for_texi_inclusion po/stamp-po
 
 %build
@@ -179,6 +181,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.156  2011/09/18 08:08:45  qboosh
+- added usage patch (fixes --help, which was broken and thus broke builder script)
+- release 2
+
 Revision 1.155  2011/09/02 15:36:45  arekm
 - up to 1.13.3
 

================================================================
Index: packages/wget/wget-usage.patch
diff -u /dev/null packages/wget/wget-usage.patch:1.1
--- /dev/null	Sun Sep 18 10:08:51 2011
+++ packages/wget/wget-usage.patch	Sun Sep 18 10:08:45 2011
@@ -0,0 +1,11 @@
+--- wget-1.13.3/src/main.c.orig	2011-08-29 10:01:24.000000000 +0200
++++ wget-1.13.3/src/main.c	2011-09-18 10:04:20.637186255 +0200
+@@ -710,7 +710,7 @@
+   size_t i;
+ 
+   if (printf (_("GNU Wget %s, a non-interactive network retriever.\n"),
+-              version_string))
++              version_string) < 0)
+     exit (3);
+   if (print_usage (0) < 0)
+     exit (3);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wget/wget.spec?r1=1.155&r2=1.156&f=u



More information about the pld-cvs-commit mailing list