public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/pinfo/files/, app-text/pinfo/
@ 2015-08-12 15:03 Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2015-08-12 15:03 UTC (permalink / raw
  To: gentoo-commits

commit:     a1e9746ddab66a76492235b2ea4fda8385cac224
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 15:03:06 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 15:03:40 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e9746d

app-text/pinfo: fix build w/newer glibc & ncurses

 .../pinfo/files/pinfo-0.6.10-libc-basename.patch   | 33 ++++++++++++++++++++++
 .../pinfo/files/pinfo-0.6.10-ncurses-check.patch   | 14 +++++++++
 app-text/pinfo/pinfo-0.6.10-r5.ebuild              |  6 ++--
 3 files changed, 51 insertions(+), 2 deletions(-)

diff --git a/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch b/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch
new file mode 100644
index 0000000..6e9d495
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch
@@ -0,0 +1,33 @@
+do not redefine the basename that the C library provides
+
+--- a/src/filehandling_functions.c
++++ b/src/filehandling_functions.c
+@@ -31,7 +31,6 @@ typedef struct
+ }
+ Suffixes;
+ 
+-char * basename(char *filename);
+ 
+ 
+ /******************************************************************************
+@@ -713,20 +712,6 @@ opendirfile(int number)
+ 	return NULL;
+ }
+ 
+-char *
+-basename(char *filename)
+-{
+-	int len = strlen(filename);
+-	char *a = filename + len;
+-	while (a > filename)
+-	{
+-		a--;
+-		if (*a == '/')
+-			return a + 1;
+-	}
+-	return filename;		/* when it was a basename */
+-}
+-
+ /*
+  * Note: openinfo is a function for reading info files, and putting
+  * uncompressed content into a temporary filename.  For a flexibility, there

diff --git a/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch b/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
new file mode 100644
index 0000000..a5f14c5
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
@@ -0,0 +1,14 @@
+curses_wchar is set to true/false, so trying to assign it to the compiler
+flags variable makes no sense.  it's already been set up the right value
+at this point, so delete the assignment.
+
+--- a/macros/curses.m4
++++ b/macros/curses.m4
+@@ -130,7 +130,6 @@ AC_DEFUN([AC_CHECK_CURSES],[
+ 		else
+ 			AC_DEFINE(CURSES_WCHAR)
+ 			CURSES_WCHAR=true
+-			CURSES_FLAGS=$curses_wchar
+ 			AC_SUBST(CURSES_FLAGS)
+ 		fi
+ 

diff --git a/app-text/pinfo/pinfo-0.6.10-r5.ebuild b/app-text/pinfo/pinfo-0.6.10-r5.ebuild
index 793f3b4..f16ddb0 100644
--- a/app-text/pinfo/pinfo-0.6.10-r5.ebuild
+++ b/app-text/pinfo/pinfo-0.6.10-r5.ebuild
@@ -36,11 +36,13 @@ src_prepare() {
 		"${FILESDIR}"/${PN}-0.6.10-info-suffix.patch \
 		"${FILESDIR}"/${PN}-0.6.10-dir-file.patch \
 		"${FILESDIR}"/${PN}-0.6.10-tinfo.patch \
-		"${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch
+		"${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch \
+		"${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch \
+		"${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
 
 	eautoreconf
 
-	append-cflags -D_BSD_SOURCE # sbrk()
+	append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/pinfo/files/, app-text/pinfo/
@ 2017-05-23 15:48 Jeroen Roovers
  0 siblings, 0 replies; 4+ messages in thread
From: Jeroen Roovers @ 2017-05-23 15:48 UTC (permalink / raw
  To: gentoo-commits

commit:     ef605e06c7725c8c9cd7513f430098ac46de6c11
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 15:46:56 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue May 23 15:48:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef605e06

app-text/pinfo: Add clearfilenameprefix patch by Sophie Hamilton (bug #619452).

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../files/pinfo-0.6.10-clearfilenameprefix.patch   | 10 ++++
 app-text/pinfo/pinfo-0.6.10-r6.ebuild              | 57 ++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch b/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch
new file mode 100644
index 00000000000..0835d166932
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch
@@ -0,0 +1,10 @@
+--- a/src/filehandling_functions.c
++++ b/src/filehandling_functions.c
+@@ -758,6 +758,7 @@
+ 		tmpfilename = tmpfilename2;	/* later we will refere only to tmp2 */
+ 	}
+ 
++	clearfilenameprefix();
+ 	for (i = -1; i < infopathcount; i++)	/* go through all paths */
+ 	{
+ 		if (i == -1)

diff --git a/app-text/pinfo/pinfo-0.6.10-r6.ebuild b/app-text/pinfo/pinfo-0.6.10-r6.ebuild
new file mode 100644
index 00000000000..eaf6c3d4fb5
--- /dev/null
+++ b/app-text/pinfo/pinfo-0.6.10-r6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="Hypertext info and man viewer based on (n)curses"
+HOMEPAGE="http://pinfo.alioth.debian.org/"
+SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="nls readline"
+
+RDEPEND="sys-libs/ncurses:0=
+	sys-libs/readline:0=
+	nls? ( virtual/libintl )
+"
+
+DEPEND="
+	${RDEPEND}
+	sys-devel/bison
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.6.9-as-needed.patch
+	"${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch
+	"${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch
+	"${FILESDIR}"/${PN}-0.6.10-version.patch
+	"${FILESDIR}"/${PN}-0.6.10-info-suffix.patch
+	"${FILESDIR}"/${PN}-0.6.10-dir-file.patch
+	"${FILESDIR}"/${PN}-0.6.10-tinfo.patch
+	"${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch
+	"${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch
+	"${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
+	"${FILESDIR}"/${PN}-0.6.10-clearfilenameprefix.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+
+	append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
+}
+
+src_configure() {
+	econf \
+		$(use_with readline) \
+		$(use_enable nls)
+}
+
+src_install() {
+	emake DESTDIR="${D}" sysconfdir=/etc install
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/pinfo/files/, app-text/pinfo/
@ 2018-07-07  7:49 Jeroen Roovers
  0 siblings, 0 replies; 4+ messages in thread
From: Jeroen Roovers @ 2018-07-07  7:49 UTC (permalink / raw
  To: gentoo-commits

commit:     4a6467112e7e14f9b3ea244a26c6b6fb012312e3
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  7 07:49:23 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Jul  7 07:49:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a646711

app-text/pinfo: Fix compile failure with GCC 7 / -Os.

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../pinfo/files/pinfo-0.6.10-gcc-7-inline.patch    | 42 ++++++++++++++++++++++
 app-text/pinfo/pinfo-0.6.10-r6.ebuild              |  3 +-
 2 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch b/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch
new file mode 100644
index 00000000000..d73ad947c7d
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch
@@ -0,0 +1,42 @@
+--- a/src/initializelinks.c
++++ b/src/initializelinks.c
+@@ -75,7 +75,7 @@
+  * checks if an item belongs to tag table. returns 1 on success and 0 on
+  * failure.  It should be optimised...
+  */
+-inline int
++int
+ exists_in_tag_table(char *item)
+ {
+ 	if (gettagtablepos(item) != -1)
+--- a/src/filehandling_functions.c
++++ b/src/filehandling_functions.c
+@@ -554,7 +554,7 @@
+ 	return 1;
+ }
+ 
+-inline void
++void
+ buildcommand(char *dest, char *command, char *filename, const char *tmpfilename)
+ {
+ 	strcpy(dest, command);
+@@ -564,7 +564,7 @@
+ 	strcat(dest, tmpfilename);
+ }
+ 
+-inline void
++void
+ builddircommand(char *dest, char *command, char *filename, const char *tmpfilename)
+ {
+ 	strcpy(dest, command);
+--- a/src/utils.c
++++ b/src/utils.c
+@@ -193,7 +193,7 @@
+ 	return value;
+ }
+ 
+-inline void
++void
+ initlocale()
+ {
+ #ifdef ___DEBUG___

diff --git a/app-text/pinfo/pinfo-0.6.10-r6.ebuild b/app-text/pinfo/pinfo-0.6.10-r6.ebuild
index f18ab4f78a9..633f0825ca0 100644
--- a/app-text/pinfo/pinfo-0.6.10-r6.ebuild
+++ b/app-text/pinfo/pinfo-0.6.10-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -37,6 +37,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch
 	"${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
 	"${FILESDIR}"/${PN}-0.6.10-clearfilenameprefix.patch
+	"${FILESDIR}"/${PN}-0.6.10-gcc-7-inline.patch
 )
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/pinfo/files/, app-text/pinfo/
@ 2020-09-05 12:47 Jeroen Roovers
  0 siblings, 0 replies; 4+ messages in thread
From: Jeroen Roovers @ 2020-09-05 12:47 UTC (permalink / raw
  To: gentoo-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 17191 bytes --]

commit:     a8f05682b4b002d085f341aa010c4405b2892c16
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  5 12:42:14 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Sep  5 12:47:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f05682

app-text/pinfo: Old

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 app-text/pinfo/Manifest                            |   1 -
 .../files/pinfo-0.6.10-clearfilenameprefix.patch   |  10 --
 app-text/pinfo/files/pinfo-0.6.10-dir-file.patch   |  11 ---
 .../pinfo/files/pinfo-0.6.10-gcc-7-inline.patch    |  42 --------
 .../pinfo/files/pinfo-0.6.10-gettext-0.19.patch    | 110 ---------------------
 .../pinfo/files/pinfo-0.6.10-info-suffix.patch     |  28 ------
 .../pinfo/files/pinfo-0.6.10-libc-basename.patch   |  33 -------
 .../pinfo/files/pinfo-0.6.10-ncurses-check.patch   |  14 ---
 app-text/pinfo/files/pinfo-0.6.10-tinfo.patch      |  40 --------
 app-text/pinfo/files/pinfo-0.6.10-version.patch    |  11 ---
 app-text/pinfo/files/pinfo-0.6.9-as-needed.patch   |  22 -----
 app-text/pinfo/pinfo-0.6.10-r5.ebuild              |  55 -----------
 app-text/pinfo/pinfo-0.6.10-r7.ebuild              |  60 -----------
 13 files changed, 437 deletions(-)

diff --git a/app-text/pinfo/Manifest b/app-text/pinfo/Manifest
index f6fcb600816..5d4d910667e 100644
--- a/app-text/pinfo/Manifest
+++ b/app-text/pinfo/Manifest
@@ -1,2 +1 @@
-DIST pinfo-0.6.10.tar.bz2 133059 BLAKE2B aaac23583510f42ac8a0c71a380f2bc76c4db6d78518bb4d5399c100bf0aec291c869576b18313e00f8572610cb967c3acb5f8d643c48f1295fd2efa8e16e3e6 SHA512 d3aeb93a668b939a2be7dd397ef5c918a8d108a1a7613ce39d4ef2faafbd549582a35d95c74c1dc74f4c86c9f2bf09b7bca7b5006c5a79302403dd906e8d376e
 DIST pinfo-0.6.13.tar.gz 157103 BLAKE2B 18af4a5ae1bbd2abccb174ce1a3a16e4d17207a10015042723c58f80695c2580ca0c1c60f4f6f4f08e67eb01316fe48cd848a887e65159a6cd4463eca14bdecd SHA512 739e24821a363a087fb9df5651694f051286d4a15c3e51f2421a2aa60b1efe1da558b959ba22a0094e22854534ea5875498156e8ea2e198e31001aecab1a18df

diff --git a/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch b/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch
deleted file mode 100644
index 0835d166932..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/filehandling_functions.c
-+++ b/src/filehandling_functions.c
-@@ -758,6 +758,7 @@
- 		tmpfilename = tmpfilename2;	/* later we will refere only to tmp2 */
- 	}
- 
-+	clearfilenameprefix();
- 	for (i = -1; i < infopathcount; i++)	/* go through all paths */
- 	{
- 		if (i == -1)

diff --git a/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch b/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch
deleted file mode 100644
index 7a282f354ba..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/filehandling_functions.c
-+++ b/src/filehandling_functions.c
-@@ -742,7 +742,7 @@
- 	int i, j;
- 	char *tmpfilename;
- 
--	if (strncmp(filename, "dir", 3) == 0)
-+	if (strncmp(filename, "dir", 3) == 0 && !isalnum(filename[3]))
- 	{
- 		xfree(buf);
- 		return opendirfile(number);

diff --git a/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch b/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch
deleted file mode 100644
index d73ad947c7d..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/src/initializelinks.c
-+++ b/src/initializelinks.c
-@@ -75,7 +75,7 @@
-  * checks if an item belongs to tag table. returns 1 on success and 0 on
-  * failure.  It should be optimised...
-  */
--inline int
-+int
- exists_in_tag_table(char *item)
- {
- 	if (gettagtablepos(item) != -1)
---- a/src/filehandling_functions.c
-+++ b/src/filehandling_functions.c
-@@ -554,7 +554,7 @@
- 	return 1;
- }
- 
--inline void
-+void
- buildcommand(char *dest, char *command, char *filename, const char *tmpfilename)
- {
- 	strcpy(dest, command);
-@@ -564,7 +564,7 @@
- 	strcat(dest, tmpfilename);
- }
- 
--inline void
-+void
- builddircommand(char *dest, char *command, char *filename, const char *tmpfilename)
- {
- 	strcpy(dest, command);
---- a/src/utils.c
-+++ b/src/utils.c
-@@ -193,7 +193,7 @@
- 	return value;
- }
- 
--inline void
-+void
- initlocale()
- {
- #ifdef ___DEBUG___

diff --git a/app-text/pinfo/files/pinfo-0.6.10-gettext-0.19.patch b/app-text/pinfo/files/pinfo-0.6.10-gettext-0.19.patch
deleted file mode 100644
index 6679e51acb2..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-gettext-0.19.patch
+++ /dev/null
@@ -1,110 +0,0 @@
---- a/po/cs.po
-+++ b/po/cs.po
-@@ -9,6 +9,7 @@
- "PO-Revision-Date: 2005-10-11 16:59+0200\n"
- "Last-Translator: Katarina Machalkova <bubli@bubli.org>\n"
- "Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
-+"Language: cs\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=ISO-8859-2\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/de.po
-+++ b/po/de.po
-@@ -10,6 +10,7 @@
- "PO-Revision-Date: 1999-04-21 01:50+0200\n"
- "Last-Translator: René van Bevern <rvb@pro-linux.de>\n"
- "Language-Team: German <de@li.org>\n"
-+"Language: de\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=ISO-8859-1\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/eu.po
-+++ b/po/eu.po
-@@ -12,6 +12,7 @@
- "PO-Revision-Date: 2005-09-28 23:14+0200\n"
- "Last-Translator: Piarres Beobide <pi@beobide.net>\n"
- "Language-Team: librezale.org <librezale@librezale.org>\n"
-+"Language: eu\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=UTF-8\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/ja.po
-+++ b/po/ja.po
-@@ -10,6 +10,7 @@
- "PO-Revision-Date: 2001-11-21 17:42+0900\n"
- "Last-Translator: Masayuki Hatta <mhatta@gnu.org>\n"
- "Language-Team: Japanese <ja@li.org>\n"
-+"Language: ja\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=euc-jp\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/nl.po
-+++ b/po/nl.po
-@@ -11,6 +11,7 @@
- "PO-Revision-Date: 2005-09-01 21:21+0200\n"
- "Last-Translator: Bas Zoetekouw <bas@debian.org>\n"
- "Language-Team: Dutch <nl@li.org>\n"
-+"Language: nl\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=ISO-8859-15\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/pl.po
-+++ b/po/pl.po
-@@ -10,6 +10,7 @@
- "PO-Revision-Date: 2005-09-29 21:59+0200\n"
- "Last-Translator: Krzysztof Krzy¿aniak (eloy) <eloy@debian.org>\n"
- "Language-Team:\n"
-+"Language: pl\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=ISO-8859-2\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/pt_BR.po
-+++ b/po/pt_BR.po
-@@ -13,6 +13,7 @@
- "Last-Translator: Felipe Augusto van de Wiel (faw) <felipe@cathedrallabs."
- "org>\n"
- "Language-Team: l10n portuguese <debian-l10n-portuguese@lists.debian.org>\n"
-+"Language: pt_BR\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=utf-8\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/ro.po
-+++ b/po/ro.po
-@@ -11,6 +11,7 @@
- "PO-Revision-Date: 2005-09-30 03:42+0300\n"
- "Last-Translator: Eddy Petrisor <eddy.petrisor@gmail.com>\n"
- "Language-Team: Romanian <debian-l10n-romanian@lists.debian.org>\n"
-+"Language: ro\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=UTF-8\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/ru.po
-+++ b/po/ru.po
-@@ -11,6 +11,7 @@
- "PO-Revision-Date: 2005-10-01 10:47+0400\n"
- "Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
- "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
-+"Language: ru\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=UTF-8\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/sv.po
-+++ b/po/sv.po
-@@ -11,6 +11,7 @@
- "PO-Revision-Date: 2005-10-06 12:00+0200\n"
- "Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
- "Language-Team: Swedish <sv@li.org>\n"
-+"Language: sv\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=iso-8859-1\n"
- "Content-Transfer-Encoding: 8bit\n"
---- a/po/vi.po
-+++ b/po/vi.po
-@@ -11,6 +11,7 @@
- "PO-Revision-Date: 2005-12-21 15:11+1030\n"
- "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
- "Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
-+"Language: vi\n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=UTF-8\n"
- "Content-Transfer-Encoding: 8bit\n"

diff --git a/app-text/pinfo/files/pinfo-0.6.10-info-suffix.patch b/app-text/pinfo/files/pinfo-0.6.10-info-suffix.patch
deleted file mode 100644
index 45be53cd1bf..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-info-suffix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/src/filehandling_functions.c
-+++ b/src/filehandling_functions.c
-@@ -96,11 +96,14 @@ matchfile(char **buf, char *name)
- 	{
- 		/* use strcat rather than strdup, because xmalloc handles all 
- 		 * malloc errors */
--		char *thisfile = xmalloc(strlen(dp->d_name)+1);
-+		int len = strlen(dp->d_name)+1;
-+		char *thisfile = xmalloc(len * 2);
-+		char *thisfile_info = thisfile + len;
- 		strcat(thisfile, dp->d_name);
- 
- 		/* strip suffixes (so "gcc.info.gz" -> "gcc") */
- 		strip_compression_suffix(thisfile);
-+		strcat(thisfile_info, thisfile);
- 		strip_info_suffix(thisfile);
- 
- 		/* compare this file with the file we're looking for */
-@@ -109,8 +112,7 @@ matchfile(char **buf, char *name)
- 			/* we found a match! */
- 			matched++;
- 			/* put it in the buffer */
--			strncat(Buf, thisfile, 1023-strlen(Buf));
--			strncat(Buf, ".info", 1023-strlen(Buf));
-+			strncat(Buf, thisfile_info, 1023-strlen(Buf));
- 
- 			/* clean up, and exit the loop */
- 			xfree(thisfile);

diff --git a/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch b/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch
deleted file mode 100644
index 6e9d4954792..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-do not redefine the basename that the C library provides
-
---- a/src/filehandling_functions.c
-+++ b/src/filehandling_functions.c
-@@ -31,7 +31,6 @@ typedef struct
- }
- Suffixes;
- 
--char * basename(char *filename);
- 
- 
- /******************************************************************************
-@@ -713,20 +712,6 @@ opendirfile(int number)
- 	return NULL;
- }
- 
--char *
--basename(char *filename)
--{
--	int len = strlen(filename);
--	char *a = filename + len;
--	while (a > filename)
--	{
--		a--;
--		if (*a == '/')
--			return a + 1;
--	}
--	return filename;		/* when it was a basename */
--}
--
- /*
-  * Note: openinfo is a function for reading info files, and putting
-  * uncompressed content into a temporary filename.  For a flexibility, there

diff --git a/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch b/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
deleted file mode 100644
index a5f14c593f4..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-curses_wchar is set to true/false, so trying to assign it to the compiler
-flags variable makes no sense.  it's already been set up the right value
-at this point, so delete the assignment.
-
---- a/macros/curses.m4
-+++ b/macros/curses.m4
-@@ -130,7 +130,6 @@ AC_DEFUN([AC_CHECK_CURSES],[
- 		else
- 			AC_DEFINE(CURSES_WCHAR)
- 			CURSES_WCHAR=true
--			CURSES_FLAGS=$curses_wchar
- 			AC_SUBST(CURSES_FLAGS)
- 		fi
- 

diff --git a/app-text/pinfo/files/pinfo-0.6.10-tinfo.patch b/app-text/pinfo/files/pinfo-0.6.10-tinfo.patch
deleted file mode 100644
index bbb6ecfe421..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-tinfo.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -118,7 +118,24 @@
- 					
- 
- # curses
-+PKG_CHECK_MODULES(ncursesw,ncursesw,[
-+	curses_includes="$ncursesw_CFLAGS"
-+	curses_libs="$ncursesw_LIBS"
-+	curses_h=ncurses.h
-+	stop_searching=true
-+	found_curses_h=true
-+	USE_CURSES=true],[
-+	PKG_CHECK_MODULES(ncurses,ncurses,[
-+		curses_includes="$ncurses_CFLAGS"
-+		curses_libs="$ncurses_LIBS"
-+		curses_h=ncurses.h
-+		stop_searching=true
-+		found_curses_h=true
-+		USE_CURSES=true],
-+		[])])
-+
- AC_CHECK_CURSES
-+
- if ! test "x$USE_CURSES" = "xtrue"; then
- 	AC_MSG_ERROR([Curses not found. You need curses to compile pinfo])
- fi
---- a/macros/curses.m4
-+++ b/macros/curses.m4
-@@ -175,8 +175,8 @@
- AC_DEFUN([AC_SEARCH_CURSES_H], [
- 	AC_MSG_CHECKING([location of curses.h file])
- 
--	stop_searching=false
--	found_curses_h=false
-+#	stop_searching=false
-+#	found_curses_h=false
- 
- 	dnl  if a particular location was specified
- 	if test "x$curses_location" != "xfalse"

diff --git a/app-text/pinfo/files/pinfo-0.6.10-version.patch b/app-text/pinfo/files/pinfo-0.6.10-version.patch
deleted file mode 100644
index 8038fe0879e..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.10-version.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/doc/pinfo.texi	2006-03-16 16:40:41.000000000 +0100
-+++ b/doc/pinfo.texi	2010-06-18 16:20:24.000000000 +0200
-@@ -5,7 +5,7 @@
- @c %**end of header
- 
- @set EDITION 0.2.1
--@set VERSION 0.6.4
-+@set VERSION 0.6.10
- @set DATE 1 Dec 2001
- @set DATEMAN 21 Mar 1999
- 

diff --git a/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch b/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch
deleted file mode 100644
index 85a80e6f260..00000000000
--- a/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/macros/curses.m4
-+++ b/macros/curses.m4
-@@ -257,8 +257,8 @@
- 	dnl save CFLAGS and LDFLAGS and set new ones
- 	CFLAGS_OLD=$CFLAGS
- 	CFLAGS="$CFLAGS $curses_includes"
--	LDFLAGS_OLD=$LDFLAGS
--	LDFLAGS="$LDFLAGS $curses_libs"
-+	LIBS_OLD=$LIBS
-+	LIBS="$LIBS $curses_libs"
- 
- 	dnl do the compile test 
- 	AC_MSG_CHECKING([if curses is usable])
-@@ -288,7 +288,7 @@
- 
- 	dnl restore variables
- 	CFLAGS=$CFLAGS_OLD
--	LDFLAGS=$LDFLAGS_OLD
-+	LIBS=$LIBS_OLD
- 
- ])
- 

diff --git a/app-text/pinfo/pinfo-0.6.10-r5.ebuild b/app-text/pinfo/pinfo-0.6.10-r5.ebuild
deleted file mode 100644
index 54b487de0d9..00000000000
--- a/app-text/pinfo/pinfo-0.6.10-r5.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils flag-o-matic
-
-DESCRIPTION="Hypertext info and man viewer based on (n)curses"
-HOMEPAGE="http://pinfo.alioth.debian.org/"
-SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
-IUSE="nls readline"
-
-RDEPEND="sys-libs/ncurses:0=
-	sys-libs/readline:0=
-	nls? ( virtual/libintl )
-"
-
-DEPEND="
-	${RDEPEND}
-	sys-devel/bison
-	virtual/pkgconfig
-	nls? ( sys-devel/gettext )
-"
-
-src_prepare() {
-	epatch \
-		"${FILESDIR}"/${PN}-0.6.9-as-needed.patch \
-		"${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch \
-		"${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch \
-		"${FILESDIR}"/${PN}-0.6.10-version.patch \
-		"${FILESDIR}"/${PN}-0.6.10-info-suffix.patch \
-		"${FILESDIR}"/${PN}-0.6.10-dir-file.patch \
-		"${FILESDIR}"/${PN}-0.6.10-tinfo.patch \
-		"${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch \
-		"${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch \
-		"${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
-
-	eautoreconf
-
-	append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
-}
-
-src_configure() {
-	econf \
-		$(use_with readline) \
-		$(use_enable nls)
-}
-
-src_install() {
-	emake DESTDIR="${D}" sysconfdir=/etc install
-}

diff --git a/app-text/pinfo/pinfo-0.6.10-r7.ebuild b/app-text/pinfo/pinfo-0.6.10-r7.ebuild
deleted file mode 100644
index 43f39813243..00000000000
--- a/app-text/pinfo/pinfo-0.6.10-r7.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools flag-o-matic
-
-DESCRIPTION="Hypertext info and man viewer based on (n)curses"
-HOMEPAGE="http://pinfo.alioth.debian.org/"
-SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="nls readline"
-
-RDEPEND="
-	sys-libs/ncurses:0=
-	sys-libs/readline:0=
-	nls? ( virtual/libintl )
-"
-
-DEPEND="
-	${RDEPEND}
-	sys-apps/texinfo
-	sys-devel/bison
-	virtual/pkgconfig
-	nls? ( sys-devel/gettext )
-"
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.6.9-as-needed.patch
-	"${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch
-	"${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch
-	"${FILESDIR}"/${PN}-0.6.10-version.patch
-	"${FILESDIR}"/${PN}-0.6.10-info-suffix.patch
-	"${FILESDIR}"/${PN}-0.6.10-dir-file.patch
-	"${FILESDIR}"/${PN}-0.6.10-tinfo.patch
-	"${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch
-	"${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch
-	"${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
-	"${FILESDIR}"/${PN}-0.6.10-clearfilenameprefix.patch
-	"${FILESDIR}"/${PN}-0.6.10-gcc-7-inline.patch
-)
-
-src_prepare() {
-	default
-
-	eautoreconf
-
-	append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
-}
-
-src_configure() {
-	econf \
-		$(use_with readline) \
-		$(use_enable nls)
-}
-
-src_install() {
-	emake DESTDIR="${D}" sysconfdir="${EPREFIX}/etc" install
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-05 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-23 15:48 [gentoo-commits] repo/gentoo:master commit in: app-text/pinfo/files/, app-text/pinfo/ Jeroen Roovers
  -- strict thread matches above, loose matches on Subject: below --
2020-09-05 12:47 Jeroen Roovers
2018-07-07  7:49 Jeroen Roovers
2015-08-12 15:03 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox