summaryrefslogtreecommitdiff
path: root/sys-fs/lde
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-fs/lde
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-fs/lde')
-rw-r--r--sys-fs/lde/Manifest6
-rw-r--r--sys-fs/lde/files/lde-2.6.1-no-shadowing.patch39
-rw-r--r--sys-fs/lde/lde-2.6.1-r1.ebuild33
-rw-r--r--sys-fs/lde/metadata.xml11
4 files changed, 89 insertions, 0 deletions
diff --git a/sys-fs/lde/Manifest b/sys-fs/lde/Manifest
new file mode 100644
index 000000000000..55b59513d8ef
--- /dev/null
+++ b/sys-fs/lde/Manifest
@@ -0,0 +1,6 @@
+AUX lde-2.6.1-no-shadowing.patch 1296 SHA256 50496fe95c73cf4c188df7d93907ae30baad8ad590ea107f365edefdd9e74ba7 SHA512 71545fc978fc5ef792fe61d5495e5690d50f6a9e44b1a48b835738cb0b05737db311fe10851b90655373e2d5cb5f7e47a4befcc40db5170092e28243fa99b32b WHIRLPOOL 15c67b3b99db605e209d1f81a6a571b1a9c15aae6890726236d38c814cf042cd8a8165acff0061aac11f154b125253fc787524ae33ab26e635cf4768a053ad17
+DIST lde-2.6.1.tar.gz 598050 SHA256 d987555145a05d7b8c9f65e3f0f9754da1c29cc9933597d1765117b7ef3b0694 SHA512 b77baa9998a3d45493b6949a81df81dc5c0ee27060108bbae29548af09595aa260fdfcd12e958ea8ecf12805d97c157f5aad147137d6b42d806529ac6a3ab015 WHIRLPOOL 633adea5b8f685486bb002acfa8fa556fa589c01c300b1b66ae3742c6989f6cb976120e1edd6e968eedb84e500ccb761f85593e72e3db9f9f55267be4a2c1333
+EBUILD lde-2.6.1-r1.ebuild 584 SHA256 d966506cc29a603f5e2a07d9eda0fd88506338411b2cd6e3f0d22bba4fad00e0 SHA512 42cd34a8b8b77c9ac457390ab349e0ed07b7f34620d2bd13dcce52f93639b2aa30a5aad1c9e9674854d8fd10b3dfff3bd3f1b589708661751fdc1aaf7eb6ccc4 WHIRLPOOL f85c9367bc9bdacaa6ee0bc50733d75db6733b453d64acbeca2043d71e0fe995905aed8df3a46a3a73068963f3eafc0166cdf7b9d0a1c9d13aa9fe39fd4c2e63
+MISC ChangeLog 2949 SHA256 b26d4f75c1ef483f2a19aad09b654147f3f301d3afb0d230844dc7dfb4b6aaa0 SHA512 6e0d44d1459ca95719308a247dd5538c74fe5b73691a44d68606ba1ba196ad14081dc0210c321d945f891c80935a2c3785afcdc6641d09d9dbf7d1aedeeae23e WHIRLPOOL fa8655349807c3acca30883e4c7d2f87068c93bdde9a00d82ac5a5c75b7a3885d511a852f7a961387eed959cb4efeb3903b9b16a691ab91510f108daa18e4481
+MISC ChangeLog-2015 916 SHA256 86770c348725757f1ca5cf22cf3873b69110315d1f5d64fdf7b13baaa595bf17 SHA512 ed7068f446c75a229af206e6b726a6753dc4a8f220d158c979641298b1361495a705649037c57ce5f236e85a1387f3740bc7530ebc582a9bab31fe9408ceb746 WHIRLPOOL 130854de956f34dbf1967e58dc5c28ea132b20d78e2fbe8bbfb00f3523c3bce3cb118f848ae07978b3095c56b42f6f506ea68d67b14595e37a19319246a31357
+MISC metadata.xml 323 SHA256 6b5d7456faddec095a174957b7caad0561cfa1af7894271f96934097e432890f SHA512 7da6b75e5be951e2227e74cd49fb6a6f4c2be3770021989d9fcc43a816138ddbaa2841f1a28316e8312fc624b5ee2124320a212379eda33ecace5f0a83293d4f WHIRLPOOL 01320cb4b3b4e7125d32958ee6dc94bd2fb8dd3e19d08a6420f0c0324ef2f7422f6184de9ac489d65a1a255206e35c3c37477202f6eb091a75894af76e194e3a
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-r1.ebuild b/sys-fs/lde/lde-2.6.1-r1.ebuild
new file mode 100644
index 000000000000..30c88f3438ed
--- /dev/null
+++ b/sys-fs/lde/lde-2.6.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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="~amd64 ~x86"
+
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="
+ ${RDEPEND}
+ dev-util/yacc"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-no-shadowing.patch"
+)
+
+DOCS=( WARNING README TODO COPYING )
+
+RESTRICT="test"
+
+src_install() {
+ dosbin "${PN}"
+ newman "doc/${PN}.man" "${PN}.8"
+ einstalldocs
+}
diff --git a/sys-fs/lde/metadata.xml b/sys-fs/lde/metadata.xml
new file mode 100644
index 000000000000..bf4c7f8ac56b
--- /dev/null
+++ b/sys-fs/lde/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">lde</remote-id>
+</upstream>
+</pkgmetadata>