1 |
commit: ac1198365fed3a4faf25883ab730c392e34abdbe |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 12:01:27 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 23:19:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac119836 |
7 |
|
8 |
games-arcade/rockdodger: drop 0.6.0a-r2 |
9 |
|
10 |
This revision was unusable. |
11 |
|
12 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
13 |
|
14 |
games-arcade/rockdodger/Manifest | 1 - |
15 |
games-arcade/rockdodger/files/0.6.0a-sec.patch | 20 ------- |
16 |
.../rockdodger/files/rockdodger-0.6.0a-gcc41.patch | 18 ------ |
17 |
.../files/rockdodger-0.6.0a-underlink.patch | 11 ---- |
18 |
.../rockdodger/rockdodger-0.6.0a-r2.ebuild | 70 ---------------------- |
19 |
5 files changed, 120 deletions(-) |
20 |
|
21 |
diff --git a/games-arcade/rockdodger/Manifest b/games-arcade/rockdodger/Manifest |
22 |
index 11d90d34984..6cdc22adfe8 100644 |
23 |
--- a/games-arcade/rockdodger/Manifest |
24 |
+++ b/games-arcade/rockdodger/Manifest |
25 |
@@ -1,2 +1 @@ |
26 |
-DIST rockdodger-0.6.0a.tar.gz 410223 BLAKE2B 5ccda4400468d6a7209adfdad3045773bf31581e34dfb77bff7d314ca9d9fa18e6c5a24996259782c002cf8ea611f92388c9ca46be4e0c7492a526421e8e8163 SHA512 d517cc844df21e8772b13d0226841a64bede0cc2f5461fb83d313f49cd99192dcf6af4597e3d1f3e1c60f578437e355ce665e0288415da803a503fb12d8462eb |
27 |
DIST rockdodger-1.1.4.tar.gz 1026184 BLAKE2B 08885155508adb878908d3cf9201c98cffded37dea051cb9a668ddb63891a19369648964f3f19d94b72a08626d3d1dea73686b190898d8b59c3b91805e08677c SHA512 542a8b5b1a9dc7fc8e61d3183c14c3f45952614f2e00f71383dfd42ddcf275cbc14520797d4555f2f19f354a4f1819d8527a587598c9dbc06a75b21643a8b019 |
28 |
|
29 |
diff --git a/games-arcade/rockdodger/files/0.6.0a-sec.patch b/games-arcade/rockdodger/files/0.6.0a-sec.patch |
30 |
deleted file mode 100644 |
31 |
index b7af24f160a..00000000000 |
32 |
--- a/games-arcade/rockdodger/files/0.6.0a-sec.patch |
33 |
+++ /dev/null |
34 |
@@ -1,20 +0,0 @@ |
35 |
---- a/main.c |
36 |
-+++ b/main.c |
37 |
-@@ -459,7 +459,7 @@ FILE *hs_fopen(char *mode) {/*{{{*/ |
38 |
- else { |
39 |
- char s[1024]; |
40 |
- umask(0177); |
41 |
-- sprintf(s,"%s/.rockdodger_high",getenv("HOME")); |
42 |
-+ snprintf(s,1024,"%s/.rockdodger_high",getenv("HOME")); |
43 |
- if (f=fopen(s,mode)) { |
44 |
- umask(mask); |
45 |
- return f; |
46 |
-@@ -478,7 +478,7 @@ void read_high_score_table() {/*{{{*/ |
47 |
- for (i=0; i<8; i++) { |
48 |
- char s[1024]; |
49 |
- int highscore; |
50 |
-- if (fscanf (f, "%d %[^\n]", &highscore, s)!=2) |
51 |
-+ if (fscanf (f, "%d %1023[^\n]", &highscore, s)!=2) |
52 |
- break; |
53 |
- if (high[i].allocated) |
54 |
- free(high[i].name); |
55 |
|
56 |
diff --git a/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch b/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch |
57 |
deleted file mode 100644 |
58 |
index f6979752097..00000000000 |
59 |
--- a/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch |
60 |
+++ /dev/null |
61 |
@@ -1,18 +0,0 @@ |
62 |
---- a/main.c |
63 |
-+++ b/main.c |
64 |
-@@ -206,7 +206,6 @@ |
65 |
- struct bangdots bdot[MAX_BANG_DOTS], *bdotptr=bdot; |
66 |
- struct spacedot sdot[MAX_SPACE_DOTS]; |
67 |
- |
68 |
--struct greeble greeb[MAX_GREEBLES]; |
69 |
- struct greeble { |
70 |
- int active; |
71 |
- float x,y; // When landed, these represent an offset from the host rock |
72 |
-@@ -214,6 +213,7 @@ |
73 |
- int landed; |
74 |
- int boredom; // Goes up while landed |
75 |
- }; |
76 |
-+struct greeble greeb[MAX_GREEBLES]; |
77 |
- // }}} |
78 |
- |
79 |
- void init_greeblies() { |
80 |
|
81 |
diff --git a/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch b/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch |
82 |
deleted file mode 100644 |
83 |
index 3ee7d9c5cc7..00000000000 |
84 |
--- a/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch |
85 |
+++ /dev/null |
86 |
@@ -1,11 +0,0 @@ |
87 |
---- a/Makefile |
88 |
-+++ b/Makefile |
89 |
-@@ -27,7 +27,7 @@ |
90 |
- #SOUNDLIBRARIES= |
91 |
- SOUNDLIBRARIES=-lSDL_mixer |
92 |
- |
93 |
--LIBRARIES=`sdl-config --libs` -lSDL_image $(SOUNDLIBRARIES) |
94 |
-+LIBRARIES=`sdl-config --libs` -lSDL_image $(SOUNDLIBRARIES) -lm |
95 |
- |
96 |
- all: $(EXENAME) |
97 |
- |
98 |
|
99 |
diff --git a/games-arcade/rockdodger/rockdodger-0.6.0a-r2.ebuild b/games-arcade/rockdodger/rockdodger-0.6.0a-r2.ebuild |
100 |
deleted file mode 100644 |
101 |
index d446d78f27b..00000000000 |
102 |
--- a/games-arcade/rockdodger/rockdodger-0.6.0a-r2.ebuild |
103 |
+++ /dev/null |
104 |
@@ -1,70 +0,0 @@ |
105 |
-# Copyright 1999-2021 Gentoo Authors |
106 |
-# Distributed under the terms of the GNU General Public License v2 |
107 |
- |
108 |
-EAPI=7 |
109 |
- |
110 |
-inherit desktop toolchain-funcs |
111 |
- |
112 |
-DESCRIPTION="Dodge the rocks for as long as possible until you die" |
113 |
-HOMEPAGE="http://spacerocks.sourceforge.net/" |
114 |
-SRC_URI="mirror://sourceforge/spacerocks/${P}.tar.gz" |
115 |
- |
116 |
-LICENSE="GPL-2" |
117 |
-SLOT="0" |
118 |
-KEYWORDS="~amd64 ~x86" |
119 |
- |
120 |
-DEPEND=" |
121 |
- media-libs/libsdl[sound,video] |
122 |
- media-libs/sdl-image[png] |
123 |
- media-libs/sdl-mixer |
124 |
-" |
125 |
-RDEPEND=" |
126 |
- ${DEPEND} |
127 |
- acct-group/gamestat |
128 |
-" |
129 |
- |
130 |
-PATCHES=( |
131 |
- "${FILESDIR}"/${PV}-sec.patch |
132 |
- "${FILESDIR}"/${P}-gcc41.patch |
133 |
- "${FILESDIR}"/${P}-underlink.patch |
134 |
-) |
135 |
- |
136 |
-src_prepare() { |
137 |
- default |
138 |
- |
139 |
- # Modify highscores & data directory and add our CFLAGS to the Makefile |
140 |
- sed -i \ |
141 |
- -e "s:\./data:/var/games/${PN}:" \ |
142 |
- -e "s:/usr/share/rockdodger/\.highscore:/var/games/${PN}/rockdodger.scores:" \ |
143 |
- -e 's:umask(0111):umask(0117):' \ |
144 |
- main.c || die " sed main.c failed" |
145 |
- |
146 |
- sed -i \ |
147 |
- -e "s:-g:${CFLAGS}:" \ |
148 |
- -e 's:cc:${CC}:' \ |
149 |
- -e '/-o/s:\$+:$(LDFLAGS) $+:' \ |
150 |
- Makefile || die "sed Makefile failed" |
151 |
- |
152 |
- # The 512 chunksize makes the music skip |
153 |
- sed -i -e "s:512:1024:" sound.c || die "sed sound.c failed" |
154 |
-} |
155 |
- |
156 |
-src_configure() { |
157 |
- tc-export CC |
158 |
-} |
159 |
- |
160 |
-src_install() { |
161 |
- dobin ${PN} |
162 |
- insinto /usr/share/${PN} |
163 |
- doins data/* |
164 |
- |
165 |
- newicon spacerocks.xpm ${PN}.xpm |
166 |
- make_desktop_entry ${PN} "Rock Dodger" ${PN} |
167 |
- |
168 |
- dodir /var/games/${PN} |
169 |
- touch "${ED}"/var/games/${PN}/${PN}.scores || die |
170 |
- |
171 |
- fperms 660 /var/games/${PN}/${PN}.scores |
172 |
- fowners -R root:gamestat /var/games/${PN} |
173 |
- fperms g+s /usr/bin/${PN} |
174 |
-} |