From d06858b7d0d4483ce10184a0555697fdec587a93 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Fri, 21 Jun 2013 15:10:04 +0200
Subject: [PATCH] fixup! do not fail when generating documentation

older pod2man does not recognise --errors.
anyway we should just skip make in doc directory.
---
 component/wget/Makefile.patch | 38 +++++++++++++++++------------------
 component/wget/buildout.cfg   |  2 +-
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/component/wget/Makefile.patch b/component/wget/Makefile.patch
index 85d3970d2..ab29676e6 100644
--- a/component/wget/Makefile.patch
+++ b/component/wget/Makefile.patch
@@ -1,22 +1,22 @@
---- a/doc/Makefile.in	2013-06-20 13:13:09.032277064 +0200
-+++ b/doc/Makefile.in	2012-08-05 22:17:16.000000000 +0200
-@@ -1647,7 +1647,7 @@
- 	$(TEXI2POD) -D VERSION="$(VERSION)" $(srcdir)/wget.texi $@
+--- a/Makefile.am	2012-05-13 16:44:48.000000000 +0200
++++ b/Makefile.am	2013-06-21 15:05:07.519274542 +0200
+@@ -41,7 +41,7 @@
+ ACLOCAL_AMFLAGS = -I m4
  
- $(MAN): wget.pod
--	$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
-+	$(POD2MAN) --errors=none --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
+ # subdirectories in the distribution
+-SUBDIRS = lib src doc po tests util
++SUBDIRS = lib src po tests util
  
- #wget.cat: $(MAN)
- #	nroff -man $? > $@
---- a/doc/Makefile.am	2013-06-20 13:12:58.555667154 +0200
-+++ b/doc/Makefile.am	2012-05-12 17:18:27.000000000 +0200
-@@ -57,7 +57,7 @@
- 	$(TEXI2POD) -D VERSION="$(VERSION)" $(srcdir)/wget.texi $@
+ EXTRA_DIST = ChangeLog.README MAILING-LIST \
+              msdos/ChangeLog msdos/config.h msdos/Makefile.DJ \
+--- a/Makefile.in	2012-08-05 22:17:17.000000000 +0200
++++ b/Makefile.in	2013-06-21 15:05:04.351269286 +0200
+@@ -1195,7 +1195,7 @@
+ ACLOCAL_AMFLAGS = -I m4
  
- $(MAN): wget.pod
--	$(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
-+	$(POD2MAN) --errors=none --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
- 
- #wget.cat: $(MAN)
- #	nroff -man $? > $@
+ # subdirectories in the distribution
+-SUBDIRS = lib src doc po tests util
++SUBDIRS = lib src po tests util
+ EXTRA_DIST = ChangeLog.README MAILING-LIST \
+              msdos/ChangeLog msdos/config.h msdos/Makefile.DJ \
+              msdos/Makefile.WC ABOUT-NLS \
diff --git a/component/wget/buildout.cfg b/component/wget/buildout.cfg
index 689c66e58..26cdfd324 100644
--- a/component/wget/buildout.cfg
+++ b/component/wget/buildout.cfg
@@ -13,7 +13,7 @@ recipe = hexagonit.recipe.download
 url =${:_profile_base_location_}/${:filename}
 filename = Makefile.patch
 download-only = true
-md5sum = 04d34bf001f6a6f831965225a6800e52
+md5sum = 2b89644c63a0dfe96290471d28a554f2
 
 
 [wget]
-- 
2.30.9