summaryrefslogtreecommitdiff
path: root/app-text/tabler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
commitf516638b7fe9592837389826a6152a7e1b251c54 (patch)
tree8bfecb640b7b6403d7a3d662d923eed630033da7 /app-text/tabler
parent1a61119f9f7b057830e2ce0563f913ec86f282ad (diff)
gentoo resync : 30.05.2020
Diffstat (limited to 'app-text/tabler')
-rw-r--r--app-text/tabler/Manifest3
-rw-r--r--app-text/tabler/files/tabler-2-fno-common.patch22
-rw-r--r--app-text/tabler/tabler-2-r1.ebuild16
3 files changed, 32 insertions, 9 deletions
diff --git a/app-text/tabler/Manifest b/app-text/tabler/Manifest
index dd5de87930c3..7792f055fc15 100644
--- a/app-text/tabler/Manifest
+++ b/app-text/tabler/Manifest
@@ -1,3 +1,4 @@
+AUX tabler-2-fno-common.patch 495 BLAKE2B 57c63a1b5d4dedd83d9b7034de4fc41696e4acbd6af681b6dd0214013b0ba0a6465f8734cb372164407f20f826244057884763e6bca34dca0b97f19a2e2f3309 SHA512 cfe00a5cad87fee0764b39d1e3c4f07144026763eebbc886c7460f63645a7e94df6c2858c79e294c32970cc0839cb491d586350244c46d251fd98d20e58c2113
DIST tabler-2.tar.gz 87706 BLAKE2B 32b259cd84a9cb8c1475ef6da6815f96e5eb947d392fdd5150570ce639a7fcbc251baa9204e1c25bf471be025ae920b203fc0f89cdef46360b0af4d9f52122af SHA512 6f01796b4cadae22f9ae0029ee8a7bb224d04faae1793b13c9d8473e6a902543a5bd6da86e806f9c50c8b39ad7f5d44525c2a701920cd6c62c27995409d0b1d8
-EBUILD tabler-2-r1.ebuild 428 BLAKE2B 8a8584a6e0bb6923b2c32a4131befdaced5935643ace6971f7953113f37b2d297678226b8e37f2172bb6273d5bc24942042edb1588f77687bb836a0e6060a316 SHA512 9b234538b56fce6332a580243f27387e21d34d35f9790cdf6de8d12a5debdc2a0bf6a93213e9a7c7df5f2131577d4aa88c87f70f3b3d01e0ec2255a4306dd5fe
+EBUILD tabler-2-r1.ebuild 420 BLAKE2B a8f41c31ade7b3a58962151111c075d49b3c91380049a41a4763471ff43f033edc18b9d2b725ecbac7278f1f40524e619f0a03eb30158f1006b4268ac042abcf SHA512 30eeeab2dc3a9c53eb659cc546fa16f13cf00bf53f5d5ff79f81ccb9ffedf23ba7e1508f4d64c1448da4c440c42f9aaaa04e2a9cb58834870d62cd952249a2dd
MISC metadata.xml 243 BLAKE2B d1a92b4f94bf011a4e2e185cc73d1ba11312a451e3d03437ca809bdd8df91be0f8280839eea56fb9dfb2cf711c1d2021f11ddec24833df077e2da061353df255 SHA512 c0d977a25c38fe6c32745c0b18520aa510c617922f267a468b2b788480104214bb5db37564d6ae52c45298e98da2764595734c827ab01abcce1270ed241e3bf7
diff --git a/app-text/tabler/files/tabler-2-fno-common.patch b/app-text/tabler/files/tabler-2-fno-common.patch
new file mode 100644
index 000000000000..b334880e5ec8
--- /dev/null
+++ b/app-text/tabler/files/tabler-2-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/util.h
++++ b/util.h
+@@ -35,7 +35,7 @@
+ int digits(int n, int base);
+ char *replace_backslashed(char *string);
+
+-char *_strregtok_previous_end;
++extern char *_strregtok_previous_end;
+ char *strregtok(char *string, const regex_t *seperator);
+
+ #endif /* UTIL_H */
+--- a/util.c
++++ b/util.c
+@@ -32,6 +32,8 @@
+ #include "conf.h"
+ #include "util.h"
+
++char *_strregtok_previous_end;
++
+ /* replace_backslashed
+ *
+ * Replaces, within the given string, certain backslashed characters with the
diff --git a/app-text/tabler/tabler-2-r1.ebuild b/app-text/tabler/tabler-2-r1.ebuild
index f727d216278f..e39e7e2835a9 100644
--- a/app-text/tabler/tabler-2-r1.ebuild
+++ b/app-text/tabler/tabler-2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="A utility to create text art tables from delimited input"
HOMEPAGE="https://sourceforge.net/projects/tabler/"
@@ -10,9 +10,9 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog README
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-fno-common.patch
+)
+DOCS=(
+ AUTHORS ChangeLog README
+)