app-text/lv: update patches
authorAkinori Hattori <hattya@gentoo.org>
Sun, 10 Jun 2018 02:38:36 +0000 (11:38 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Sun, 10 Jun 2018 02:38:36 +0000 (11:38 +0900)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-text/lv/files/lv-gentoo.patch [moved from app-text/lv/files/lv-4.51-gentoo.patch with 86% similarity]
app-text/lv/files/lv-headers.patch [moved from app-text/lv/files/lv-4.51-protos.patch with 82% similarity]
app-text/lv/files/lv-tinfo.patch [moved from app-text/lv/files/lv-4.51-tinfo.patch with 88% similarity]
app-text/lv/files/lv-xz.patch [moved from app-text/lv/files/lv-4.51-xz.diff with 90% similarity]
app-text/lv/lv-4.51-r3.ebuild
app-text/lv/lv-4.51-r4.ebuild

similarity index 86%
rename from app-text/lv/files/lv-4.51-gentoo.patch
rename to app-text/lv/files/lv-gentoo.patch
index 90acab49fd1675c0f86fb78ed4c1a26f0b21339e..99724ef9c69ec7e084b9f618e1985f23d97f8229 100644 (file)
@@ -1,6 +1,5 @@
-diff -Naur lv451.orig/src/Makefile.in lv451/src/Makefile.in
---- lv451.orig/src/Makefile.in 2004-01-06 16:22:17.000000000 +0900
-+++ lv451/src/Makefile.in      2008-10-08 00:20:13.000000000 +0900
+--- a/src/Makefile.in
++++ b/src/Makefile.in
 @@ -25,6 +25,7 @@
  LDFLAGS=@LDFLAGS@
  INSTALL=@INSTALL@
similarity index 82%
rename from app-text/lv/files/lv-4.51-protos.patch
rename to app-text/lv/files/lv-headers.patch
index 602ef5f6117f42915839b964373f7dd24a1b149c..5207ec07cbee86f0a742258e77826109712f055c 100644 (file)
@@ -3,8 +3,7 @@ Add missing string protos.
  * src/guess.c:150:12: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration]
  * src/guess.c:218:22: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
  * src/guesslocale.c:42:9: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration]
-diff --git a/src/guess.c b/src/guess.c
-index facd95e..555acd3 100644
+
 --- a/src/guess.c
 +++ b/src/guess.c
 @@ -21,6 +21,7 @@
@@ -15,8 +14,6 @@ index facd95e..555acd3 100644
  
  #include <import.h>
  #include <decode.h>
-diff --git a/src/guesslocale.c b/src/guesslocale.c
-index 7974c88..c259723 100644
 --- a/src/guesslocale.c
 +++ b/src/guesslocale.c
 @@ -29,6 +29,7 @@
similarity index 88%
rename from app-text/lv/files/lv-4.51-tinfo.patch
rename to app-text/lv/files/lv-tinfo.patch
index 9c17a92a65ef6a571702444600e66e8125aca9ac..7da23d474951cdf0e2cb5d3a2f292b41187f5c1e 100644 (file)
@@ -1,5 +1,3 @@
-diff --git a/src/configure.in b/src/configure.in
-index 7d118de..29833a7 100644
 --- a/src/configure.in
 +++ b/src/configure.in
 @@ -24,7 +24,16 @@ AC_ARG_ENABLE(purify,
similarity index 90%
rename from app-text/lv/files/lv-4.51-xz.diff
rename to app-text/lv/files/lv-xz.patch
index 058029b8be284f0bae717fea9677a82838afcd4d..1b6ad8a91659f71ea0f2e092abb27794881618b1 100644 (file)
@@ -1,5 +1,5 @@
---- lv451.orig/index.html
-+++ lv451/index.html
+--- a/index.html
++++ b/index.html
 @@ -301,8 +301,11 @@
        <P>
        Compressed files that have suffix ``gz'', ``z'', or ``GZ'', ``Z'' are
@@ -14,8 +14,8 @@
        <P>
        In case that standard output is not connected to an ordinal terminal
        but to redirect or pipe-line,
---- lv451.orig/src/stream.c
-+++ lv451/src/stream.c
+--- a/src/stream.c
++++ b/src/stream.c
 @@ -43,6 +43,8 @@
  
  private byte *gz_filter = "zcat";
@@ -37,7 +37,7 @@
    if( NULL != filter ){
      /*
 -     * zcat or bzcat
-+     * zcat or bzcat or lzcat or xzcat
++     * zcat, bzcat, lzcat or xzcat
       */
      if( NULL == (st->fp = (FILE *)tmpfile()) )
        perror( "temporary file" ), exit( -1 );
index ad9d48b78c38e52b67bd41cebc8476492e96092b..d5c5de76eb5f9d2f25837cc748bb5b8b1ae324c0 100644 (file)
@@ -23,10 +23,10 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-gentoo.patch
-       epatch "${FILESDIR}"/${P}-protos.patch
-       epatch "${FILESDIR}"/${P}-tinfo.patch
-       epatch "${FILESDIR}"/${P}-xz.diff
+       epatch "${FILESDIR}"/${PN}-gentoo.patch
+       epatch "${FILESDIR}"/${PN}-headers.patch
+       epatch "${FILESDIR}"/${PN}-tinfo.patch
+       epatch "${FILESDIR}"/${PN}-xz.patch
 
        cd "${S}"/src
        mv configure.{in,ac}
index f85c10324f2bec02e625b6aaa13bc127c06cf623..e219f8f061c1b1a5a5c362d4c30fc52fc4327009 100644 (file)
@@ -23,10 +23,10 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/${MY_P}"
 
 PATCHES=(
-       "${FILESDIR}"/${P}-gentoo.patch
-       "${FILESDIR}"/${P}-protos.patch
-       "${FILESDIR}"/${P}-tinfo.patch
-       "${FILESDIR}"/${P}-xz.diff
+       "${FILESDIR}"/${PN}-gentoo.patch
+       "${FILESDIR}"/${PN}-headers.patch
+       "${FILESDIR}"/${PN}-tinfo.patch
+       "${FILESDIR}"/${PN}-xz.patch
 )
 DOCS=( README hello.sample )
 HTML_DOCS=( index.html relnote.html hello.sample.gif )