+++ /dev/null
-DIST mknbi-1.4.4.tar.gz 212454 SHA256 e5c62131a79cebf31234af252975d4c242ed8face0249f11a5772aeff50e3f02 SHA512 193b4b97d2c3fe9d508e524f65604925b54c052910e5c30d8a36f57e4ea1266ad2f61691bf68638c06459729b3f2d27f5299eceb8b6feaa00912c8fb73210392 WHIRLPOOL a8519b3b43694ec65468541513072865ebc59dd70f24923a8bc9b7a903bc5282cf814c0979f87ad78f7dafaeafdc150149f847aead828cfd677e78b04699d404
+++ /dev/null
---- Makefile.orig 2005-04-17 10:50:53.000000000 -0400
-+++ Makefile 2005-04-17 10:51:17.000000000 -0400
-@@ -18,7 +18,7 @@
- FIRSTRELOCS= 0x92800 0x82800
- OLDGAS:= $(shell $(AS) --version | grep -q '2\.9\.1' && echo -DGAS291)
- CFLAGS= -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer \
-- -mcpu=i386 \
-+ -mcpu=i386 -fno-stack-protector -fno-stack-protector-all -fno-pie \
- -Wall -W -Wno-format -Wno-unused -DVERSION=\"$(VERSION)$(EXTRAVERSION)\"
- LDBINARYFLAG= --oformat binary
- FIRST32SIZE= 6144
+++ /dev/null
-diff -ruN mknbi-1.4.4/nfl.c mknbi-1.4.4.thor/nfl.c
---- mknbi-1.4.4/nfl.c 2003-09-22 16:47:08.000000000 +0200
-+++ mknbi-1.4.4.thor/nfl.c 2006-05-19 13:36:42.000000000 +0200
-@@ -666,7 +666,7 @@
- if (bhdr->b_signature != ELF_BHDR_MAGIC) {
- return;
- }
--
-+ /* probably breaks nothing, but why declare unsigned char and make cast to (signed) char??? */
- note = ((char *)bhdr) + sizeof(*bhdr);
- end = ((char *)bhdr) + bhdr->b_size;
- while (note < end) {
-diff -ruN mknbi-1.4.4/nfl.h mknbi-1.4.4.thor/nfl.h
---- mknbi-1.4.4/nfl.h 2003-01-12 09:39:03.000000000 +0100
-+++ mknbi-1.4.4.thor/nfl.h 2006-05-19 13:36:42.000000000 +0200
-@@ -182,7 +182,10 @@
- extern int auto_fill;
-
- /* This variable specifies which console should be used. */
--extern int terminal;
-+/* Decide if you want static _or_ external!
-+ gcc-4 finally starts complaining about this nonsense.
-+ (plus: no file besides nfl.c uses this header anyway...)
-+extern int terminal; */
-
- #define TERMINAL_CONSOLE (1 << 0) /* keyboard and screen */
- #define TERMINAL_SERIAL (1 << 1) /* serial console */
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">etherboot</remote-id>
- </upstream>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit toolchain-funcs eutils
-
-DESCRIPTION="Utility for making tagged kernel images useful for netbooting"
-SRC_URI="mirror://sourceforge/etherboot/${P}.tar.gz"
-RESTRICT="mirror"
-HOMEPAGE="http://etherboot.sourceforge.net"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/perl-5.6.1
- !sys-boot/netboot"
-DEPEND="${RDEPEND}
- dev-lang/nasm"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch \
- "${FILESDIR}"/mknbi-1.4.3-nossp.patch \
- "${FILESDIR}"/${P}-gcc4.patch
-
- sed -i \
- -e "s:\/usr\/local:\/usr:" \
- -e "s:COPYING::" \
- -e "s:\-mcpu:\-march:" Makefile \
- || die "sed failed"
- sed -r /^DOCDIR/s:packages/.*:${PF}: -i Makefile || die "sed failed"
-
- #apply modifications to CFLAGS to fix for gcc 3.4: bug #64049
- if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
- then
- sed -i \
- -e 's:\-mcpu:\-mtune:' \
- -e 's:CFLAGS=:CFLAGS= -minline-all-stringops:' Makefile \
- || die "sed failed"
- fi
- if [ "`gcc-major-version`" = "4" ]; then
- sed -i \
- -e 's:\-fno-stack-protector-all::' Makefile \
- || die "sed failed"
- fi
-}
-
-src_install() {
- export BUILD_ROOT="${D}"
- emake DESTDIR="${D}" install || die "emake failed"
- prepalldocs
-}
# recording capabilities. Removal in 30 days, #587494.
media-video/istanbul
-# Michał Górny <mgorny@gentoo.org> (1 Jul 2016)
-# No maintainer, multiple QA violations, dead upstream since 2011.
-# Removal in 30 days, #587278.
-net-misc/mknbi
-
# Hans de Graaff <graaff@gentoo.org> (1 Jul 2016)
# With the release of Rails 5.0 versions older than 4.2 are no longer
# supported. Mask Rails 3.2 and related packages for removal in 30 days.