Author: jseidel-guest
Date: 2007-09-19 06:42:54 +0000 (Wed, 19 Sep 2007)
New Revision: 4240

Modified:
   packages/trunk/hex-a-hop/debian/changelog
   packages/trunk/hex-a-hop/debian/patches/proper_directories.patch
Log:
Fix compilation error on the Hurd where PATH_MAX is not defined.


Modified: packages/trunk/hex-a-hop/debian/changelog
===================================================================
--- packages/trunk/hex-a-hop/debian/changelog   2007-09-18 22:45:15 UTC (rev 
4239)
+++ packages/trunk/hex-a-hop/debian/changelog   2007-09-19 06:42:54 UTC (rev 
4240)
@@ -7,8 +7,9 @@
   * Added (partial) Japanese translation. Thanks to Kobayashi
     Noritada <[EMAIL PROTECTED]>. Closes: #443118
   * Added hints.html which gives tips how to solve some levels.
+  * Fix compilation error on the Hurd where PATH_MAX is not defined.
 
- -- Jens Seidel <[EMAIL PROTECTED]>  Sat, 15 Sep 2007 19:30:00 +0200
+ -- Jens Seidel <[EMAIL PROTECTED]>  Wed, 19 Sep 2007 9:30:00 +0200
 
 hex-a-hop (0.0.20070315-5) unstable; urgency=low
 

Modified: packages/trunk/hex-a-hop/debian/patches/proper_directories.patch
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/proper_directories.patch    
2007-09-18 22:45:15 UTC (rev 4239)
+++ packages/trunk/hex-a-hop/debian/patches/proper_directories.patch    
2007-09-19 06:42:54 UTC (rev 4240)
@@ -1,4 +1,5 @@
 # Copyright (C) 2007  Miriam Ruiz <[EMAIL PROTECTED]>
+# Copyright (C) 2007  Jens Seidel <[EMAIL PROTECTED]>
 # Licensed under the GPL, see /usr/share/common-licenses/GPL
 
 Index: hex-a-hop.svn/hex_puzzzle.cpp
@@ -19,7 +20,7 @@
  
  #ifdef EDIT
  //    #define MAP_EDIT_HACKS
-@@ -67,6 +73,11 @@
+@@ -67,6 +73,15 @@
  #include "packfile.h"
  #endif
  
@@ -28,10 +29,14 @@
 +#include <sys/stat.h>
 +#include <sys/types.h>
 +
++#ifndef PATH_MAX 
++#define PATH_MAX 4096 
++#endif 
++
  void RenderTile(bool reflect, int t, int x, int y, int cliplift=-1);
  
  int keyState[SDLK_LAST] = {0};
-@@ -76,15 +87,34 @@
+@@ -76,15 +91,34 @@
  //    printf("file_open( \"%s\", \"%s\" )\n", file, flags );
        extern String base_path;
        static String filename; // static to reduce memory alloc/free calls.
@@ -70,7 +75,7 @@
        {
                printf("Warning: unable to open file \"%s\" for %s\n", (const 
char*)filename, strchr(flags, 'r') ? "reading" : "writing");
        }
-@@ -4095,7 +4125,7 @@
+@@ -4095,7 +4129,7 @@
        }
        void LoadGraphics()
        {


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

Reply via email to