+++ /dev/null
-DIST eject-1.5.tar.gz 4928 BLAKE2B 9b10622d758f31670d360f7ffbcdca3bacb3f24e9adc602ab60a25a3bac843fef702c7d66d587e4b820ee6b7c65c0735925cdfafa9846704e0484b4fb2b5063c SHA512 d116aa1119cddb82b3b2ef3202ebdf6f02d1184746e1fe5f00fa9819bab4b90386bf9cbcb3b3796b03299c13c1730a020cf917f2c071982d10124d82cdda5ac3
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils portability toolchain-funcs
-
-MY_P=eject-${PV}
-
-DESCRIPTION="eject command for FreeBSD systems"
-HOMEPAGE="http://www.freshports.org/sysutils/eject/"
-SRC_URI="ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/OD/${MY_P}.tar.gz
- ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/OD/${MY_P}.tar.gz
- ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/OD/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-manpage.patch
- epatch "${FILESDIR}"/${P}-devname.patch
-}
-
-src_compile() {
- $(get_bmake) CC="$(tc-getCC)" PREFIX=/usr eject || die
-}
-
-src_install() {
- dobin "${S}"/eject || die
- doman "${S}"/eject.1
- dodoc "${S}"/README
-}
+++ /dev/null
---- eject.c.orig Tue May 3 14:59:19 2005
-+++ eject.c Tue May 3 15:01:30 2005
-@@ -133,7 +133,7 @@
- int sts;
- struct stat sb;
-
-- if (asprintf(device, "/dev/%sc", name) == -1)
-+ if (asprintf(device, "/dev/%s", name) == -1)
- return sts;
- if (vflag || nflag) {
- printf("%s: using device %s\n", program, device);
+++ /dev/null
---- eject.1.orig Tue Jan 4 14:49:41 2000
-+++ eject.1 Sun Feb 1 00:49:17 2004
-@@ -53,6 +53,8 @@
- Not execute operation but print it.
- .It Fl v
- Verbose mode.
-+.It Fl t
-+Give drive tray close command.
- .Sh ENVIRONMENT
- If the following environment variable exists, it is used by
- .Nm eject :
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>