diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/regex-markup |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/regex-markup')
-rw-r--r-- | app-misc/regex-markup/Manifest | 6 | ||||
-rw-r--r-- | app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch | 29 | ||||
-rw-r--r-- | app-misc/regex-markup/metadata.xml | 5 | ||||
-rw-r--r-- | app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild | 36 |
4 files changed, 76 insertions, 0 deletions
diff --git a/app-misc/regex-markup/Manifest b/app-misc/regex-markup/Manifest new file mode 100644 index 000000000000..c6abc43b9bb7 --- /dev/null +++ b/app-misc/regex-markup/Manifest @@ -0,0 +1,6 @@ +AUX regex-markup-0.10.0-locale.patch 646 SHA256 faad155bba38c6fbb5f49adbf1fc1aac20763da4f1909d42851d6bb6642bfd8d SHA512 d1d181950c1aef34df631f5a9143163e62bbb5171bbcfac7099998e7e658952ae19181e37e95b1d6f2e65cec34ce23d2aa0894cd93e8b4a84f0410d751c36177 WHIRLPOOL cef77bbb3874a16ca969c4af96aa1e22e2adc8709d90552a34c280a9f229096f243843da620abc114b4126665dd132fcc65f8df0b12e7d75b999e28a57a7c8db +DIST regex-markup-0.10.0.tar.gz 424480 SHA256 879f0af7622c1eb2d1b7c5f7d0ec53ea96fd48b05bc4f4c17542a2ea17fafba5 SHA512 fddb43b41771e5f75a140798304023087931da383cdee0b6fa9c0bd867e9e5280f484bc6182960c08993d91963de22fa9f0052e867a58067dfc39d9b761e0e9f WHIRLPOOL 2ec2c4c207437aafaab620b23d5f0e287211283615699e824ebc52f82245a8e25454b0b0801bfb063ba5b765b8bc722798baca83ce7e91c3895701ddc8e7d1a3 +EBUILD regex-markup-0.10.0-r1.ebuild 675 SHA256 2c2a77e3bf013fcf4a7edf3a345c7339eab34c1bb103ac2caa5b302b735ab099 SHA512 b41ef5ef2f0b7d2037dccb5fb2493e5c827e55b8cd9da4da2f7a0a482906e9b3021b9435af7b696664a66b62e7643eb5b1b2afef3c6d970298263437d817f234 WHIRLPOOL b9a160a8d69c9890504e0e7ff9e54ed18450a006aa36299d9014a331e22dabdc426cf8a3d42da47a5f2077e42a66204f3266d608872c239b30c20c4b37e36285 +MISC ChangeLog 2990 SHA256 ed5d47e647e26b5ccf492e8a285c61e0f5336894bee1e5c20c340e7bcb94d156 SHA512 861493411a2a17c74df16974b6543bfa78c5848907801ed01937bf6e4ac7f63988802fa9f819c98735f0c8e6ec5f63d6ff5fed607de8c61eac26549fe84149d5 WHIRLPOOL 4eb7af01e3438b41286c0bb2d382a98440e2f671902632698eb6fe244dcd8a441e25fad0c2c1609bbd19b7fcbb8dfd6281762fb6f9c4de1c442bc7472cb1dde7 +MISC ChangeLog-2015 1850 SHA256 609726d64fa3e29800aaa1fbab33373c09d82d00f3f96bd91b26e119db09d784 SHA512 65ab9e8ae36f056036c5526c78ec21c3205cf3e5d0ab54bbaa051da73cd29039f6a0ce404046138ed7906e0f2199e507ac6331f7ef93c32e1dd0bcb482b82e6a WHIRLPOOL 0fc227e5fd45a4e87d9878b1c6d6a266a0ff9e8b6c85b01ac459951f03af756b700d1fdb5e343e55d7dab9b4278798aefc2ba4e33cf9d5f72f4acdf71e30e00a +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 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 +} |