summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ross <joslwah@gentoo.org>2006-06-23 15:39:10 +0000
committerJoshua Ross <joslwah@gentoo.org>2006-06-23 15:39:10 +0000
commit19d451df33873f398da0f5d38b9f74a8e79360c1 (patch)
tree8d4580ec967931c663570332c332d67b3d5ca55e /dev-tex
parentMarking seamonkey-1.0.2 ~ppc64 (diff)
downloadgentoo-2-19d451df33873f398da0f5d38b9f74a8e79360c1.tar.gz
gentoo-2-19d451df33873f398da0f5d38b9f74a8e79360c1.tar.bz2
gentoo-2-19d451df33873f398da0f5d38b9f74a8e79360c1.zip
Patch for bug 127042 and keyword for 133173
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/detex/ChangeLog8
-rw-r--r--dev-tex/detex/detex-2.7.ebuild10
-rw-r--r--dev-tex/detex/files/detex-flexbrackets.patch12
-rw-r--r--dev-tex/detex/files/digest-detex-2.72
4 files changed, 29 insertions, 3 deletions
diff --git a/dev-tex/detex/ChangeLog b/dev-tex/detex/ChangeLog
index a02561315ca5..dae29704e195 100644
--- a/dev-tex/detex/ChangeLog
+++ b/dev-tex/detex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tex/detex
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v 1.12 2006/01/19 00:54:24 nattfodd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v 1.13 2006/06/23 15:39:10 joslwah Exp $
+
+ 23 Jun 2006; Joshua <joslwah@gentoo.org> +files/detex-flexbrackets.patch,
+ detex-2.7.ebuild:
+ Added patch, from Patrick Guimond, to get around bug in flex (127042).
+ Added ~ppc64, #133173.
+ Permission for fixing given by Pylon of text-markup.
19 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org> detex-2.7.ebuild:
This didn't need to go back to ~arch, restabilized x86/ppc/s390.
diff --git a/dev-tex/detex/detex-2.7.ebuild b/dev-tex/detex/detex-2.7.ebuild
index 31ca28c7aa72..63d93dfeff9f 100644
--- a/dev-tex/detex/detex-2.7.ebuild
+++ b/dev-tex/detex/detex-2.7.ebuild
@@ -1,6 +1,9 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.7.ebuild,v 1.14 2006/01/19 00:54:24 nattfodd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.7.ebuild,v 1.15 2006/06/23 15:39:10 joslwah Exp $
+
+
+inherit eutils
DESCRIPTION="A filter program that removes the LaTeX (or TeX) control sequences"
HOMEPAGE="http://www.cs.purdue.edu/homes/trinkle/detex/"
@@ -8,7 +11,7 @@ SRC_URI="http://www.cs.purdue.edu/homes/trinkle/detex/${P}.tar"
LICENSE="freedist"
SLOT="0"
-KEYWORDS="x86 ppc ~sparc s390"
+KEYWORDS="ppc ~ppc64 s390 ~sparc x86"
IUSE=""
DEPEND="virtual/libc
@@ -24,6 +27,9 @@ src_unpack() {
-e 's:#DEFS += ${DEFS} -DNO_MALLOC_DECL:DEFS += -DNO_MALLOC_DECL:' \
-e 's: ${CC} ${CFLAGS} -o $@ ${D_OBJ} -ll: ${CC} ${CFLAGS} -o $@ ${D_OBJ} -lfl:' \
Makefile || die "sed failed"
+
+ # This is a hack to get round bug 127042 until flex is fixed.
+ epatch ${FILESDIR}/${PN}-flexbrackets.patch
}
src_compile() {
diff --git a/dev-tex/detex/files/detex-flexbrackets.patch b/dev-tex/detex/files/detex-flexbrackets.patch
new file mode 100644
index 000000000000..d254b06bef3c
--- /dev/null
+++ b/dev-tex/detex/files/detex-flexbrackets.patch
@@ -0,0 +1,12 @@
+diff -Nau detex-2.7.orig/detex.l detex-2.7/detex.l
+--- detex-2.7.orig/detex.l 2006-04-01 05:32:33.000000000 -0500
++++ detex-2.7/detex.l 2006-04-01 05:32:58.000000000 -0500
+@@ -4,7 +4,7 @@
+ #endif
+
+ /*
+- * detex [-e environment-list] [-c] [-l] [-n] [-s] [-t] [-w] [file[.tex]]
++ * detex [-e environment-list] [-c] [-l] [-n] [-s] [-t] [-w] [file[.tex] ]
+ *
+ * This program is used to remove TeX or LaTeX constructs from a text
+ * file.
diff --git a/dev-tex/detex/files/digest-detex-2.7 b/dev-tex/detex/files/digest-detex-2.7
index 3c13b431b128..a3b4438a8628 100644
--- a/dev-tex/detex/files/digest-detex-2.7
+++ b/dev-tex/detex/files/digest-detex-2.7
@@ -1 +1,3 @@
MD5 2f4f99e7d1c6829053ca2c78d7e6b774 detex-2.7.tar 94720
+RMD160 059919ef4d7d16caa6c1a6a13b067ce73e2052c2 detex-2.7.tar 94720
+SHA256 cc24ad6f71cb26744442b6bf54f8357a3a162f171c27ca8a6abbc3c2024d0684 detex-2.7.tar 94720