Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/po4a/files/, app-text/po4a/
Date: Fri, 09 Sep 2022 14:31:30
Message-Id: 1662733669.126521cd90f951c8984181daa43bf0d5f64217f0.hattya@gentoo
1 commit: 126521cd90f951c8984181daa43bf0d5f64217f0
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 9 14:27:49 2022 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 9 14:27:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126521cd
7
8 app-text/po4a: rename patches
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
12
13 .../po4a/files/{po4a-man.patch => po4a-0.66-man.patch} | 0
14 app-text/po4a/files/po4a-0.67-man.patch | 18 ------------------
15 app-text/po4a/files/po4a-man.patch | 16 ++++++++--------
16 app-text/po4a/po4a-0.66.ebuild | 2 +-
17 app-text/po4a/po4a-0.67.ebuild | 2 +-
18 5 files changed, 10 insertions(+), 28 deletions(-)
19
20 diff --git a/app-text/po4a/files/po4a-man.patch b/app-text/po4a/files/po4a-0.66-man.patch
21 similarity index 100%
22 copy from app-text/po4a/files/po4a-man.patch
23 copy to app-text/po4a/files/po4a-0.66-man.patch
24
25 diff --git a/app-text/po4a/files/po4a-0.67-man.patch b/app-text/po4a/files/po4a-0.67-man.patch
26 deleted file mode 100644
27 index 6c79ebf77dd2..000000000000
28 --- a/app-text/po4a/files/po4a-0.67-man.patch
29 +++ /dev/null
30 @@ -1,18 +0,0 @@
31 ---- a/Po4aBuilder.pm
32 -+++ b/Po4aBuilder.pm
33 -@@ -234,7 +234,6 @@
34 - }
35 - $parser->parse_from_file ($file, $out);
36 -
37 -- system("gzip -9 -f $out") and die;
38 - unlink "$file" || die;
39 - }
40 -
41 -@@ -253,7 +252,6 @@
42 - print "Convert $outdir/$outfile.$section (online docbook.xsl file). ";
43 - system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die;
44 - }
45 -- system ("gzip -9 -f $outdir/$outfile.$section") and die;
46 - }
47 - unlink "$file" || die;
48 - }
49
50 diff --git a/app-text/po4a/files/po4a-man.patch b/app-text/po4a/files/po4a-man.patch
51 index 40927dbda818..6c79ebf77dd2 100644
52 --- a/app-text/po4a/files/po4a-man.patch
53 +++ b/app-text/po4a/files/po4a-man.patch
54 @@ -1,6 +1,6 @@
55 --- a/Po4aBuilder.pm
56 +++ b/Po4aBuilder.pm
57 -@@ -232,7 +232,6 @@
58 +@@ -234,7 +234,6 @@
59 }
60 $parser->parse_from_file ($file, $out);
61
62 @@ -8,11 +8,11 @@
63 unlink "$file" || die;
64 }
65
66 -@@ -250,7 +249,6 @@
67 - print "Convert $outdir/$outfile.$section (online docbook.xsl file). ";
68 - system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die;
69 - }
70 -- system ("gzip -9 -f $outdir/$outfile.$section") and die;
71 +@@ -253,7 +252,6 @@
72 + print "Convert $outdir/$outfile.$section (online docbook.xsl file). ";
73 + system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die;
74 + }
75 +- system ("gzip -9 -f $outdir/$outfile.$section") and die;
76 + }
77 + unlink "$file" || die;
78 }
79 - unlink "$file" || die;
80 - }
81
82 diff --git a/app-text/po4a/po4a-0.66.ebuild b/app-text/po4a/po4a-0.66.ebuild
83 index 0c39ceb095cc..075e72ec5e4e 100644
84 --- a/app-text/po4a/po4a-0.66.ebuild
85 +++ b/app-text/po4a/po4a-0.66.ebuild
86 @@ -37,7 +37,7 @@ BDEPEND="app-text/docbook-xml-dtd:4.1.2
87 virtual/latex-base
88 )"
89
90 -PATCHES=( "${FILESDIR}"/${PN}-man.patch )
91 +PATCHES=( "${FILESDIR}"/${P}-man.patch )
92
93 DIST_TEST="do"
94
95
96 diff --git a/app-text/po4a/po4a-0.67.ebuild b/app-text/po4a/po4a-0.67.ebuild
97 index 4fe9ab68c59f..300d739e1730 100644
98 --- a/app-text/po4a/po4a-0.67.ebuild
99 +++ b/app-text/po4a/po4a-0.67.ebuild
100 @@ -38,7 +38,7 @@ BDEPEND="app-text/docbook-xml-dtd:4.1.2
101 virtual/latex-base
102 )"
103
104 -PATCHES=( "${FILESDIR}"/${P}-man.patch )
105 +PATCHES=( "${FILESDIR}"/${PN}-man.patch )
106
107 DIST_TEST="do"