File Maelstrom-ia64.patch of Package Maelstrom

--- Maelstrom-netd.c
+++ Maelstrom-netd.c
@@ -8,8 +8,11 @@
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <arpa/inet.h>
 #include <netdb.h>
 #include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
 
 /* We wait in a loop for players to connect and tell us how many people
    are playing.  Then, once all players have connected, then we broadcast
--- screenlib/SDL_FrameBuf.cpp
+++ screenlib/SDL_FrameBuf.cpp
@@ -918,8 +918,8 @@
 			for ( i=0; i<dirtymaplen; ++i ) {
 				if ( dirtymap[i] != NULL ) {
 					dirtymap[i] = (SDL_Rect *)(
-					((int)dirtymap[i]-(int)updatelist) +
-								(int)newlist
+					((unsigned long)dirtymap[i]-(unsigned long)updatelist) +
+								(unsigned long)newlist
 					);
 				}
 			}
openSUSE Build Service is sponsored by