commit:     3567cc0d71f9b867c7410eb8c368f28aebb90bf4
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 31 13:54:18 2018 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Mar 31 13:54:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3567cc0d

www-client/w3mmee: update patches

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 ....2_p24-boehm-gc.patch => w3mmee-boehm-gc.patch} |  2 --
 .../{w3mmee-gcc44.patch => w3mmee-gcc-4.4.patch}   |  5 ++---
 .../{w3mmee-gcc45.patch => w3mmee-gcc-4.5.patch}   |  4 ++--
 ..._p24-glibc214.patch => w3mmee-glibc-2.14.patch} |  4 ----
 ...ee-0.3.2_p24-tinfo.patch => w3mmee-tinfo.patch} |  2 --
 www-client/w3mmee/files/w3mmee-w3mman-gentoo.diff  | 23 ----------------------
 www-client/w3mmee/files/w3mmee-w3mman-gentoo.patch | 21 ++++++++++++++++++++
 www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild       | 13 ++++++------
 www-client/w3mmee/w3mmee-0.3.2_p24-r9.ebuild       | 15 +++++++-------
 9 files changed, 40 insertions(+), 49 deletions(-)

diff --git a/www-client/w3mmee/files/w3mmee-0.3.2_p24-boehm-gc.patch 
b/www-client/w3mmee/files/w3mmee-boehm-gc.patch
similarity index 81%
rename from www-client/w3mmee/files/w3mmee-0.3.2_p24-boehm-gc.patch
rename to www-client/w3mmee/files/w3mmee-boehm-gc.patch
index 81e6a6dea0f..d9bafa06904 100644
--- a/www-client/w3mmee/files/w3mmee-0.3.2_p24-boehm-gc.patch
+++ b/www-client/w3mmee/files/w3mmee-boehm-gc.patch
@@ -1,5 +1,3 @@
-diff --git a/configure b/configure
-index 32afb35..3be66fd 100755
 --- a/configure
 +++ b/configure
 @@ -1503,7 +1503,7 @@ if [ -n "$gclib" -a -n "$gcinclude" ]; then

