diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-30 23:46:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-30 23:46:03 +0000 |
commit | 051eeabb559b274e915281b0aa6de0133044b50f (patch) | |
tree | c2a453ce2725b4416dc98d43333f10d1ff035c7d /sys-fs/lde | |
parent | Added USE flag for exiv2 support (bug #137260) and removed old ~arch versions. (diff) | |
download | gentoo-2-051eeabb559b274e915281b0aa6de0133044b50f.tar.gz gentoo-2-051eeabb559b274e915281b0aa6de0133044b50f.tar.bz2 gentoo-2-051eeabb559b274e915281b0aa6de0133044b50f.zip |
Version bump and fix building with gcc-4 #141881 by Martin Mokrejs.
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'sys-fs/lde')
-rw-r--r-- | sys-fs/lde/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/lde/files/digest-lde-2.6.1 | 3 | ||||
-rw-r--r-- | sys-fs/lde/files/lde-2.6.1-no-shadowing.patch | 39 | ||||
-rw-r--r-- | sys-fs/lde/lde-2.6.1.ebuild | 33 |
4 files changed, 83 insertions, 2 deletions
diff --git a/sys-fs/lde/ChangeLog b/sys-fs/lde/ChangeLog index 2bc898362f57..aac0c387b159 100644 --- a/sys-fs/lde/ChangeLog +++ b/sys-fs/lde/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/lde -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lde/ChangeLog,v 1.4 2004/06/24 22:51:46 agriffis Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lde/ChangeLog,v 1.5 2006/07/30 23:46:03 vapier Exp $ + +*lde-2.6.1 (30 Jul 2006) + + 30 Jul 2006; Mike Frysinger <vapier@gentoo.org> + +files/lde-2.6.1-no-shadowing.patch, +lde-2.6.1.ebuild: + Version bump and fix building with gcc-4 #141881 by Martin Mokrejs. 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> lde-2.6.0.ebuild: Add inherit eutils diff --git a/sys-fs/lde/files/digest-lde-2.6.1 b/sys-fs/lde/files/digest-lde-2.6.1 new file mode 100644 index 000000000000..54af7619fca8 --- /dev/null +++ b/sys-fs/lde/files/digest-lde-2.6.1 @@ -0,0 +1,3 @@ +MD5 7cd3a798cafc07d084db240fd1d1c830 lde-2.6.1.tar.gz 598050 +RMD160 526297ce7698a8adba67d73d1e602d1db2aab371 lde-2.6.1.tar.gz 598050 +SHA256 d987555145a05d7b8c9f65e3f0f9754da1c29cc9933597d1765117b7ef3b0694 lde-2.6.1.tar.gz 598050 diff --git a/sys-fs/lde/files/lde-2.6.1-no-shadowing.patch b/sys-fs/lde/files/lde-2.6.1-no-shadowing.patch new file mode 100644 index 000000000000..586bbf3e8768 --- /dev/null +++ b/sys-fs/lde/files/lde-2.6.1-no-shadowing.patch @@ -0,0 +1,39 @@ +rename daylight to avoid shadowing the daylight function and pissing off gcc + +http://bugs.gentoo.org/141881 + +--- lde/src/swiped/cnews/getdate.y ++++ lde/src/swiped/cnews/getdate.y +@@ -24,7 +24,7 @@ + + static int timeflag, dateflag, dayflag, relflag; + static time_t relsec, relmonth; +- static int hh, mm, ss, merid, daylight; ++ static int hh, mm, ss, merid, foo_daylight; + static int dayord, dayreq; + static int month, day, year; + static int ourzone; +@@ -68,19 +68,19 @@ + {hh = $1; mm = $3; merid = $4;} + | NUMBER ':' NUMBER NUMBER + {hh = $1; mm = $3; merid = 24; +- daylight = STANDARD; ourzone = $4%100 + 60*$4/100;} ++ foo_daylight = STANDARD; ourzone = $4%100 + 60*$4/100;} + | NUMBER ':' NUMBER ':' NUMBER + {hh = $1; mm = $3; ss = $5; merid = 24;} + | NUMBER ':' NUMBER ':' NUMBER MERIDIAN + {hh = $1; mm = $3; ss = $5; merid = $6;} + | NUMBER ':' NUMBER ':' NUMBER NUMBER + {hh = $1; mm = $3; ss = $5; merid = 24; +- daylight = STANDARD; ourzone = $6%100 + 60*$6/100;}; ++ foo_daylight = STANDARD; ourzone = $6%100 + 60*$6/100;}; + + zone: ZONE +- {ourzone = $1; daylight = STANDARD;} ++ {ourzone = $1; foo_daylight = STANDARD;} + | DAYZONE +- {ourzone = $1; daylight = DAYLIGHT;}; ++ {ourzone = $1; foo_daylight = DAYLIGHT;}; + + dyspec: DAY + {dayord = 1; dayreq = $1;} diff --git a/sys-fs/lde/lde-2.6.1.ebuild b/sys-fs/lde/lde-2.6.1.ebuild new file mode 100644 index 000000000000..77e5c084b9b8 --- /dev/null +++ b/sys-fs/lde/lde-2.6.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lde/lde-2.6.1.ebuild,v 1.1 2006/07/30 23:46:03 vapier Exp $ + +inherit eutils + +DESCRIPTION="ext2fs and minix disk editor for linux" +HOMEPAGE="http://lde.sourceforge.net/" +SRC_URI="mirror://sourceforge/lde/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="sys-libs/ncurses" +DEPEND="${RDEPEND} + dev-util/yacc" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-no-shadowing.patch #141881 +} + +src_install() { + into / + dosbin lde || die + newman doc/lde.man lde.8 + dodoc WARNING README TODO +} |