summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/nestra/Manifest2
-rw-r--r--games-emulation/nestra/files/nestra-0.66-exec-stack.patch10
-rw-r--r--games-emulation/nestra/files/nestra-0.66-include.patch73
-rw-r--r--games-emulation/nestra/metadata.xml8
-rw-r--r--games-emulation/nestra/nestra-0.66-r3.ebuild49
5 files changed, 0 insertions, 142 deletions
diff --git a/games-emulation/nestra/Manifest b/games-emulation/nestra/Manifest
deleted file mode 100644
index 40544bba409f..000000000000
--- a/games-emulation/nestra/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST nestra-0.66.tar.gz 49757 BLAKE2B 0ec8603cd9afc33a1b194e1c39cdc8d3173d1ad4c7c76e6e00214883cdfcd8f2cf35bfb4b74e131822aaf8c7864a50980d642bc87aca26372f06b8fab145a7cf SHA512 25f9d0c0359b46ddcd451552e7737b0f955a18e7a4ebd30d5494b12f787b9c45a49579207328c06c10efc7f8283bc688eb2061c538523ed257825b2394d978ce
-DIST nestra_0.66-10.diff.gz 2414 BLAKE2B 5b83ac9eee4d8c141dc473000b5f713ab4eb0a38707334d4fd044b9617f01b83c4a19670ef27874f6511f1f9b1d578ba35d5ba9ac244621b19ca3b9c00d5a30d SHA512 4ea1ad97f6c2eca0434dee4031e0486cc1c7c25237a467d4bf33bd0656b52441143855e07b29e1bdcf95514e19fe68ecb8f73d0972d17d9e3b6fd7a92d2db8c6
diff --git a/games-emulation/nestra/files/nestra-0.66-exec-stack.patch b/games-emulation/nestra/files/nestra-0.66-exec-stack.patch
deleted file mode 100644
index d9e9b3c61147..000000000000
--- a/games-emulation/nestra/files/nestra-0.66-exec-stack.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/x86.S.orig 2006-01-09 20:02:58.000000000 -0500
-+++ b/x86.S 2006-01-09 20:03:38.000000000 -0500
-@@ -1458,3 +1458,7 @@
- leal 0x1(%eax),%ebx
- popl %eax
- jmp i_next
-+
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",@progbits
-+#endif
diff --git a/games-emulation/nestra/files/nestra-0.66-include.patch b/games-emulation/nestra/files/nestra-0.66-include.patch
deleted file mode 100644
index 096fd18af47f..000000000000
--- a/games-emulation/nestra/files/nestra-0.66-include.patch
+++ /dev/null
@@ -1,73 +0,0 @@
---- a/comptbl.c
-+++ b/comptbl.c
-@@ -9,6 +9,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <errno.h>
-+#include <stdlib.h>
-
- #define ALLOC_SIZE 0x400000 /* 4MB */
- #define TBL_BASE ((unsigned char *)0x10000000)
---- a/d6502.c
-+++ b/d6502.c
-@@ -1,6 +1,7 @@
- /* 6502 disassembler */
- /* Public Domain */
-
-+#include <stdio.h>
- #include "globals.h"
-
- char Opcodes_6502[256][4]={
---- a/emu.c
-+++ b/emu.c
-@@ -12,6 +12,7 @@
- #include <sys/mman.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
-
- #include "mapper.h"
- #include "io.h"
---- a/fb.c
-+++ b/fb.c
-@@ -2,6 +2,8 @@
- /* Framebuffer/pixmap rendering */
- /* Public Domain */
-
-+#include <stdlib.h>
-+#include <string.h>
- #include <stdio.h>
- #include "mapper.h"
- #include "globals.h"
---- a/io.c
-+++ b/io.c
-@@ -5,6 +5,7 @@
- to do I/O operations. */
-
- #include <stdio.h>
-+#include <string.h>
- #include "mapper.h"
- #include "io.h"
- #include "globals.h"
---- a/mapper.c
-+++ b/mapper.c
-@@ -1,6 +1,7 @@
- /* Nestra mapper.c */
- /* Public Domain */
-
-+#include <string.h>
- #include "mapper.h"
- #include "consts.h"
-
---- a/x11.c
-+++ b/x11.c
-@@ -1,6 +1,9 @@
- /* Nestra x11.c */
- /* Public Domain */
-
-+#include <stdlib.h>
-+#include <string.h>
-+#include <stdio.h>
- #include <X11/Xlib.h>
- #include <X11/keysym.h>
- #include <X11/Xutil.h>
diff --git a/games-emulation/nestra/metadata.xml b/games-emulation/nestra/metadata.xml
deleted file mode 100644
index 1c3ba213c494..000000000000
--- a/games-emulation/nestra/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/games-emulation/nestra/nestra-0.66-r3.ebuild b/games-emulation/nestra/nestra-0.66-r3.ebuild
deleted file mode 100644
index 73ec6ac19483..000000000000
--- a/games-emulation/nestra/nestra-0.66-r3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs flag-o-matic
-
-PATCH="${P/-/_}-10.diff"
-DESCRIPTION="NES emulation for Linux/x86"
-HOMEPAGE="http://nestra.linuxgames.com/"
-SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz
- mirror://debian/pool/contrib/n/nestra/${PATCH}.gz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="x11-libs/libX11[abi_x86_32(-)]"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- default
-
- eapply "${WORKDIR}"/${PATCH}
- eapply "${FILESDIR}"/${P}-exec-stack.patch
- eapply "${FILESDIR}"/${P}-include.patch
-
- append-ldflags -Wl,-z,noexecstack
- use amd64 && multilib_toolchain_setup x86
-
- sed -i \
- -e "s:-L/usr/X11R6/lib:${LDFLAGS}:" \
- -e 's:-O2 ::' \
- -e "s:gcc:$(tc-getCC) ${CFLAGS}:" \
- -e "s:ld:$(tc-getLD) -m elf_i386 $(raw-ldflags):" \
- Makefile || die
-}
-
-src_compile() {
- use amd64 && multilib_toolchain_setup x86
- default
-}
-
-src_install() {
- dobin nestra
- einstalldocs
- doman nestra.6
-}