summaryrefslogtreecommitdiff
path: root/app-misc/regex-markup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/regex-markup
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/regex-markup')
-rw-r--r--app-misc/regex-markup/Manifest4
-rw-r--r--app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch29
-rw-r--r--app-misc/regex-markup/metadata.xml5
-rw-r--r--app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild36
4 files changed, 74 insertions, 0 deletions
diff --git a/app-misc/regex-markup/Manifest b/app-misc/regex-markup/Manifest
new file mode 100644
index 000000000000..10706993e460
--- /dev/null
+++ b/app-misc/regex-markup/Manifest
@@ -0,0 +1,4 @@
+AUX regex-markup-0.10.0-locale.patch 646 BLAKE2B 6e445af3492563105352ca63930e7f52a2389d96181aa86e85d28e5ff89d72c28f5ac368d06e46cf4e6d1e2f8adb65f279f494f9413349b79fa947b165bfe0a0 SHA512 d1d181950c1aef34df631f5a9143163e62bbb5171bbcfac7099998e7e658952ae19181e37e95b1d6f2e65cec34ce23d2aa0894cd93e8b4a84f0410d751c36177
+DIST regex-markup-0.10.0.tar.gz 424480 BLAKE2B 1b1aa0054c754b4ec36e7a06a38617b01fc86699159c98c709fd9b2bd7394644c8eb69eb0b1e4b39fa157c02daa3a55767edce831bcc7f4ceff7f40786b4efbd SHA512 fddb43b41771e5f75a140798304023087931da383cdee0b6fa9c0bd867e9e5280f484bc6182960c08993d91963de22fa9f0052e867a58067dfc39d9b761e0e9f
+EBUILD regex-markup-0.10.0-r1.ebuild 675 BLAKE2B b0aef5017ff3a2c513a5ba24f84acfdd27bd7b86870c533af2eeecc0b6f53667708feee8a431b85a0df121efb987886c3a305fe03beaf1a309fbd736913fbcaa SHA512 b41ef5ef2f0b7d2037dccb5fb2493e5c827e55b8cd9da4da2f7a0a482906e9b3021b9435af7b696664a66b62e7643eb5b1b2afef3c6d970298263437d817f234
+MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch b/app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch
new file mode 100644
index 000000000000..be9c74a66ceb
--- /dev/null
+++ b/app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch
@@ -0,0 +1,29 @@
+ src/cacheline.c | 2 ++
+ src/remark.c | 1 +
+ 2 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/src/cacheline.c b/src/cacheline.c
+index 8c6f97b..f395c60 100644
+--- a/src/cacheline.c
++++ b/src/cacheline.c
+@@ -27,6 +27,8 @@
+ #include "getline.h" /* Gnulib/GNU Libc */
+ #include "version-etc.h" /* Gnulib */
+
++#include <locale.h>
++
+ enum {
+ HELP_OPT = 256,
+ VERSION_OPT
+diff --git a/src/remark.c b/src/remark.c
+index dcf8327..8998112 100644
+--- a/src/remark.c
++++ b/src/remark.c
+@@ -44,6 +44,7 @@
+ #include "common/intutil.h"
+ /* regex-markup */
+ #include "remark.h"
++#include <locale.h>
+
+ #define PROGRAM "remark"
+
diff --git a/app-misc/regex-markup/metadata.xml b/app-misc/regex-markup/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/regex-markup/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild b/app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild
new file mode 100644
index 000000000000..042bcb70aa2d
--- /dev/null
+++ b/app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="A tool to color syslog files as well"
+HOMEPAGE="http://www.nongnu.org/regex-markup/"
+SRC_URI="https://savannah.nongnu.org/download/regex-markup/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="examples nls"
+
+PATCHES=(
+ "${FILESDIR}/${P}-locale.patch"
+)
+
+src_configure() {
+ # fix #570960 by restoring pre-GCC5 inline semantics
+ append-cflags -std=gnu89
+
+ econf \
+ --enable-largefile \
+ $(use_enable nls)
+}
+
+src_install() {
+ default
+ if use examples; then
+ cd examples || die
+ emake -f Makefile
+ fi
+}