From: Patrick McLean Date: Wed, 7 Jun 2006 15:14:00 +0000 (+0000) Subject: Compile fix, patch to make sure a variable is defined before it is used. (bug #129299) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=10a64d40f4ca7e6d78f0e84d6e9c8bfd665b1b80;p=gentoo.git Compile fix, patch to make sure a variable is defined before it is used. (bug #129299) Package-Manager: portage-2.1_rc4-r2 --- diff --git a/app-editors/vile/ChangeLog b/app-editors/vile/ChangeLog index 69e21b117f39..b5f31e12bc0e 100644 --- a/app-editors/vile/ChangeLog +++ b/app-editors/vile/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/vile # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/ChangeLog,v 1.23 2006/05/12 01:39:25 tcort Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/ChangeLog,v 1.24 2006/06/07 15:14:00 chutzpah Exp $ + + 07 Jun 2006; Patrick McLean + +files/vile-9.5-define-LEAD-before-use.patch, vile-9.5.ebuild: + Compile fix, patch to make sure a variable is defined before it is used. + (bug #129299) 11 May 2006; Thomas Cort vile-9.4d.ebuild: Stable on amd64. diff --git a/app-editors/vile/Manifest b/app-editors/vile/Manifest index 46b95aacaaa3..0e652eb579df 100644 --- a/app-editors/vile/Manifest +++ b/app-editors/vile/Manifest @@ -1,8 +1,48 @@ -MD5 b030233d0c21404dcd48a3526e419b9a ChangeLog 3030 +AUX vile-9.5-define-LEAD-before-use.patch 577 RMD160 1633e87e4c50bb66ea7b217cc64ab5af9565fd7d SHA1 4f7362ead1b1208b553d725821641542e2df5873 SHA256 e8342b0b2c89a1f32c89cc8a7f085cb6d70744d3280d086ed3e604898ace8e41 +MD5 5c671baef19e2bed2a554919b853e302 files/vile-9.5-define-LEAD-before-use.patch 577 +RMD160 1633e87e4c50bb66ea7b217cc64ab5af9565fd7d files/vile-9.5-define-LEAD-before-use.patch 577 +SHA256 e8342b0b2c89a1f32c89cc8a7f085cb6d70744d3280d086ed3e604898ace8e41 files/vile-9.5-define-LEAD-before-use.patch 577 +DIST vile-9.3.tgz 1474140 +DIST vile-9.3a.patch.gz 10571 +DIST vile-9.3b.patch.gz 9336 +DIST vile-9.3c.patch.gz 7697 +DIST vile-9.3d.patch.gz 40497 +DIST vile-9.3e.patch.gz 71499 +DIST vile-9.3f.patch.gz 28732 +DIST vile-9.3g.patch.gz 7645 +DIST vile-9.3h.patch.gz 47116 +DIST vile-9.4.tgz 1549606 +DIST vile-9.4a.patch.gz 17204 +DIST vile-9.4b.patch.gz 63382 +DIST vile-9.4c.patch.gz 8660 +DIST vile-9.4d.patch.gz 18117 +DIST vile-9.5.tgz 1656429 +EBUILD vile-9.3h.ebuild 1506 RMD160 de557389c028def1b2fedef7ce188a2fefad47f6 SHA1 43bab721683db1f003839efff5bfb1df0dd41dbf SHA256 5c3ad8c97dc3bcbae21991364d4a33a6b7baa0ea1b7978377385ca1bfa4919e1 +MD5 71976dd520e6bfaf81d03924250cc075 vile-9.3h.ebuild 1506 +RMD160 de557389c028def1b2fedef7ce188a2fefad47f6 vile-9.3h.ebuild 1506 +SHA256 5c3ad8c97dc3bcbae21991364d4a33a6b7baa0ea1b7978377385ca1bfa4919e1 vile-9.3h.ebuild 1506 +EBUILD vile-9.4d.ebuild 1263 RMD160 f2226d33accafdb649981e56ed1980a77e257fad SHA1 b4202de8a4605d7be9daaf71581f6ce016c14080 SHA256 bef695fbd3ccc2e7e94884e94133751f090592f4d14160863bfb74846da5b38d +MD5 8f74510ce32412073fbb71f15e466ff5 vile-9.4d.ebuild 1263 +RMD160 f2226d33accafdb649981e56ed1980a77e257fad vile-9.4d.ebuild 1263 +SHA256 bef695fbd3ccc2e7e94884e94133751f090592f4d14160863bfb74846da5b38d vile-9.4d.ebuild 1263 +EBUILD vile-9.5.ebuild 941 RMD160 73891f34989698c5772b515b8a1c898d2d4c68ce SHA1 a5e1a71fbb0a50372654409deaf35bcfce1bd6fa SHA256 39f8357412e10b11df2b4e0f3f52fc780779c1cadab128f0b2866bee64137ffa +MD5 4fc6085b4d348a421bd30c7bc532e13e vile-9.5.ebuild 941 +RMD160 73891f34989698c5772b515b8a1c898d2d4c68ce vile-9.5.ebuild 941 +SHA256 39f8357412e10b11df2b4e0f3f52fc780779c1cadab128f0b2866bee64137ffa vile-9.5.ebuild 941 +MISC ChangeLog 3242 RMD160 61031da0540835e6e86a759b7c7215399ca4f5c3 SHA1 88b81ef9cab2811e1b265f97ef44372a9f7b5d56 SHA256 e553b9a01ea4b4257efc38add5c1498983d9eb9d78fd201bb7804a5e57b8bcef +MD5 964ab1c85a225a432d559b07cb60ccd9 ChangeLog 3242 +RMD160 61031da0540835e6e86a759b7c7215399ca4f5c3 ChangeLog 3242 +SHA256 e553b9a01ea4b4257efc38add5c1498983d9eb9d78fd201bb7804a5e57b8bcef ChangeLog 3242 +MISC metadata.xml 156 RMD160 3e105a159e09ab3231aaa16b01919bcfbf58a0a8 SHA1 fe63ba71f6fd04f1e293fb238af2eba994b0335d SHA256 64d20c782589b423a6e75ba6fff7edead1ec8fbae742d27dd57f5299e8328500 +MD5 f3583430b2f7b0686cafd606b08bf203 metadata.xml 156 +RMD160 3e105a159e09ab3231aaa16b01919bcfbf58a0a8 metadata.xml 156 +SHA256 64d20c782589b423a6e75ba6fff7edead1ec8fbae742d27dd57f5299e8328500 metadata.xml 156 MD5 55768ae3bd94b5c67efdb12a1c969702 files/digest-vile-9.3h 551 +RMD160 4d42b8547b09fa3a5ce3d7fedf5af81fb6e6a6a1 files/digest-vile-9.3h 551 +SHA256 2c5e69b245956bfae34bb3a62a6d22ebadfcec6eec81a71836381f254d741008 files/digest-vile-9.3h 551 MD5 cb5eef1dde0145c3a3daee63b4388131 files/digest-vile-9.4d 305 +RMD160 24e7ea22284e957892c2f72538a4f9ab436a57e4 files/digest-vile-9.4d 305 +SHA256 95bb9658a33545a38037146689667a8cb3c35ef8045c15daf8fb578e92ac293e files/digest-vile-9.4d 305 MD5 4d983f476a8c0490e8e62589152eaba4 files/digest-vile-9.5 58 -MD5 f3583430b2f7b0686cafd606b08bf203 metadata.xml 156 -MD5 71976dd520e6bfaf81d03924250cc075 vile-9.3h.ebuild 1506 -MD5 8f74510ce32412073fbb71f15e466ff5 vile-9.4d.ebuild 1263 -MD5 e4690b817b75c1bbbe6ae96b94b79a1f vile-9.5.ebuild 843 +RMD160 df03690e232424d40364cfa172c838cf90cc5345 files/digest-vile-9.5 58 +SHA256 602f3dff1f0d169b8062525fbefc07878ff92f8f8d2f4863d5cf6ceadd21bbef files/digest-vile-9.5 58 diff --git a/app-editors/vile/files/vile-9.5-define-LEAD-before-use.patch b/app-editors/vile/files/vile-9.5-define-LEAD-before-use.patch new file mode 100644 index 000000000000..50422b4560e8 --- /dev/null +++ b/app-editors/vile/files/vile-9.5-define-LEAD-before-use.patch @@ -0,0 +1,19 @@ +--- vile-9.5/filters/sql-filt.l.orig 2006-05-16 14:35:46.000000000 -0400 ++++ vile-9.5/filters/sql-filt.l 2006-05-16 14:36:01.000000000 -0400 +@@ -29,7 +29,6 @@ + static char *String_attr; + + static int next_line; /* state after one-line SQL*Plus */ +-static int saved_state = LEAD; + + /******************************************************************************/ + +@@ -55,6 +54,8 @@ + + %% + ++static int saved_state = LEAD; ++ + {IDENT} { char *text = lowercase_of(yytext); + char *attr = ci_keyword_attr(text); + DPRINTF(("{%s->%s}", text, NONNULL(attr))); diff --git a/app-editors/vile/vile-9.5.ebuild b/app-editors/vile/vile-9.5.ebuild index a44c8fc2e7bf..5620693dcc50 100644 --- a/app-editors/vile/vile-9.5.ebuild +++ b/app-editors/vile/vile-9.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/vile-9.5.ebuild,v 1.1 2005/12/15 20:04:07 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/vile-9.5.ebuild,v 1.2 2006/06/07 15:14:00 chutzpah Exp $ inherit eutils @@ -19,6 +19,13 @@ DEPEND="${RDEPEND} sys-devel/flex" PROVIDE="virtual/editor" +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-define-LEAD-before-use.patch" +} + src_compile() { econf \ --with-ncurses \