Author: lubos-guest
Date: 2011-11-28 12:23:15 +0000 (Mon, 28 Nov 2011)
New Revision: 12874

Added:
   packages/trunk/freegish/debian/patches/ftbfs_freebsd_hurd.patch
Modified:
   packages/trunk/freegish/debian/changelog
   packages/trunk/freegish/debian/patches/series
Log:
Fix FTBFS on kFreeBSD and Hurd

Modified: packages/trunk/freegish/debian/changelog
===================================================================
--- packages/trunk/freegish/debian/changelog    2011-11-28 12:06:51 UTC (rev 
12873)
+++ packages/trunk/freegish/debian/changelog    2011-11-28 12:23:15 UTC (rev 
12874)
@@ -1,5 +1,6 @@
 freegish (1.53+git20101011+dfsg-2) UNRELEASED; urgency=low
 
+  * Fix FTBFS on kFreeBSD and Hurd.
   * Changed description string to make lintian happy.
   * Added Recommends freegish to freegish-data.
   * Bump Standards Version to 3.9.2. (No changes needed).

Added: packages/trunk/freegish/debian/patches/ftbfs_freebsd_hurd.patch
===================================================================
--- packages/trunk/freegish/debian/patches/ftbfs_freebsd_hurd.patch             
                (rev 0)
+++ packages/trunk/freegish/debian/patches/ftbfs_freebsd_hurd.patch     
2011-11-28 12:23:15 UTC (rev 12874)
@@ -0,0 +1,36 @@
+fix FTBFS for kFreeBSD and Hurd
+Index: freegish-1.53+git20101011+dfsg/game/socket.c
+===================================================================
+--- freegish-1.53+git20101011+dfsg.orig/game/socket.c  2011-04-01 
12:56:46.000000000 +0200
++++ freegish-1.53+git20101011+dfsg/game/socket.c       2011-11-28 
13:11:55.336458392 +0100
+@@ -25,7 +25,7 @@
+   #include <SDL.h>
+   #include <windows.h>
+ #endif
+-#ifdef LINUX
++#if defined(LINUX) || defined(__FreeBSD_kernel__) || defined(__GNU__)
+   #include <SDL/SDL.h>
+   #include <stdlib.h>
+   #include <string.h>
+@@ -75,7 +75,7 @@
+   ICStop(inst);
+   */
+ #endif
+-#ifdef LINUX
++#if defined(LINUX) || defined(__FreeBSD_kernel__) || defined(__GNU__)
+   char command[100] = "xdg-open http://";;
+   strcat(command, webpagename);
+   SDL_WM_IconifyWindow();
+Index: freegish-1.53+git20101011+dfsg/video/opengl.h
+===================================================================
+--- freegish-1.53+git20101011+dfsg.orig/video/opengl.h 2011-04-01 
12:56:47.000000000 +0200
++++ freegish-1.53+git20101011+dfsg/video/opengl.h      2011-11-28 
13:12:15.397408664 +0100
+@@ -37,7 +37,7 @@
+ #include "../video/glext.h"
+ #endif
+ 
+-#ifdef LINUX
++#if defined(LINUX) || defined(__FreeBSD_kernel__) || defined(__GNU__)
+ #include <GL/gl.h>
+ #include <GL/glext.h>
+ #endif

Modified: packages/trunk/freegish/debian/patches/series
===================================================================
--- packages/trunk/freegish/debian/patches/series       2011-11-28 12:06:51 UTC 
(rev 12873)
+++ packages/trunk/freegish/debian/patches/series       2011-11-28 12:23:15 UTC 
(rev 12874)
@@ -2,3 +2,4 @@
 fix_title_and_icon_text.patch
 rename_config_dir.patch
 custom_level_loading.patch
+ftbfs_freebsd_hurd.patch


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to