1 |
commit: 79c3a348e1db805b3c2c285e7c324d3743fe9bd5 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 10 02:38:36 2018 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 10 02:38:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79c3a348 |
7 |
|
8 |
app-text/lv: update patches |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
app-text/lv/files/{lv-4.51-gentoo.patch => lv-gentoo.patch} | 5 ++--- |
13 |
app-text/lv/files/{lv-4.51-protos.patch => lv-headers.patch} | 5 +---- |
14 |
app-text/lv/files/{lv-4.51-tinfo.patch => lv-tinfo.patch} | 2 -- |
15 |
app-text/lv/files/{lv-4.51-xz.diff => lv-xz.patch} | 10 +++++----- |
16 |
app-text/lv/lv-4.51-r3.ebuild | 8 ++++---- |
17 |
app-text/lv/lv-4.51-r4.ebuild | 8 ++++---- |
18 |
6 files changed, 16 insertions(+), 22 deletions(-) |
19 |
|
20 |
diff --git a/app-text/lv/files/lv-4.51-gentoo.patch b/app-text/lv/files/lv-gentoo.patch |
21 |
similarity index 86% |
22 |
rename from app-text/lv/files/lv-4.51-gentoo.patch |
23 |
rename to app-text/lv/files/lv-gentoo.patch |
24 |
index 90acab49fd1..99724ef9c69 100644 |
25 |
--- a/app-text/lv/files/lv-4.51-gentoo.patch |
26 |
+++ b/app-text/lv/files/lv-gentoo.patch |
27 |
@@ -1,6 +1,5 @@ |
28 |
-diff -Naur lv451.orig/src/Makefile.in lv451/src/Makefile.in |
29 |
---- lv451.orig/src/Makefile.in 2004-01-06 16:22:17.000000000 +0900 |
30 |
-+++ lv451/src/Makefile.in 2008-10-08 00:20:13.000000000 +0900 |
31 |
+--- a/src/Makefile.in |
32 |
++++ b/src/Makefile.in |
33 |
@@ -25,6 +25,7 @@ |
34 |
LDFLAGS=@LDFLAGS@ |
35 |
INSTALL=@INSTALL@ |
36 |
|
37 |
diff --git a/app-text/lv/files/lv-4.51-protos.patch b/app-text/lv/files/lv-headers.patch |
38 |
similarity index 82% |
39 |
rename from app-text/lv/files/lv-4.51-protos.patch |
40 |
rename to app-text/lv/files/lv-headers.patch |
41 |
index 602ef5f6117..5207ec07cbe 100644 |
42 |
--- a/app-text/lv/files/lv-4.51-protos.patch |
43 |
+++ b/app-text/lv/files/lv-headers.patch |
44 |
@@ -3,8 +3,7 @@ Add missing string protos. |
45 |
* src/guess.c:150:12: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] |
46 |
* src/guess.c:218:22: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] |
47 |
* src/guesslocale.c:42:9: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration] |
48 |
-diff --git a/src/guess.c b/src/guess.c |
49 |
-index facd95e..555acd3 100644 |
50 |
+ |
51 |
--- a/src/guess.c |
52 |
+++ b/src/guess.c |
53 |
@@ -21,6 +21,7 @@ |
54 |
@@ -15,8 +14,6 @@ index facd95e..555acd3 100644 |
55 |
|
56 |
#include <import.h> |
57 |
#include <decode.h> |
58 |
-diff --git a/src/guesslocale.c b/src/guesslocale.c |
59 |
-index 7974c88..c259723 100644 |
60 |
--- a/src/guesslocale.c |
61 |
+++ b/src/guesslocale.c |
62 |
@@ -29,6 +29,7 @@ |
63 |
|
64 |
diff --git a/app-text/lv/files/lv-4.51-tinfo.patch b/app-text/lv/files/lv-tinfo.patch |
65 |
similarity index 88% |
66 |
rename from app-text/lv/files/lv-4.51-tinfo.patch |
67 |
rename to app-text/lv/files/lv-tinfo.patch |
68 |
index 9c17a92a65e..7da23d47495 100644 |
69 |
--- a/app-text/lv/files/lv-4.51-tinfo.patch |
70 |
+++ b/app-text/lv/files/lv-tinfo.patch |
71 |
@@ -1,5 +1,3 @@ |
72 |
-diff --git a/src/configure.in b/src/configure.in |
73 |
-index 7d118de..29833a7 100644 |
74 |
--- a/src/configure.in |
75 |
+++ b/src/configure.in |
76 |
@@ -24,7 +24,16 @@ AC_ARG_ENABLE(purify, |
77 |
|
78 |
diff --git a/app-text/lv/files/lv-4.51-xz.diff b/app-text/lv/files/lv-xz.patch |
79 |
similarity index 90% |
80 |
rename from app-text/lv/files/lv-4.51-xz.diff |
81 |
rename to app-text/lv/files/lv-xz.patch |
82 |
index 058029b8be2..1b6ad8a9165 100644 |
83 |
--- a/app-text/lv/files/lv-4.51-xz.diff |
84 |
+++ b/app-text/lv/files/lv-xz.patch |
85 |
@@ -1,5 +1,5 @@ |
86 |
---- lv451.orig/index.html |
87 |
-+++ lv451/index.html |
88 |
+--- a/index.html |
89 |
++++ b/index.html |
90 |
@@ -301,8 +301,11 @@ |
91 |
<P> |
92 |
Compressed files that have suffix ``gz'', ``z'', or ``GZ'', ``Z'' are |
93 |
@@ -14,8 +14,8 @@ |
94 |
<P> |
95 |
In case that standard output is not connected to an ordinal terminal |
96 |
but to redirect or pipe-line, |
97 |
---- lv451.orig/src/stream.c |
98 |
-+++ lv451/src/stream.c |
99 |
+--- a/src/stream.c |
100 |
++++ b/src/stream.c |
101 |
@@ -43,6 +43,8 @@ |
102 |
|
103 |
private byte *gz_filter = "zcat"; |
104 |
@@ -37,7 +37,7 @@ |
105 |
if( NULL != filter ){ |
106 |
/* |
107 |
- * zcat or bzcat |
108 |
-+ * zcat or bzcat or lzcat or xzcat |
109 |
++ * zcat, bzcat, lzcat or xzcat |
110 |
*/ |
111 |
if( NULL == (st->fp = (FILE *)tmpfile()) ) |
112 |
perror( "temporary file" ), exit( -1 ); |
113 |
|
114 |
diff --git a/app-text/lv/lv-4.51-r3.ebuild b/app-text/lv/lv-4.51-r3.ebuild |
115 |
index ad9d48b78c3..d5c5de76eb5 100644 |
116 |
--- a/app-text/lv/lv-4.51-r3.ebuild |
117 |
+++ b/app-text/lv/lv-4.51-r3.ebuild |
118 |
@@ -23,10 +23,10 @@ DEPEND="${RDEPEND} |
119 |
S="${WORKDIR}/${MY_P}" |
120 |
|
121 |
src_prepare() { |
122 |
- epatch "${FILESDIR}"/${P}-gentoo.patch |
123 |
- epatch "${FILESDIR}"/${P}-protos.patch |
124 |
- epatch "${FILESDIR}"/${P}-tinfo.patch |
125 |
- epatch "${FILESDIR}"/${P}-xz.diff |
126 |
+ epatch "${FILESDIR}"/${PN}-gentoo.patch |
127 |
+ epatch "${FILESDIR}"/${PN}-headers.patch |
128 |
+ epatch "${FILESDIR}"/${PN}-tinfo.patch |
129 |
+ epatch "${FILESDIR}"/${PN}-xz.patch |
130 |
|
131 |
cd "${S}"/src |
132 |
mv configure.{in,ac} |
133 |
|
134 |
diff --git a/app-text/lv/lv-4.51-r4.ebuild b/app-text/lv/lv-4.51-r4.ebuild |
135 |
index f85c10324f2..e219f8f061c 100644 |
136 |
--- a/app-text/lv/lv-4.51-r4.ebuild |
137 |
+++ b/app-text/lv/lv-4.51-r4.ebuild |
138 |
@@ -23,10 +23,10 @@ DEPEND="${RDEPEND} |
139 |
S="${WORKDIR}/${MY_P}" |
140 |
|
141 |
PATCHES=( |
142 |
- "${FILESDIR}"/${P}-gentoo.patch |
143 |
- "${FILESDIR}"/${P}-protos.patch |
144 |
- "${FILESDIR}"/${P}-tinfo.patch |
145 |
- "${FILESDIR}"/${P}-xz.diff |
146 |
+ "${FILESDIR}"/${PN}-gentoo.patch |
147 |
+ "${FILESDIR}"/${PN}-headers.patch |
148 |
+ "${FILESDIR}"/${PN}-tinfo.patch |
149 |
+ "${FILESDIR}"/${PN}-xz.patch |
150 |
) |
151 |
DOCS=( README hello.sample ) |
152 |
HTML_DOCS=( index.html relnote.html hello.sample.gif ) |