summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-10 14:29:28 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-10 14:29:28 +0200
commitff54adafb232534772cc71a90330778b262c1402 (patch)
tree32b7fd586eaf7d5f554ab8bb61f56f14af527f91 /sys-libs
parentsys-fs/scan-ffs: Remove last-rited pkg (diff)
downloadgentoo-ff54adafb232534772cc71a90330778b262c1402.tar.gz
gentoo-ff54adafb232534772cc71a90330778b262c1402.tar.bz2
gentoo-ff54adafb232534772cc71a90330778b262c1402.zip
sys-libs/lrmi: Remove last-rited pkg
Closes: https://bugs.gentoo.org/693936 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/lrmi/Manifest1
-rw-r--r--sys-libs/lrmi/files/lrmi-0.10-kernel-2.6.26.patch18
-rw-r--r--sys-libs/lrmi/files/lrmi-0.10-ldflags.patch26
-rw-r--r--sys-libs/lrmi/lrmi-0.10-r1.ebuild38
-rw-r--r--sys-libs/lrmi/metadata.xml11
5 files changed, 0 insertions, 94 deletions
diff --git a/sys-libs/lrmi/Manifest b/sys-libs/lrmi/Manifest
deleted file mode 100644
index 368410ff1ae6..000000000000
--- a/sys-libs/lrmi/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST lrmi-0.10.tar.gz 10271 BLAKE2B 7c8c5856dd3bf7fc977b303db4c0c2a419a6331ddc117ae6356bd48311a6871d6452ac681e3dbb8e32d4fdd99e1d2268604bf29ac52327457467e8bbf2fb5d95 SHA512 61d4f228ab712376cb8d47ef9e1049c89b9916f2fc04723ced03524b716f5e034ffb8ce7aa9b2b4d9d67aa93608020fc7dd1fb7a9778f211eb25a22713a538f1
diff --git a/sys-libs/lrmi/files/lrmi-0.10-kernel-2.6.26.patch b/sys-libs/lrmi/files/lrmi-0.10-kernel-2.6.26.patch
deleted file mode 100644
index 9547439376a3..000000000000
--- a/sys-libs/lrmi/files/lrmi-0.10-kernel-2.6.26.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naurp lrmi-0.10-orig/lrmi.c lrmi-0.10/lrmi.c
---- lrmi-0.10-orig/lrmi.c 2008-08-23 14:39:44.000000000 +0200
-+++ lrmi-0.10/lrmi.c 2008-08-23 14:40:25.000000000 +0200
-@@ -61,6 +61,14 @@ OTHER DEALINGS IN THE SOFTWARE.
-
- #include "lrmi.h"
-
-+/* 2.6.26+ kernels don't define the legacy masks. */
-+#if defined(__linux__) && !defined(TF_MASK)
-+ #define TF_MASK X86_EFLAGS_TF
-+ #define IF_MASK X86_EFLAGS_IF
-+ #define VIF_MASK X86_EFLAGS_VIF
-+ #define IOPL_MASK X86_EFLAGS_IOPL
-+#endif
-+
- #define REAL_MEM_BASE ((void *)0x10000)
- #define REAL_MEM_SIZE 0x40000
- #define REAL_MEM_BLOCKS 0x100
diff --git a/sys-libs/lrmi/files/lrmi-0.10-ldflags.patch b/sys-libs/lrmi/files/lrmi-0.10-ldflags.patch
deleted file mode 100644
index b23bd9c5cdf8..000000000000
--- a/sys-libs/lrmi/files/lrmi-0.10-ldflags.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Naurp lrmi-0.10-orig/Makefile lrmi-0.10/Makefile
---- lrmi-0.10-orig/Makefile 2010-08-20 15:03:17.093144820 +0200
-+++ lrmi-0.10/Makefile 2010-08-20 15:03:47.761144267 +0200
-@@ -2,6 +2,7 @@ LIBDIR ?= /usr/local/lib
- INCDIR ?= /usr/local/include
-
- CFLAGS = -g -Wall
-+LDFLAGS =
-
- sources = lrmi.c
- objects = lrmi.o
-@@ -26,12 +27,12 @@ liblrmi.a: $(objects)
-
- liblrmi.so: $(pic_objects)
- # $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -shared -o $@ $^
-- $(CC) $(CPPFLAGS) $(CFLAGS) -Wl,-soname,$(LIBNAME).so.$(MAJOR) -fPIC -shared -o $(LIBNAME).so.$(VERSION) $^
-+ $(CC) $(CPPFLAGS) $(CFLAGS) -Wl,-soname,$(LIBNAME).so.$(MAJOR) $(LDFLAGS) -fPIC -shared -o $(LIBNAME).so.$(VERSION) $^
- ln -sf $(LIBNAME).so.$(VERSION) $(LIBNAME).so.$(MAJOR)
- ln -sf $(LIBNAME).so.$(MAJOR) $(LIBNAME).so
-
- vbetest: vbetest.c liblrmi.a
-- $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^
-
- install:
- mkdir -p $(LIBDIR)
diff --git a/sys-libs/lrmi/lrmi-0.10-r1.ebuild b/sys-libs/lrmi/lrmi-0.10-r1.ebuild
deleted file mode 100644
index 5968e63998d3..000000000000
--- a/sys-libs/lrmi/lrmi-0.10-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="library for calling real mode BIOS routines under Linux"
-HOMEPAGE="http://www.sourceforge.net/projects/lrmi/"
-SRC_URI="mirror://sourceforge/lrmi/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-kernel-2.6.26.patch
- epatch "${FILESDIR}"/${P}-ldflags.patch
-}
-
-src_compile() {
- tc-export CC AR RANLIB
- emake CFLAGS="${CFLAGS} -Wall" LDFLAGS="${LDFLAGS}" || die "emake failed."
-}
-
-src_install() {
- dobin vbetest || die "dobin failed."
- dolib.a liblrmi.a || die "dolib.a failed."
- dolib.so liblrmi.so.${PV} || die "dolib.so failed."
- dosym liblrmi.so.${PV} /usr/lib/liblrmi.so
- dosym liblrmi.so.${PV} /usr/lib/liblrmi.so.${PV%%.*}
-
- insinto /usr/include
- doins lrmi.h vbe.h || die "doins failed."
-}
diff --git a/sys-libs/lrmi/metadata.xml b/sys-libs/lrmi/metadata.xml
deleted file mode 100644
index 89ed3cff124d..000000000000
--- a/sys-libs/lrmi/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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">lrmi</remote-id>
-</upstream>
-</pkgmetadata>