Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/texinfo/files/, sys-apps/texinfo/
Date: Sat, 26 Dec 2020 21:07:51
Message-Id: 1609016861.a879915c57fae99b25fc1fab0d4e0d0a529d6995.sam@gentoo
1 commit: a879915c57fae99b25fc1fab0d4e0d0a529d6995
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 21:07:41 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 21:07:41 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a879915c
7
8 sys-apps/texinfo: drop ~m68k-mint (inc. patch)
9
10 Deliberately included the patch in the previous commit
11 in case we ever want to revive it, so that it's in the
12 tree history.
13
14 Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 sys-apps/texinfo/files/texinfo-4.13-mint.patch | 63 --------------------------
18 sys-apps/texinfo/texinfo-6.7.ebuild | 3 +-
19 2 files changed, 1 insertion(+), 65 deletions(-)
20
21 diff --git a/sys-apps/texinfo/files/texinfo-4.13-mint.patch b/sys-apps/texinfo/files/texinfo-4.13-mint.patch
22 deleted file mode 100644
23 index b4533939c47..00000000000
24 --- a/sys-apps/texinfo/files/texinfo-4.13-mint.patch
25 +++ /dev/null
26 @@ -1,63 +0,0 @@
27 -patch by Alan Hourihane for FreeMiNT
28 -http://archives.gentoo.org/gentoo-alt/msg_d2ac4e586d9c51b1d4e46f555e899cc9.xml
29 -
30 -diff -u gnulib/lib/mbiter.h gnulib/lib/mbiter.h
31 ---- gnulib/lib/mbiter.h 2008-05-12 12:38:21.000000000 +0000
32 -+++ gnulib/lib/mbiter.h 2008-11-19 21:13:17.000000000 +0000
33 -@@ -117,8 +117,10 @@
34 - {
35 - if (iter->next_done)
36 - return;
37 -+#if (HAVE_MBSINIT && HAVE_MBRTOWC)
38 - if (iter->in_shift)
39 - goto with_shift;
40 -+#endif
41 - /* Handle most ASCII characters quickly, without calling mbrtowc(). */
42 - if (is_basic (*iter->cur.ptr))
43 - {
44 -@@ -129,6 +131,7 @@
45 - iter->cur.wc = *iter->cur.ptr;
46 - iter->cur.wc_valid = true;
47 - }
48 -+#if (HAVE_MBSINIT && HAVE_MBRTOWC)
49 - else
50 - {
51 - assert (mbsinit (&iter->state));
52 -@@ -169,6 +172,7 @@
53 - iter->in_shift = false;
54 - }
55 - }
56 -+#endif
57 - iter->next_done = true;
58 - }
59 -
60 -diff -u gnulib/lib/mbuiter.h gnulib/lib/mbuiter.h
61 ---- gnulib/lib/mbuiter.h 2007-12-25 23:57:18.000000000 +0000
62 -+++ gnulib/lib/mbuiter.h 2008-11-19 21:15:12.000000000 +0000
63 -@@ -125,8 +125,10 @@
64 - {
65 - if (iter->next_done)
66 - return;
67 -+#if (HAVE_MBSINIT && HAVE_MBRTOWC)
68 - if (iter->in_shift)
69 - goto with_shift;
70 -+#endif
71 - /* Handle most ASCII characters quickly, without calling mbrtowc(). */
72 - if (is_basic (*iter->cur.ptr))
73 - {
74 -@@ -137,6 +139,7 @@
75 - iter->cur.wc = *iter->cur.ptr;
76 - iter->cur.wc_valid = true;
77 - }
78 -+#if (HAVE_MBSINIT && HAVE_MBRTOWC)
79 - else
80 - {
81 - assert (mbsinit (&iter->state));
82 -@@ -178,6 +181,7 @@
83 - iter->in_shift = false;
84 - }
85 - }
86 -+#endif
87 - iter->next_done = true;
88 - }
89 -
90
91 diff --git a/sys-apps/texinfo/texinfo-6.7.ebuild b/sys-apps/texinfo/texinfo-6.7.ebuild
92 index 01d16d60a61..3302ea6162b 100644
93 --- a/sys-apps/texinfo/texinfo-6.7.ebuild
94 +++ b/sys-apps/texinfo/texinfo-6.7.ebuild
95 @@ -15,7 +15,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
96
97 LICENSE="GPL-3"
98 SLOT="0"
99 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
100 +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
101 IUSE="nls +standalone static"
102
103 RDEPEND="
104 @@ -36,7 +36,6 @@ src_prepare() {
105 default
106
107 if use prefix ; then
108 - eapply -p0 "${FILESDIR}"/${PN}-4.13-mint.patch
109 sed -i -e '1c\#!/usr/bin/env sh' util/texi2dvi util/texi2pdf || die
110 touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1
111 fi