summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-04 20:37:47 +0000
committerMike Frysinger <vapier@gentoo.org>2012-08-04 20:37:47 +0000
commitda135611cce199653b85b9f6af3aac97af255ee3 (patch)
treeead7afd002e36b583aebf8789f0f5f0d8596d872 /sys-devel/flex
parentStable for x86, wrt bug #428910 (diff)
downloadhistorical-da135611cce199653b85b9f6af3aac97af255ee3.tar.gz
historical-da135611cce199653b85b9f6af3aac97af255ee3.tar.bz2
historical-da135611cce199653b85b9f6af3aac97af255ee3.zip
Version bump #429774 by Samuli Suominen.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/flex')
-rw-r--r--sys-devel/flex/ChangeLog8
-rw-r--r--sys-devel/flex/Manifest41
-rw-r--r--sys-devel/flex/files/flex-2.5.37-proto.patch27
-rw-r--r--sys-devel/flex/flex-2.5.37.ebuild49
4 files changed, 110 insertions, 15 deletions
diff --git a/sys-devel/flex/ChangeLog b/sys-devel/flex/ChangeLog
index ced2bd41ce6d..4b6c32630530 100644
--- a/sys-devel/flex/ChangeLog
+++ b/sys-devel/flex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/flex
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.97 2012/04/26 13:12:45 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.98 2012/08/04 20:37:47 vapier Exp $
+
+*flex-2.5.37 (04 Aug 2012)
+
+ 04 Aug 2012; Mike Frysinger <vapier@gentoo.org>
+ +files/flex-2.5.37-proto.patch, +flex-2.5.37.ebuild:
+ Version bump #429774 by Samuli Suominen.
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> flex-2.5.35_p10.ebuild:
keyword ~amd64-fbsd
diff --git a/sys-devel/flex/Manifest b/sys-devel/flex/Manifest
index c762c78a6eac..215e85be9122 100644
--- a/sys-devel/flex/Manifest
+++ b/sys-devel/flex/Manifest
@@ -1,20 +1,33 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX flex-2.5.33-pic.patch 531 RMD160 b76f8e0e95350bf2ea44466b1eafe27b2721a693 SHA1 626d9c621f88de4f4aafdc2cc591825543abe2e5 SHA256 c37bc0a3da23cd523a115971dfdda08b524107e4a67ef507887b0c4eb9fd565e
-AUX flex-2.5.34-isatty.patch 1221 RMD160 fe70e4737fbff4f5b1048795e0fcafdc55ab97af SHA1 e994eee87933db613bb0662d825de9ec1468c4ec SHA256 7b3e8e51dfb91de195eb750f610516cbc9a9b842334a79ace6a6acef45b457db
-AUX flex-2.5.35-gcc44.patch 463 RMD160 1b9e44f249ed033d3d594eba41ddb05b6d37ddef SHA1 dc621f445067c6bc789c415bb9a9308953e79105 SHA256 7ca26dcd1329bdf2ba5c4095db913ba4af5a92178f1a1d603fb6d01fbef244ee
-AUX flex-2.5.35-saneautotools.patch 2929 RMD160 b91c9b45e86883d2dafe8aa56ee58f3944185d0b SHA1 d940600fc8946e557e48d36a84313b73f0df12d7 SHA256 e8bb36d69f3f73704c44ae357f6306380411b7f73614e675dacd177d4e5ddd21
-DIST flex-2.5.35.tar.bz2 1256501 RMD160 4827f940e227f9d2f454c021f69dd1c7ad3e76f4 SHA1 c507095833aaeef2d6502e12638e54bf7ad2f24a SHA256 0becbd4b2b36b99c67f8c22ab98f7f80c9860aec70f0350a0018f29a88704e7b
-DIST flex_2.5.35-10.diff.gz 41011 RMD160 513af2ed6609fbe603d4651ab702fdce20acdc46 SHA1 5a06f489682cd4f6cb1d771efda9baeb3f8d3167 SHA256 1d57a2a73ae7b7d4bd95a7c3f5801ab39c0b2b55b5d838782da8d3801cc1a3b9
-EBUILD flex-2.5.35.ebuild 1296 RMD160 d153e6429832e6cacefa2970356804f9be459782 SHA1 7946445be04361f70e10720c0bac9d3668a8d738 SHA256 15883b37613fcdd1dd86b7bb7968a371f94345e0e1c94c59ad099191cd75a1b0
-EBUILD flex-2.5.35_p10.ebuild 1331 RMD160 ead8abad73b48b5e8efe597b810463a6f66a31ce SHA1 929c00736c563c3e2e333fb73b82542db943fa56 SHA256 1746432f631397c5819a6940df6519d690722609c113f49c44a8fc8f687e7061
-MISC ChangeLog 10643 RMD160 f9ee271ece4bdcf0987a624e65cfe237da6a70bd SHA1 7f92c390f8fb2651f8fb8fe04c63e19aa6db8738 SHA256 4124a10182670f44c64c239b1d67f235355b2f4fbe4bc6a1bb1a09fa0ba358c9
-MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+AUX flex-2.5.33-pic.patch 531 SHA256 c37bc0a3da23cd523a115971dfdda08b524107e4a67ef507887b0c4eb9fd565e SHA512 0921dcec0208c861ab74fc497c139c0253c8014b71544388c13ed24a8e297ac093de593768c69904535d654110c45cd83ffa2d8d821eb13fb08ed94bf7077e11 WHIRLPOOL d6484c20e394ce1c403afdbfda2382115435879c5f90b81b0ffc496567138c317af87f01367eed85a55a3ec6e5b9daab2074e8ad9b6f7f716602539ac4346678
+AUX flex-2.5.34-isatty.patch 1221 SHA256 7b3e8e51dfb91de195eb750f610516cbc9a9b842334a79ace6a6acef45b457db SHA512 efcc73d6f2f07555eb8de062d87a64f462e2c42c401cbb8742b404fb305c248925af9d29c12633d7352cd33ebed899040f89418dde0e021a1d5b0da94bfdb631 WHIRLPOOL a01a174dffc60a58ff840e198daa181156def72244d8a5c2cbfb748496a02d70398fa73ef9c15b86cf7c19d57054507381ef89ed1c20427a46dfc81d8f90b778
+AUX flex-2.5.35-gcc44.patch 463 SHA256 7ca26dcd1329bdf2ba5c4095db913ba4af5a92178f1a1d603fb6d01fbef244ee SHA512 68c4ba0b4a591446dec4072ade6e3493d011e857d086f999c0108d9d7b5ed2a9ec87111912f3425bc5222d3637fd05a5a5fbd7172317a09ed04dad40fa8059e1 WHIRLPOOL 0a4ef36056d5add49fb1fd0e9f36dbeb0f1d7cd00e285647770c95de793f6823582a32c525253591460d954625c50e1343d2f0c2e0d5e17a62d8a7568f25fcc7
+AUX flex-2.5.35-saneautotools.patch 2929 SHA256 e8bb36d69f3f73704c44ae357f6306380411b7f73614e675dacd177d4e5ddd21 SHA512 f10929ba77aef0e75199afee52e39758a34538f8e767b3d122e40515ecf6cb4fdf69cceff44bae6778e2cd8f741d6fc3f987d5aa981f583deef510df0293f2da WHIRLPOOL d2555cebee0dd4498a93f0deebcf73b11ce39ba664f1b1b7c9205741f628df00c03b36a8d244d5118c6b5a9dd3b6995aefe06560f1f09f11baa07e677f7b3fdf
+AUX flex-2.5.37-proto.patch 833 SHA256 97439c94caccf96d8cc03bd0ba0b5f522ec18ee100ce6287c9860ee71b46a4d4 SHA512 53112d7c667498769c2495df1d6a824a216c51b97fa214d9c1bfcb7a36bd05edd2d35cc5a03fab601bd0b37ebb5570a3d18f76242f1d52b69140bd935cbe2568 WHIRLPOOL 7dabcfc3427fb3b2126c96865e078c6df936822a517eb489330b2efb05178b4149d1548596b4667c77fcf09d205f5bbc92ae4d24138fe9c82562eeca5cc994c0
+DIST flex-2.5.35.tar.bz2 1256501 SHA256 0becbd4b2b36b99c67f8c22ab98f7f80c9860aec70f0350a0018f29a88704e7b SHA512 aa5aebbc7ccaa4697d7f0cfa3ba899dd3b327bc8551ba341c26bece7f9044951d0532e3ebf6ec63760204b4ff805f9f957d064e9a213ef8aac428e565de31343 WHIRLPOOL 5cb46a2cec84b1c6d25e22a1e4a6ac1a5100fcf32a488918f8bfe9236339ff2aac7f2dc35a590417fe1609d89511ab47de4ba4f7db17251b7408ea0f18e6894d
+DIST flex-2.5.37.tar.bz2 1303313 SHA256 17aa7b4ebf19a13bc2dff4115b416365c95f090061539a932a68092349ac052a SHA512 1f34285953a7f058e6a2dddc305fc82cfcaaa451d6d7777da17bf9cccbe4a08e480c8c28951fa5d2920e7c7adc40ccd0e51191b363c9a3c4137db5ded1cbbc2a WHIRLPOOL ee5a4dde9b373c57248df261a53ea951e12ccb3e6f2e6344c56c2d8393511389560b4843660edf2a0929e2ed6fc46ab8d832e36a8ee5fe4317ce85ccea14d6ca
+DIST flex_2.5.35-10.diff.gz 41011 SHA256 1d57a2a73ae7b7d4bd95a7c3f5801ab39c0b2b55b5d838782da8d3801cc1a3b9 SHA512 ecb64cb5d27da0c82c99958640ee5f09afff4096a93817f68f3333f86a838ab4f21daf959bfc650b89e0d52a827c55265cb4c4a4f9efab050a8f91dd82258820 WHIRLPOOL 4fa27c32d81c766e657645816e4a24e46b126e5eb38ad38fc66a7d3d3e3100b76ec694898dcbcc486687f4ec9d89d517a670f7ca20de22586d2f0b56a7fe50cd
+EBUILD flex-2.5.35.ebuild 1296 SHA256 15883b37613fcdd1dd86b7bb7968a371f94345e0e1c94c59ad099191cd75a1b0 SHA512 b2f872b98039cdd7d0d95381e023ef76b41b290f763d30e9babb39d3373ea242912055b7ea1eccf46311512c7bd1e5ab1d39b3f881c0ceb90a936ca4eb9c2f0c WHIRLPOOL b168525aed3efa15c4e93fb8d80bfa8af9ea875fd4a484efa3a9f3d404f5468ecc2eb663f0e6dc73723da25bd9a0e868df2dd2da586da987d4cbc68298d40c27
+EBUILD flex-2.5.35_p10.ebuild 1331 SHA256 1746432f631397c5819a6940df6519d690722609c113f49c44a8fc8f687e7061 SHA512 cdfc0c7aa5be6cf40d993a15c24b1b253d7335a9ef535befbc9f42384e9f0f34291ba41930009c13d7937b7adef768211072a41f178ddaba160faf5b3ba6e183 WHIRLPOOL d75ef1540a221a8b24e15bd8b99005a00e74fae3ee9f9ece67d475db52dc881fbb84fd62bedf1a722a82887d96f31cd5daf69827588e34a19fa5cdbaf817d27c
+EBUILD flex-2.5.37.ebuild 1315 SHA256 5f6f52b71f2b9b751206541c18b05437f73b9c6825164145ba80c2b81fd4ceca SHA512 0e17415403b27086a24dfc5a0fe7284711859d82816267da2e2ce895ff7e5ed5c8105fc8711560992638a274c959513b28e6c35ce0584d9428535ecd443cdba6 WHIRLPOOL 41d8257e1857e83420845bab6c7ab6604aee9fa8dba41d903fc0dc2af11fc28addae0acb8c0f8a718b8a1c206e3c6d38b354550b3f88adc949e9d78a7a2083bf
+MISC ChangeLog 10818 SHA256 54fe73cedd6888166d647d9beb6acdf7eb37b750bb39efb98e603f14fd2c8a1d SHA512 379dce77390fc34467da70861e35b71964237b322130795799a4bab23367c257b30cce56afe4662a432118c3fada364c16cffadb7d6e623612b88c72cde55eb5 WHIRLPOOL f39c8868f2a843c7efe36bf1173bf0ac4e6a07f9538535d94ac662c832e4e07a26cb2b76cb7b93ddfcb687388b43bdd7217629a2d0ef7d2c2e2dddfce6013c15
+MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk+ZSdIACgkQvFcC4BYPU0qZzQCgzJgfHTJ9rUlqFvDgd4u8hkmi
-tQcAn2gQF7mrKslYTysniYOTJTqR/bim
-=JLK7
+iQIcBAEBCAAGBQJQHYgiAAoJELEHsLL7fEFWj/EP/29ZZKokbPjZheTCqBM+XhhV
+Mo4vVq2hjsR80awXq36nEJcTLN0yptv0Kjp3Zc6RmHWXvdfOJXp8+gZwC33q0fk7
+HQ0kHBgVeiRgBWHmBp6puGJ78vWoHt6C3irVrZKhabF+Gx9k8ck4hy4kWLmEBmZB
+wAS8iYjpRRMoCC5i3Vl1RWJwFSUfl9zi8/RnUf38oxm3h2a8og5yMG5qOXWwsLAk
+xQj7Mij6/VMFo9x7AjmsPPyP5HS5I/WCksTNDhLXc4i/u5+r3cRF8gwvzQCnk43t
+j+q3pnKtQ67xBjhktYrJIAmNirKFCVz2s6i4F0mYH65X6wbXr9Itu+yTA7z/zax7
+uoWafZMB1LDxkynvDSaEH3YWt6T10h8rZE8px2HCN+NH/cVKTij8YjkiIR69rv1p
+Witw1ht5IXc+XV8GeXYnEPQHE+eJpikUpw78M3kobMEgAa1WnndzzB/wYdFiXe/f
+xLaFyX14Ds+A+mHfw7C+tIP3y3uL8AcreoLSwqlROi/yuszrGbBy6rn0mDsmvau6
++3DdoFExwZw1J9zlQsjFS2IrjqwjAkAIkqbkng/uY6QoKtj5MhhK9j0HrohpQ57b
+dkPLVHmr145DB5MtiTfHZbm8qHn045ehpPhw9S4RruJfOGt7X2gSMrUf3KlRgnUL
+oSK/qL6IEGvXZ71M0BTy
+=UqAY
-----END PGP SIGNATURE-----
diff --git a/sys-devel/flex/files/flex-2.5.37-proto.patch b/sys-devel/flex/files/flex-2.5.37-proto.patch
new file mode 100644
index 000000000000..5d3c30ff18d2
--- /dev/null
+++ b/sys-devel/flex/files/flex-2.5.37-proto.patch
@@ -0,0 +1,27 @@
+From 0f9eb0b8455f843daebf0f3dababeee7f3cde48b Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sat, 4 Aug 2012 15:46:38 -0400
+Subject: [PATCH] add prototype for lerrsf_fatal
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ flexdef.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/flexdef.h b/flexdef.h
+index 0e81410..046dd9a 100644
+--- a/flexdef.h
++++ b/flexdef.h
+@@ -908,6 +908,9 @@ extern void lerrif PROTO ((const char *, int));
+ /* Report an error message formatted with one string argument. */
+ extern void lerrsf PROTO ((const char *, const char *));
+
++/* Like lerrsf, but also exit after displaying message. */
++extern void lerrsf_fatal PROTO ((const char *, const char *));
++
+ /* Spit out a "#line" statement. */
+ extern void line_directive_out PROTO ((FILE *, int));
+
+--
+1.7.9.7
+
diff --git a/sys-devel/flex/flex-2.5.37.ebuild b/sys-devel/flex/flex-2.5.37.ebuild
new file mode 100644
index 000000000000..d8ea6df4d1d6
--- /dev/null
+++ b/sys-devel/flex/flex-2.5.37.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.37.ebuild,v 1.1 2012/08/04 20:37:47 vapier Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic
+
+if [[ ${PV} == *_p* ]] ; then
+ DEB_DIFF=${PN}_${PV/_p/-}
+fi
+MY_P=${P%_p*}
+
+DESCRIPTION="The Fast Lexical Analyzer"
+HOMEPAGE="http://flex.sourceforge.net/"
+SRC_URI="mirror://sourceforge/flex/${MY_P}.tar.bz2
+ ${DEB_DIFF:+mirror://debian/pool/main/f/flex/${DEB_DIFF}.diff.gz}"
+
+LICENSE="FLEX"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="nls static test"
+
+# We want bison explicitly and not yacc in general #381273
+RDEPEND="sys-devel/m4"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ test? ( sys-devel/bison )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ [[ -n ${DEB_DIFF} ]] && epatch "${WORKDIR}"/${DEB_DIFF}.diff
+ epatch "${FILESDIR}"/${P}-proto.patch
+}
+
+src_configure() {
+ use static && append-ldflags -static
+ econf \
+ $(use_enable nls) \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ rm "${D}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die
+ dodoc AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO
+ dosym flex /usr/bin/lex
+}