diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tex/csindex | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tex/csindex')
-rw-r--r-- | dev-tex/csindex/Manifest | 5 | ||||
-rw-r--r-- | dev-tex/csindex/csindex-2.11c-r2.ebuild | 36 | ||||
-rw-r--r-- | dev-tex/csindex/files/csindex-2.11c-decl.patch | 25 | ||||
-rw-r--r-- | dev-tex/csindex/files/csindex-2.11c-flags.patch | 16 | ||||
-rw-r--r-- | dev-tex/csindex/metadata.xml | 8 |
5 files changed, 90 insertions, 0 deletions
diff --git a/dev-tex/csindex/Manifest b/dev-tex/csindex/Manifest new file mode 100644 index 000000000000..73e9b814b944 --- /dev/null +++ b/dev-tex/csindex/Manifest @@ -0,0 +1,5 @@ +AUX csindex-2.11c-decl.patch 711 BLAKE2B 77fd9a81fe88ce1d219cf9759f5371ddba5a7c5347c8877a37e21b828b98ed170c513216498555c0738128a24b7e9311994055e8c2504c301aa07e6a8460f83a SHA512 f17aae7a3b22c230671bec969349b2e610eee69d521167f705eabf78bd242b50afe128d1da355d6f22ae8ad096980c6b1cbb942ce56afc9556f9c645701cd1a7 +AUX csindex-2.11c-flags.patch 432 BLAKE2B 53cadff28ba66eacea704898788f9310ec062d0a398e0ef33182483cfbe860abd4bc42ea70505de0820c11efc46e88da0d200e8a74057fdbefde388976c31619 SHA512 af1be473ead18034b221d8eb3aa05067e1f8f8cb12d10ee4c3434b2a2fbe1f85bbb9268b938b3541ae66e44e12ea7c1aabd8518a91ee0100097013957e906067 +DIST csindex-19980713.tar.gz 31778 BLAKE2B 0ad638dc79a4a5bdba43803572fdc049bbf4bc519d682cd73f0d007fd5063f1c2e476f6afd7a75d0fa7cec3c0a66c4c8759001101ea14470bb79e3023d6ea621 SHA512 ab4d35c84272aa64f9613023412cf8fb8d0b565ffd1fe61b397f82911b6ff7c230c4f54ff44aa0ea5a512229e7ee9410a9257c3fc7ee1d0ba267151ab1704130 +EBUILD csindex-2.11c-r2.ebuild 620 BLAKE2B 3e8f2a210bf1c37b50d2c7c40327851677cc3b8b2353db634426610c3f6178b2e109391b59912b72a7fe426b052f2c59f817057308918fe178a601be2cd20204 SHA512 0ce146dd978ed4da6e0efbc6c5a8b61aab802e35d4b9c17fbf8fbfc5c6ddfd8c86163277019942f4ba2d7b3dcbca86aedb10d92447337abd67c5a418fcebbc00 +MISC metadata.xml 245 BLAKE2B ee3a163cfe0a4bc59c0dfb46f9ddb580e2d259b4d0e33cb4e684eb9e6d4b901bf97c6edd891f3b75a613a782f1b89318d0ee3ec9bee4e34c4441d9e8f4267678 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 diff --git a/dev-tex/csindex/csindex-2.11c-r2.ebuild b/dev-tex/csindex/csindex-2.11c-r2.ebuild new file mode 100644 index 000000000000..5c8b4110b8ac --- /dev/null +++ b/dev-tex/csindex/csindex-2.11c-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +MY_P="${PN}-19980713" + +DESCRIPTION="Utility for creating Czech/Slovak-sorted LaTeX index-files" +HOMEPAGE="http://math.feld.cvut.cz/olsak/cstex/" +SRC_URI="ftp://math.feld.cvut.cz/pub/cstex/base/${MY_P}.tar.gz" + +LICENSE="MakeIndex" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}/${P}-flags.patch" + "${FILESDIR}/${P}-decl.patch" +) + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin csindex + dodoc README +} diff --git a/dev-tex/csindex/files/csindex-2.11c-decl.patch b/dev-tex/csindex/files/csindex-2.11c-decl.patch new file mode 100644 index 000000000000..c02d456f181f --- /dev/null +++ b/dev-tex/csindex/files/csindex-2.11c-decl.patch @@ -0,0 +1,25 @@ +Index: csindex-19980713/mkind.c +=================================================================== +--- csindex-19980713.orig/mkind.c ++++ csindex-19980713/mkind.c +@@ -32,6 +32,8 @@ + #ifdef CS_INDEX + #include <string.h> + #endif ++#include <unistd.h> ++ + + int letter_ordering = FALSE; + int compress_blanks = FALSE; +Index: csindex-19980713/mkind.h +=================================================================== +--- csindex-19980713.orig/mkind.h ++++ csindex-19980713/mkind.h +@@ -720,6 +720,7 @@ extern void scan_idx ARGS((void)); + extern void scan_sty ARGS((void)); + extern void sort_idx ARGS((void)); + extern int strtoint ARGS((char *str)); ++char *strlwr(char *a); + + #if __STDC__ + #include <stdlib.h> diff --git a/dev-tex/csindex/files/csindex-2.11c-flags.patch b/dev-tex/csindex/files/csindex-2.11c-flags.patch new file mode 100644 index 000000000000..f13914b2eeed --- /dev/null +++ b/dev-tex/csindex/files/csindex-2.11c-flags.patch @@ -0,0 +1,16 @@ +Index: csindex-19980713/Makefile +=================================================================== +--- csindex-19980713.orig/Makefile ++++ csindex-19980713/Makefile +@@ -1,9 +1,9 @@ + DEFS=-DOS_SYSV + OBJS=csindex.o genind.o mkind.o qsort.o scanid.o scanst.o sortid.o +-CFLAGS= -O2 $(DEFS) ++CFLAGS+= $(DEFS) + + all: csindex + + csindex: $(OBJS) +- $(CC) -o csindex $(DEFS) $(OBJS) -lm ++ $(CC) $(LDFLAGS) -o csindex $(DEFS) $(OBJS) -lm + diff --git a/dev-tex/csindex/metadata.xml b/dev-tex/csindex/metadata.xml new file mode 100644 index 000000000000..13170c3184d8 --- /dev/null +++ b/dev-tex/csindex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> +</maintainer> +</pkgmetadata> |