Bug#312377: quick fix for this bug

Michael Banck Michael Banck <mbanck@debian.org>, 312377@bugs.debian.org
Wed, 8 Jun 2005 01:33:28 +0200


--f2QGlHpHGjS2mn6Y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

tags 312377 +patch
thanks

Attached is a quick fix which makes gnome-program build fine on
hurd-i386.  Please apply this as soon as possible, in order for the
GNOME porting to continue, libgnome is pretty deep down the depency
chain.

Please do not forward this upstream yet, we will try to come up with a
better patch eventually.


thanks,

Michael

-- 
Michael Banck
Debian Developer
mbanck@debian.org
http://www.advogato.org/person/mbanck/diary.html

--f2QGlHpHGjS2mn6Y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libgnome_path_max.patch"

--- libgnome-2.10.0/libgnome/gnome-program.c.orig	2005-06-08 00:56:37.044243608 +0200
+++ libgnome-2.10.0/libgnome/gnome-program.c	2005-06-08 00:57:11.757966320 +0200
@@ -54,6 +54,10 @@
 #include "gnome-i18n.h"
 #include "gnome-url.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 struct _GnomeProgramPrivate {
     enum {
 	APP_UNINIT=0,

--f2QGlHpHGjS2mn6Y--