diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-11-08 00:07:21 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-11-08 00:07:21 +0000 |
commit | 5f8fd10e49a0607585370f86947c91261352782a (patch) | |
tree | f89185f1a9b01bb8b5f5a380fce5dd9405fb30fe /dev-tex/csindex | |
parent | New version, thanks to Enrico for the ebuild (diff) | |
download | historical-5f8fd10e49a0607585370f86947c91261352782a.tar.gz historical-5f8fd10e49a0607585370f86947c91261352782a.tar.bz2 historical-5f8fd10e49a0607585370f86947c91261352782a.zip |
respect ldflags bug #334863, keyword ~amd64, fix implicit functions declarations
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
Diffstat (limited to 'dev-tex/csindex')
-rw-r--r-- | dev-tex/csindex/ChangeLog | 12 | ||||
-rw-r--r-- | dev-tex/csindex/Manifest | 15 | ||||
-rw-r--r-- | dev-tex/csindex/csindex-2.11c-r1.ebuild | 37 | ||||
-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 |
5 files changed, 102 insertions, 3 deletions
diff --git a/dev-tex/csindex/ChangeLog b/dev-tex/csindex/ChangeLog index bceb789ec4b4..c887527c48cc 100644 --- a/dev-tex/csindex/ChangeLog +++ b/dev-tex/csindex/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-tex/csindex -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/csindex/ChangeLog,v 1.7 2009/09/23 17:24:26 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/csindex/ChangeLog,v 1.8 2010/11/08 00:07:21 aballier Exp $ + +*csindex-2.11c-r1 (08 Nov 2010) + + 08 Nov 2010; Alexis Ballier <aballier@gentoo.org> + +csindex-2.11c-r1.ebuild, +files/csindex-2.11c-decl.patch, + +files/csindex-2.11c-flags.patch: + respect ldflags bug #334863, keyword ~amd64, fix implicit functions + declarations 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> csindex-2.11c.ebuild: Remove virtual/libc diff --git a/dev-tex/csindex/Manifest b/dev-tex/csindex/Manifest index 51d99863124f..61adffe88d5c 100644 --- a/dev-tex/csindex/Manifest +++ b/dev-tex/csindex/Manifest @@ -1,4 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX csindex-2.11c-decl.patch 711 RMD160 9c455a841f541ee9d1de901bbf2aec58b524bbe5 SHA1 3b4d3f4c16eaa821d851dbc141b275a4876c5e6f SHA256 54b52db36a207bea29b6131ec08905e977788991ea65468383642f49de9981da +AUX csindex-2.11c-flags.patch 432 RMD160 f2b1884b902c724d30d2f488e8b915841f43620b SHA1 a35347a9394ac1d94305f28ac4f1de8f4f836247 SHA256 d2580164e336fb12a303db459e00530afe06c2950f668fd5d88a55aeafef0314 DIST csindex-19980713.tar.gz 31778 RMD160 6b2454a2843f567e34f65168fe42492700bc8c08 SHA1 04c94184a2c6481caad610463ba30ecb171ac02e SHA256 3ccb0822c40862aab30d923d367d1f053b85ee3d79865cca5c76f1b80e6b57f7 +EBUILD csindex-2.11c-r1.ebuild 789 RMD160 e59c88fe7ea66eadc738ef724c5e60bdda710ea7 SHA1 998ef3e3d1321c50aa338d109eac51695a9e8226 SHA256 27fe08d15ef7c5e902c8b0363aa28ae133dbbfc5745390573518e93bdbed5a72 EBUILD csindex-2.11c.ebuild 678 RMD160 d5a5e2b53752b6617d50b710a24cc81abdaf4daa SHA1 5eda3d0216f8ec6d18c1486daaabfcfa18814b97 SHA256 6e02805f2476bdad015935c5f5b310639e26f4443604e1f91f3101f367076071 -MISC ChangeLog 938 RMD160 4faa336d1e74d871934d1857d6076c84237abf54 SHA1 bda1b9a3249e62ceae2847232fdf1a15eae063d4 SHA256 9fa620fa89d0487ed2eb0eddecec3f0f414df518bed1c2276ebe253707010585 +MISC ChangeLog 1207 RMD160 c2cc824c2a614c79ef00c797ca7cbe871c53387a SHA1 48d1ab548b8a10920bb13dca3a495c85cd1c1f94 SHA256 f2601b0a9c669fee1b6e2034c83fe2bbec55bd6afaf4e434a0693b09d213743d MISC metadata.xml 393 RMD160 f5b363cd44f74558f8db57458ce8112ac16fd6d2 SHA1 79f1193db831ae6b051dfc729994b5a9eb956dd4 SHA256 8c623d2a9d81b319f9966d73015a1f9051ec00f30057bf16df4d3dde27e9071d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkzXPz8ACgkQvFcC4BYPU0rD8gCeO4w+kWNZoHZMuI91kk4eKY4w +UYAAn3n4JdQFpS41XwwFY02l0wTa7R5h +=fe5H +-----END PGP SIGNATURE----- diff --git a/dev-tex/csindex/csindex-2.11c-r1.ebuild b/dev-tex/csindex/csindex-2.11c-r1.ebuild new file mode 100644 index 000000000000..d2870f54521b --- /dev/null +++ b/dev-tex/csindex/csindex-2.11c-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/csindex/csindex-2.11c-r1.ebuild,v 1.1 2010/11/08 00:07:21 aballier Exp $ + +EAPI=3 + +inherit toolchain-funcs eutils + +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} + +src_prepare() { + epatch "${FILESDIR}/${P}-flags.patch" \ + "${FILESDIR}/${P}-decl.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" || die "make failed" +} + +src_install() { + dobin csindex || die + 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 + |