diff --git a/www-client/w3mmee/files/w3mmee-gcc44.patch 
b/www-client/w3mmee/files/w3mmee-gcc-4.4.patch
similarity index 50%
rename from www-client/w3mmee/files/w3mmee-gcc44.patch
rename to www-client/w3mmee/files/w3mmee-gcc-4.4.patch
index 092adb5ba40..e724244ab86 100644
--- a/www-client/w3mmee/files/w3mmee-gcc44.patch
+++ b/www-client/w3mmee/files/w3mmee-gcc-4.4.patch
@@ -1,6 +1,5 @@
-diff -ur w3mmee-p24-22.orig/indep.c w3mmee-p24-22/indep.c
---- w3mmee-p24-22.orig/indep.c 2002-11-27 16:35:37.000000000 +0200
-+++ w3mmee-p24-22/indep.c      2009-07-25 23:06:52.000000000 +0300
+--- a/indep.c
++++ b/indep.c
 @@ -14,7 +14,7 @@
  {
  #ifdef HAVE_STRTOLL

diff --git a/www-client/w3mmee/files/w3mmee-gcc45.patch 
b/www-client/w3mmee/files/w3mmee-gcc-4.5.patch
similarity index 92%
rename from www-client/w3mmee/files/w3mmee-gcc45.patch
rename to www-client/w3mmee/files/w3mmee-gcc-4.5.patch
index db6f86e4dee..e0b13f92c5f 100644
--- a/www-client/w3mmee/files/w3mmee-gcc45.patch
+++ b/www-client/w3mmee/files/w3mmee-gcc-4.5.patch
@@ -4,8 +4,8 @@ https://bugs.gentoo.org/show_bug.cgi?id=317815
 
 Patch written by Kacper Kowalik <[email protected]>
 
---- configure
-+++ configure
+--- a/configure
++++ b/configure
 @@ -2636,7 +2636,7 @@
  fi
  

diff --git a/www-client/w3mmee/files/w3mmee-0.3.2_p24-glibc214.patch 
b/www-client/w3mmee/files/w3mmee-glibc-2.14.patch
similarity index 85%
rename from www-client/w3mmee/files/w3mmee-0.3.2_p24-glibc214.patch
rename to www-client/w3mmee/files/w3mmee-glibc-2.14.patch
index dc9be94732c..7a2b0d9cb39 100644
--- a/www-client/w3mmee/files/w3mmee-0.3.2_p24-glibc214.patch
+++ b/www-client/w3mmee/files/w3mmee-glibc-2.14.patch
@@ -1,5 +1,3 @@
-diff --git a/istream.c b/istream.c
-index de5fbd3..6718b41 100644
 --- a/istream.c
 +++ b/istream.c
 @@ -132,7 +132,7 @@ newFileStream(FILE *f, void (*closep)())
@@ -11,8 +9,6 @@ index de5fbd3..6718b41 100644
    stream->handle.file->f = f;
  
    if (closep)
-diff --git a/istream.h b/istream.h
-index 168882f..3e7132f 100644
 --- a/istream.h
 +++ b/istream.h
 @@ -20,7 +20,7 @@ struct stream_buffer {

diff --git a/www-client/w3mmee/files/w3mmee-0.3.2_p24-tinfo.patch 
b/www-client/w3mmee/files/w3mmee-tinfo.patch
similarity index 84%
rename from www-client/w3mmee/files/w3mmee-0.3.2_p24-tinfo.patch
rename to www-client/w3mmee/files/w3mmee-tinfo.patch
index 603e30bb403..c29f43ada30 100644
--- a/www-client/w3mmee/files/w3mmee-0.3.2_p24-tinfo.patch
+++ b/www-client/w3mmee/files/w3mmee-tinfo.patch
@@ -1,5 +1,3 @@
-diff --git a/configure b/configure
-index 73e247b..32afb35 100755
 --- a/configure
 +++ b/configure
 @@ -1354,7 +1354,7 @@ main()

diff --git a/www-client/w3mmee/files/w3mmee-w3mman-gentoo.diff 
b/www-client/w3mmee/files/w3mmee-w3mman-gentoo.diff
deleted file mode 100644
index 967e679f02b..00000000000
--- a/www-client/w3mmee/files/w3mmee-w3mman-gentoo.diff
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -urN w3mmee-p24-19.ORIG/scripts/w3mman/w3mman.in 
w3mmee-p24-19/scripts/w3mman/w3mman.in
---- w3mmee-p24-19.ORIG/scripts/w3mman/w3mman.in        2002-03-17 
14:07:08.000000000 +0900
-+++ w3mmee-p24-19/scripts/w3mman/w3mman.in     2003-12-06 20:49:15.000000000 
+0900
-@@ -1,7 +1,7 @@
- #!@PERL@
- 
- @W3M = split(' ', '@W3M@');
--$ENV{'MAN'} = '@MAN@';
-+$ENV{'MAN'} = 'env LC_MESSAGES=${LC_MESSAGES:-${LC_ALL:-${LANG}}} LANG=C 
@MAN@';
- $SCRIPT = 'file:///$LIB/w3mman2html.cgi';
- 
- sub usage {
-diff -urN w3mmee-p24-19.ORIG/scripts/w3mman/w3mman2html.cgi.in 
w3mmee-p24-19/scripts/w3mman/w3mman2html.cgi.in
---- w3mmee-p24-19.ORIG/scripts/w3mman/w3mman2html.cgi.in       2002-03-17 
14:07:08.000000000 +0900
-+++ w3mmee-p24-19/scripts/w3mman/w3mman2html.cgi.in    2003-12-06 
20:49:53.000000000 +0900
-@@ -1,6 +1,6 @@
- #!@PERL@
- 
--$MAN = $ENV{'MAN'} || '@MAN@';
-+$MAN = $ENV{'MAN'} || 'env LC_MESSAGES=${LC_MESSAGES:-${LC_ALL:-${LANG}}} 
LANG=C @MAN@';
- $QUERY = $ENV{'QUERY_STRING'} || $ARGV[0];
- $SCRIPT_NAME = $ENV{'SCRIPT_NAME'} || $0;
- $CGI = "file://$SCRIPT_NAME";

diff --git a/www-client/w3mmee/files/w3mmee-w3mman-gentoo.patch 
b/www-client/w3mmee/files/w3mmee-w3mman-gentoo.patch
new file mode 100644
index 00000000000..dd669191e76
--- /dev/null
+++ b/www-client/w3mmee/files/w3mmee-w3mman-gentoo.patch
@@ -0,0 +1,21 @@
+--- a/scripts/w3mman/w3mman.in
++++ b/scripts/w3mman/w3mman.in
+@@ -1,7 +1,7 @@
+ #!@PERL@
+ 
+ @W3M = split(' ', '@W3M@');
+-$ENV{'MAN'} = '@MAN@';
++$ENV{'MAN'} = 'env LC_MESSAGES=${LC_MESSAGES:-${LC_ALL:-${LANG}}} LANG=C 
@MAN@';
+ $SCRIPT = 'file:///$LIB/w3mman2html.cgi';
+ 
+ sub usage {
+--- a/scripts/w3mman/w3mman2html.cgi.in
++++ b/scripts/w3mman/w3mman2html.cgi.in
+@@ -1,6 +1,6 @@
+ #!@PERL@
+ 
+-$MAN = $ENV{'MAN'} || '@MAN@';
++$MAN = $ENV{'MAN'} || 'env LC_MESSAGES=${LC_MESSAGES:-${LC_ALL:-${LANG}}} 
LANG=C @MAN@';
+ $QUERY = $ENV{'QUERY_STRING'} || $ARGV[0];
+ $SCRIPT_NAME = $ENV{'SCRIPT_NAME'} || $0;
+ $CGI = "file://$SCRIPT_NAME";

diff --git a/www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild 
b/www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild
index a7fcda4f911..ce4b10e46f5 100644
--- a/www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild
+++ b/www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 inherit alternatives eutils toolchain-funcs multilib
@@ -33,11 +33,12 @@ S=${WORKDIR}/${MY_P}
 src_unpack() {
        unpack ${A}
        cd "${S}"
-       epatch "${FILESDIR}"/${PN}-w3mman-gentoo.diff \
-               "${FILESDIR}"/${PN}-gcc4{4,5}.patch \
-               "${FILESDIR}"/${P}-glibc214.patch \
-               "${FILESDIR}"/${P}-tinfo.patch \
-               "${FILESDIR}"/${P}-boehm-gc.patch
+       epatch "${FILESDIR}"/${PN}-boehm-gc.patch
+       epatch "${FILESDIR}"/${PN}-gcc-4.4.patch
+       epatch "${FILESDIR}"/${PN}-gcc-4.5.patch
+       epatch "${FILESDIR}"/${PN}-glibc-2.14.patch
+       epatch "${FILESDIR}"/${PN}-tinfo.patch
+       epatch "${FILESDIR}"/${PN}-w3mman-gentoo.patch
        sed -ie "/^AR=/s:ar:$(tc-getAR):" XMakefile || die
 }
 

diff --git a/www-client/w3mmee/w3mmee-0.3.2_p24-r9.ebuild 
b/www-client/w3mmee/w3mmee-0.3.2_p24-r9.ebuild
index d475f7bc2ae..9aec0de8636 100644
--- a/www-client/w3mmee/w3mmee-0.3.2_p24-r9.ebuild
+++ b/www-client/w3mmee/w3mmee-0.3.2_p24-r9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -36,12 +36,13 @@ RDEPEND="${DEPEND}"
 S=${WORKDIR}/${MY_P}
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-w3mman-gentoo.diff \
-               "${FILESDIR}"/${PN}-gcc4{4,5}.patch \
-               "${FILESDIR}"/${P}-glibc214.patch \
-               "${FILESDIR}"/${P}-tinfo.patch \
-               "${FILESDIR}"/${P}-boehm-gc.patch
-       sed -ie "/^AR=/s:ar:$(tc-getAR):" XMakefile || die
+       epatch "${FILESDIR}"/${PN}-boehm-gc.patch
+       epatch "${FILESDIR}"/${PN}-gcc-4.4.patch
+       epatch "${FILESDIR}"/${PN}-gcc-4.5.patch
+       epatch "${FILESDIR}"/${PN}-glibc-2.14.patch
+       epatch "${FILESDIR}"/${PN}-tinfo.patch
+       epatch "${FILESDIR}"/${PN}-w3mman-gentoo.patch
+       sed -i "/^AR=/s:ar:$(tc-getAR):" XMakefile
 }
 
 src_compile() {

Reply via email to