r8511 - in packages/trunk/kanatest/debian: . patches

Evgeni Golov sargentd-guest at alioth.debian.org
Mon Dec 15 19:35:50 UTC 2008


Author: sargentd-guest
Date: 2008-12-15 19:35:50 +0000 (Mon, 15 Dec 2008)
New Revision: 8511

Added:
   packages/trunk/kanatest/debian/patches/001_PATH_MAX_fix.diff
Modified:
   packages/trunk/kanatest/debian/changelog
   packages/trunk/kanatest/debian/patches/series
Log:
Hurd does not have PATH_MAX, fix FTBFS by defining it.


Modified: packages/trunk/kanatest/debian/changelog
===================================================================
--- packages/trunk/kanatest/debian/changelog	2008-12-15 09:29:39 UTC (rev 8510)
+++ packages/trunk/kanatest/debian/changelog	2008-12-15 19:35:50 UTC (rev 8511)
@@ -20,8 +20,10 @@
     + Use the machine-readable format.
   * debian/control:
     + Add ${misc:Depends} to Depends.
+  * debian/patches/001_PATH_MAX_fix.diff:
+    + Hurd does not have PATH_MAX, fix FTBFS by defining it.
 
- -- Evgeni Golov <sargentd at die-welt.net>  Mon, 15 Dec 2008 10:17:25 +0100
+ -- Evgeni Golov <sargentd at die-welt.net>  Mon, 15 Dec 2008 20:34:57 +0100
 
 kanatest (0.4.4-2) unstable; urgency=low
 

Added: packages/trunk/kanatest/debian/patches/001_PATH_MAX_fix.diff
===================================================================
--- packages/trunk/kanatest/debian/patches/001_PATH_MAX_fix.diff	                        (rev 0)
+++ packages/trunk/kanatest/debian/patches/001_PATH_MAX_fix.diff	2008-12-15 19:35:50 UTC (rev 8511)
@@ -0,0 +1,38 @@
+From: Evgeni Golov <sargentd at die-welt.net>
+Date: 2008-12-15 20:14:24 +0100
+Subject: Hurd does not have PATH_MAX
+License: GPL-2+
+
+There is no PATH_MAX on Hurd (see [1]), thus define it to something sane.
+
+[1] http://www.debian.org/ports/hurd/hurd-devel-debian
+
+Index: kanatest-0.4.6/src/gui_utils.h
+===================================================================
+--- kanatest-0.4.6.orig/src/gui_utils.h	2008-12-15 19:13:45.000000000 +0000
++++ kanatest-0.4.6/src/gui_utils.h	2008-12-15 19:14:24.000000000 +0000
+@@ -37,5 +37,9 @@
+ void        gui_url_insert_link                 (GSList *links_list, gint *link_index, GtkWidget *textview, GtkTextIter *iter, gchar *color, gint font_size, gchar *text, gboolean center, GUI *appGUI);
+ void        gui_url_remove_links                (GSList *links_list, gint *link_index);
+ 
++#ifndef PATH_MAX
++ #define PATH_MAX 4096
++#endif
++
+ #endif /* _GUI_UTILS_H */
+ 
+Index: kanatest-0.4.6/src/prefs.h
+===================================================================
+--- kanatest-0.4.6.orig/src/prefs.h	2008-12-15 19:19:53.000000000 +0000
++++ kanatest-0.4.6/src/prefs.h	2008-12-15 19:20:30.000000000 +0000
+@@ -34,6 +34,10 @@
+ #define MAX_COLORNAME_LEN   64
+ #define MAX_BUFFER_SIZE     1024
+ 
++#ifndef PATH_MAX
++ #define PATH_MAX 4096
++#endif
++
+ struct kanatest_prefs
+ {
+     gint        window_x;

Modified: packages/trunk/kanatest/debian/patches/series
===================================================================
--- packages/trunk/kanatest/debian/patches/series	2008-12-15 09:29:39 UTC (rev 8510)
+++ packages/trunk/kanatest/debian/patches/series	2008-12-15 19:35:50 UTC (rev 8511)
@@ -1 +1 @@
-#
+001_PATH_MAX_fix.diff




More information about the Pkg-games-commits mailing list