diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-07-28 14:05:40 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-07-28 14:05:40 +0200 |
commit | 30e541dda461565f3d3f3f1af6b82f8a623015f8 (patch) | |
tree | c472c86e84fb2724eacbf314fefd828369ba9e89 /games-arcade | |
parent | dev-python/django-two-factor-auth: Remove last-rited pkg (diff) | |
download | gentoo-30e541dda461565f3d3f3f1af6b82f8a623015f8.tar.gz gentoo-30e541dda461565f3d3f3f1af6b82f8a623015f8.tar.bz2 gentoo-30e541dda461565f3d3f3f1af6b82f8a623015f8.zip |
games-arcade/snake3d: Remove last-rited pkg
Closes: https://bugs.gentoo.org/612322
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/snake3d/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/snake3d/files/snake3d-0.9-amd64.patch | 37 | ||||
-rw-r--r-- | games-arcade/snake3d/files/snake3d-0.9-build.patch | 24 | ||||
-rw-r--r-- | games-arcade/snake3d/metadata.xml | 16 | ||||
-rw-r--r-- | games-arcade/snake3d/snake3d-0.9.ebuild | 38 |
5 files changed, 0 insertions, 116 deletions
diff --git a/games-arcade/snake3d/Manifest b/games-arcade/snake3d/Manifest deleted file mode 100644 index b00da01ea665..000000000000 --- a/games-arcade/snake3d/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST snake3d-0.9.tar.gz 62900 BLAKE2B 8520ddf52705cf086374c707f319fef5f3d9d964a05f367da8aab19c46f4f8e42947e104cdc4f3d7db20901308d995470f29a840af22500fd6c4c4d2ab7a301b SHA512 2bc2d3e68fd782d58c5f702727a8a72fb67096e7ff78e1e00f3a79767bad627fe3a2ceec05a621e8d5b4b3ba009a01814c93b7d21f180512b13411bf61ac1065 diff --git a/games-arcade/snake3d/files/snake3d-0.9-amd64.patch b/games-arcade/snake3d/files/snake3d-0.9-amd64.patch deleted file mode 100644 index d2b5f2c79acd..000000000000 --- a/games-arcade/snake3d/files/snake3d-0.9-amd64.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- src/functions.cpp.old 2007-03-31 11:04:10.000000000 +0200 -+++ src/functions.cpp 2007-03-31 11:11:52.000000000 +0200 -@@ -107,8 +107,8 @@ - pointer = end; - } - -- memcpy(str, i, (int)pointer - (int)i); -- str[(int)pointer - (int)i] = 0; -+ memcpy(str, i, ssize_t(pointer - i)); -+ str[pointer - i] = 0; - - drawString(x, y, str); - -@@ -501,15 +501,21 @@ - - Uint32 timer(Uint32 interval, void* value) { - -+ union { -+ void *value; -+ int p_mode; -+ } p_modeConv; -+ p_modeConv.value = value; -+ - //if ((int)value != gameModeValue) -- if ((int)value != p_mode) -+ if (p_modeConv.p_mode != p_mode) - return 0; - - SDL_Event event; - SDL_UserEvent userevent; - - userevent.type = SDL_USEREVENT; -- userevent.code = (int)value; -+ userevent.code = p_modeConv.p_mode; - userevent.data1 = NULL; - userevent.data2 = NULL; - diff --git a/games-arcade/snake3d/files/snake3d-0.9-build.patch b/games-arcade/snake3d/files/snake3d-0.9-build.patch deleted file mode 100644 index f7d8c4404df4..000000000000 --- a/games-arcade/snake3d/files/snake3d-0.9-build.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- src/Makefile -+++ src/Makefile -@@ -1,10 +1,10 @@ - OBJ = board.o snake.o game.o menu.o snake3d.o global.o consts.o cube.o functions.o preferences.o rooms2.o network.o userInput.o server.o packets.o client.o classic2d.o --CXXFLAGS = -g -Wall -I/usr/X11R6/include/ `sdl-config --cflags` -+CXXFLAGS += -Wall $(shell sdl-config --cflags) - CXX = g++ - CC = g++ - #LDFLAGSMAC = -framework GLUT -framework OpenGL -framework Cocoa -bind_at_load -L/sw/lib/ -lSDL -lSDLmain - LDFLAGSMAC = `sdl-config --libs` -framework GLUT -framework OpenGL -lSDL_net --LDFLAGS = -L/usr/X11R6/lib/ -lGL -lglut -lGLU -lSDL -lSDL_net -+LIBS = -lGL -lglut -lGLU $(shell sdl-config --libs) -lSDL_net - - all: snake3d - -@@ -18,7 +18,7 @@ - g++ $(LDFLAGSMAC) $(OBJ) -o ../snake3d - - snake3d.linux: $(OBJ) -- g++ $(LDFLAGS) $(OBJ) -o ../snake3d -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJ) $(LIBS) -o ../snake3d - - - clean: diff --git a/games-arcade/snake3d/metadata.xml b/games-arcade/snake3d/metadata.xml deleted file mode 100644 index 261d7fab00c9..000000000000 --- a/games-arcade/snake3d/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <longdescription lang="en"> -snake3d is a variant of the snake game. You are a snake in a 3d world trying to -eat as many icosahedrons as possible, which makes your tail longer. There are -other snakes (network players) in the world which will try to fail you. -</longdescription> - <upstream> - <remote-id type="sourceforge">worms3d</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-arcade/snake3d/snake3d-0.9.ebuild b/games-arcade/snake3d/snake3d-0.9.ebuild deleted file mode 100644 index 57db6998ed0b..000000000000 --- a/games-arcade/snake3d/snake3d-0.9.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils toolchain-funcs games - -DESCRIPTION="variant of the snake game" -HOMEPAGE="https://sourceforge.net/projects/worms3d/" -SRC_URI="mirror://sourceforge/worms3d/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="media-libs/sdl-net - virtual/opengl - media-libs/freeglut - virtual/glu - media-libs/libsdl" -RDEPEND="${DEPEND}" -S=${WORKDIR}/${PN} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-amd64.patch \ - "${FILESDIR}"/${P}-build.patch -} - -src_compile() { - emake CXX=$(tc-getCXX) -C src snake3d.linux -} - -src_install() { - dogamesbin ${PN} - dodoc ChangeLog README TODO - prepgamesdirs -} |