diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-06-01 08:01:27 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-06-01 19:19:16 -0400 |
commit | ac1198365fed3a4faf25883ab730c392e34abdbe (patch) | |
tree | e3fae06a894b709c59809d4454db72fca6bd0c9c /games-arcade | |
parent | games-arcade/rockdodger: add 1.1.4 (diff) | |
download | gentoo-ac1198365fed3a4faf25883ab730c392e34abdbe.tar.gz gentoo-ac1198365fed3a4faf25883ab730c392e34abdbe.tar.bz2 gentoo-ac1198365fed3a4faf25883ab730c392e34abdbe.zip |
games-arcade/rockdodger: drop 0.6.0a-r2
This revision was unusable.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/rockdodger/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/rockdodger/files/0.6.0a-sec.patch | 20 | ||||
-rw-r--r-- | games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch | 18 | ||||
-rw-r--r-- | games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch | 11 | ||||
-rw-r--r-- | games-arcade/rockdodger/rockdodger-0.6.0a-r2.ebuild | 70 |
5 files changed, 0 insertions, 120 deletions
diff --git a/games-arcade/rockdodger/Manifest b/games-arcade/rockdodger/Manifest index 11d90d34984d..6cdc22adfe81 100644 --- a/games-arcade/rockdodger/Manifest +++ b/games-arcade/rockdodger/Manifest @@ -1,2 +1 @@ -DIST rockdodger-0.6.0a.tar.gz 410223 BLAKE2B 5ccda4400468d6a7209adfdad3045773bf31581e34dfb77bff7d314ca9d9fa18e6c5a24996259782c002cf8ea611f92388c9ca46be4e0c7492a526421e8e8163 SHA512 d517cc844df21e8772b13d0226841a64bede0cc2f5461fb83d313f49cd99192dcf6af4597e3d1f3e1c60f578437e355ce665e0288415da803a503fb12d8462eb DIST rockdodger-1.1.4.tar.gz 1026184 BLAKE2B 08885155508adb878908d3cf9201c98cffded37dea051cb9a668ddb63891a19369648964f3f19d94b72a08626d3d1dea73686b190898d8b59c3b91805e08677c SHA512 542a8b5b1a9dc7fc8e61d3183c14c3f45952614f2e00f71383dfd42ddcf275cbc14520797d4555f2f19f354a4f1819d8527a587598c9dbc06a75b21643a8b019 diff --git a/games-arcade/rockdodger/files/0.6.0a-sec.patch b/games-arcade/rockdodger/files/0.6.0a-sec.patch deleted file mode 100644 index b7af24f160a7..000000000000 --- a/games-arcade/rockdodger/files/0.6.0a-sec.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/main.c -+++ b/main.c -@@ -459,7 +459,7 @@ FILE *hs_fopen(char *mode) {/*{{{*/ - else { - char s[1024]; - umask(0177); -- sprintf(s,"%s/.rockdodger_high",getenv("HOME")); -+ snprintf(s,1024,"%s/.rockdodger_high",getenv("HOME")); - if (f=fopen(s,mode)) { - umask(mask); - return f; -@@ -478,7 +478,7 @@ void read_high_score_table() {/*{{{*/ - for (i=0; i<8; i++) { - char s[1024]; - int highscore; -- if (fscanf (f, "%d %[^\n]", &highscore, s)!=2) -+ if (fscanf (f, "%d %1023[^\n]", &highscore, s)!=2) - break; - if (high[i].allocated) - free(high[i].name); diff --git a/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch b/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch deleted file mode 100644 index f69797520975..000000000000 --- a/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/main.c -+++ b/main.c -@@ -206,7 +206,6 @@ - struct bangdots bdot[MAX_BANG_DOTS], *bdotptr=bdot; - struct spacedot sdot[MAX_SPACE_DOTS]; - --struct greeble greeb[MAX_GREEBLES]; - struct greeble { - int active; - float x,y; // When landed, these represent an offset from the host rock -@@ -214,6 +213,7 @@ - int landed; - int boredom; // Goes up while landed - }; -+struct greeble greeb[MAX_GREEBLES]; - // }}} - - void init_greeblies() { diff --git a/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch b/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch deleted file mode 100644 index 3ee7d9c5cc75..000000000000 --- a/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -27,7 +27,7 @@ - #SOUNDLIBRARIES= - SOUNDLIBRARIES=-lSDL_mixer - --LIBRARIES=`sdl-config --libs` -lSDL_image $(SOUNDLIBRARIES) -+LIBRARIES=`sdl-config --libs` -lSDL_image $(SOUNDLIBRARIES) -lm - - all: $(EXENAME) - diff --git a/games-arcade/rockdodger/rockdodger-0.6.0a-r2.ebuild b/games-arcade/rockdodger/rockdodger-0.6.0a-r2.ebuild deleted file mode 100644 index d446d78f27b8..000000000000 --- a/games-arcade/rockdodger/rockdodger-0.6.0a-r2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop toolchain-funcs - -DESCRIPTION="Dodge the rocks for as long as possible until you die" -HOMEPAGE="http://spacerocks.sourceforge.net/" -SRC_URI="mirror://sourceforge/spacerocks/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - media-libs/libsdl[sound,video] - media-libs/sdl-image[png] - media-libs/sdl-mixer -" -RDEPEND=" - ${DEPEND} - acct-group/gamestat -" - -PATCHES=( - "${FILESDIR}"/${PV}-sec.patch - "${FILESDIR}"/${P}-gcc41.patch - "${FILESDIR}"/${P}-underlink.patch -) - -src_prepare() { - default - - # Modify highscores & data directory and add our CFLAGS to the Makefile - sed -i \ - -e "s:\./data:/var/games/${PN}:" \ - -e "s:/usr/share/rockdodger/\.highscore:/var/games/${PN}/rockdodger.scores:" \ - -e 's:umask(0111):umask(0117):' \ - main.c || die " sed main.c failed" - - sed -i \ - -e "s:-g:${CFLAGS}:" \ - -e 's:cc:${CC}:' \ - -e '/-o/s:\$+:$(LDFLAGS) $+:' \ - Makefile || die "sed Makefile failed" - - # The 512 chunksize makes the music skip - sed -i -e "s:512:1024:" sound.c || die "sed sound.c failed" -} - -src_configure() { - tc-export CC -} - -src_install() { - dobin ${PN} - insinto /usr/share/${PN} - doins data/* - - newicon spacerocks.xpm ${PN}.xpm - make_desktop_entry ${PN} "Rock Dodger" ${PN} - - dodir /var/games/${PN} - touch "${ED}"/var/games/${PN}/${PN}.scores || die - - fperms 660 /var/games/${PN}/${PN}.scores - fowners -R root:gamestat /var/games/${PN} - fperms g+s /usr/bin/${PN} -} |