mr_bones_ 14/03/18 06:33:58
Added: maelstrom-3.0.6-security.patch
maelstrom-3.0.6-gcc34.patch
maelstrom-3.0.6-warnings.patch
Log:
EAPI=5; update HOMEPAGE (bug #499700); warnings patch
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path
1.3 games-action/maelstrom/files/maelstrom-3.0.6-security.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/maelstrom/files/maelstrom-3.0.6-security.patch?rev=1.3&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/maelstrom/files/maelstrom-3.0.6-security.patch?rev=1.3&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/maelstrom/files/maelstrom-3.0.6-security.patch?r1=1.2&r2=1.3
1.1 games-action/maelstrom/files/maelstrom-3.0.6-gcc34.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/maelstrom/files/maelstrom-3.0.6-gcc34.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/maelstrom/files/maelstrom-3.0.6-gcc34.patch?rev=1.1&content-type=text/plain
Index: maelstrom-3.0.6-gcc34.patch
===================================================================
diff -ur Maelstrom-3.0.6-orig/buttonlist.h Maelstrom-3.0.6/buttonlist.h
--- Maelstrom-3.0.6-orig/buttonlist.h 2004-08-28 01:43:55.867378220 -0400
+++ Maelstrom-3.0.6/buttonlist.h 2004-08-28 01:44:23.700062593 -0400
@@ -16,7 +16,7 @@
void Add_Button(Uint16 x, Uint16 y, Uint16 width, Uint16 height,
void (*callback)(void)) {
- struct button *belem;
+ button *belem;
for ( belem=&button_list; belem->next; belem=belem->next );
belem->next = new button;
@@ -30,7 +30,7 @@
}
void Activate_Button(Uint16 x, Uint16 y) {
- struct button *belem;
+ button *belem;
for ( belem=button_list.next; belem; belem=belem->next ) {
if ( (x >= belem->x1) && (x <= belem->x2) &&
@@ -42,7 +42,7 @@
}
void Delete_Buttons(void) {
- struct button *belem, *btemp;
+ button *belem, *btemp;
for ( belem=button_list.next; belem; ) {
btemp = belem;
1.1 games-action/maelstrom/files/maelstrom-3.0.6-warnings.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/maelstrom/files/maelstrom-3.0.6-warnings.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/maelstrom/files/maelstrom-3.0.6-warnings.patch?rev=1.1&content-type=text/plain
Index: maelstrom-3.0.6-warnings.patch
===================================================================
--- Maelstrom-netd.c.orig 2014-03-18 01:00:28.408099526 -0400
+++ Maelstrom-netd.c 2014-03-18 01:01:29.892142782 -0400
@@ -1,7 +1,9 @@
/* Here we go... */
+#include <stdlib.h>
#include <stdio.h>
+#include <time.h>
#include <string.h>
#include <signal.h>
#include <errno.h>
@@ -9,6 +11,7 @@
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>