diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-08-20 21:23:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-08-20 21:23:01 +0000 |
commit | 61d3fbddbe8f2621433cc2c6a01451d6a626ce39 (patch) | |
tree | c53539ce3f4a439d433f4f58a99da7c6a6b13e99 /sys-fs | |
parent | use newer gen_usr_ldscript #144529 (diff) | |
download | gentoo-2-61d3fbddbe8f2621433cc2c6a01451d6a626ce39.tar.gz gentoo-2-61d3fbddbe8f2621433cc2c6a01451d6a626ce39.tar.bz2 gentoo-2-61d3fbddbe8f2621433cc2c6a01451d6a626ce39.zip |
old
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/reiser4progs/files/digest-reiser4progs-1.0.4_p1 | 1 | ||||
-rw-r--r-- | sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch | 36 | ||||
-rw-r--r-- | sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild | 66 |
3 files changed, 0 insertions, 103 deletions
diff --git a/sys-fs/reiser4progs/files/digest-reiser4progs-1.0.4_p1 b/sys-fs/reiser4progs/files/digest-reiser4progs-1.0.4_p1 deleted file mode 100644 index 07df4b1f50a8..000000000000 --- a/sys-fs/reiser4progs/files/digest-reiser4progs-1.0.4_p1 +++ /dev/null @@ -1 +0,0 @@ -MD5 6b1fd418815a52570fee4fb90c81380c reiser4progs-1.0.4-1.tar.gz 878078 diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch deleted file mode 100644 index 45215df6625c..000000000000 --- a/sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch +++ /dev/null @@ -1,36 +0,0 @@ -These variables are all static local so declaring them as -extern in their header file is pointless and just breaks. - ---- plugin/key/key_large/key_large.h -+++ plugin/key/key_large/key_large.h -@@ -43,7 +43,7 @@ - - typedef union key_large key_large_t; - --extern reiser4_plug_t key_large_plug; -+static reiser4_plug_t key_large_plug; - - typedef enum { - /* Major locality occupies higher 60 bits of the first element */ ---- plugin/key/key_short/key_short.h -+++ plugin/key/key_short/key_short.h -@@ -42,7 +42,7 @@ - - typedef union key_short key_short_t; - --extern reiser4_plug_t key_short_plug; -+static reiser4_plug_t key_short_plug; - - typedef enum { - /* Major locality occupies higher 60 bits of the first element */ ---- plugin/oid/oid40/oid40.h -+++ plugin/oid/oid40/oid40.h -@@ -30,7 +30,7 @@ - - typedef struct oid40 oid40_t; - --extern reiser4_plug_t oid40_plug; -+static reiser4_plug_t oid40_plug; - - #define oid40_get_next(area) LE64_TO_CPU(*((d64_t *)area)) - #define oid40_set_next(area, val) (*((d64_t *)area) = CPU_TO_LE64(val)) diff --git a/sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild b/sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild deleted file mode 100644 index 19697ae4fb52..000000000000 --- a/sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild,v 1.4 2005/10/16 02:50:10 vapier Exp $ - -inherit eutils - -MY_P=${PN}-${PV/_p/-} -DESCRIPTION="reiser4progs: mkfs, fsck, etc..." -HOMEPAGE="http://www.namesys.com/v4/v4.html" -SRC_URI="ftp://ftp.namesys.com/pub/reiser4progs/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 -sparc x86" -IUSE="static debug readline" - -DEPEND="~sys-libs/libaal-1.0.4 - readline? ( sys-libs/readline )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - # bundled libtool sucks, so rebuild autotools #74817 - aclocal && libtoolize -c -f && autoconf && automake || die "autotools failed" - epatch "${FILESDIR}"/${PN}-1.0.4-gcc4.patch - cat <<-EOF > run-ldconfig - #!/bin/sh - true - EOF -} - -src_compile() { - econf \ - $(use_enable static full-static) \ - $(use_enable static mkfs-static) \ - $(use_enable static fsck-static) \ - $(use_enable static debugfs-static) \ - $(use_enable static measurefs-static) \ - $(use_enable static cpfs-static) \ - $(use_enable static resizefs-static) \ - $(use_enable debug) \ - $(use_with readline) \ - --enable-libminimal \ - --sbindir=/sbin \ - --libdir=/$(get_libdir) \ - || die "configure failed" - emake || die "make failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS BUGS CREDITS ChangeLog NEWS README THANKS TODO - #resizefs binary doesnt exist in this release - rm -f "${D}"/usr/share/man/man8/resizefs* - - # move stupid .a out of root - dodir /usr/$(get_libdir) - local l="" - for l in libreiser4-minimal libreiser4 librepair ; do - mv "${D}"/$(get_libdir)/${l}.{a,la} "${D}"/usr/$(get_libdir)/ - dosym ../usr/lib/${l}.a /lib/${l}.a - gen_usr_ldscript ${l}.so - done -} |