Your message dated Sat, 10 Oct 2009 17:19:18 +0200
with message-id <[email protected]>
and subject line Re: vala: FTBFS on Debian GNU/Hurd
has caused the Debian Bug report #530637,
regarding vala: FTBFS on Debian GNU/Hurd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
530637: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530637
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vala
Version: 0.7.2-1
Severity: normal

Hi,

Vala currently fails to build on Debian GNU/Hurd because of unconditional use of PATH_MAX. Here is a patch that fixes the issue.

Thank you,

Barry deFreese


diff -urN vala-0.7.2.orig/gobject-introspection/grealpath.h 
vala-0.7.2/gobject-introspection/grealpath.h
--- vala-0.7.2.orig/gobject-introspection/grealpath.h   2009-04-09 
16:01:10.000000000 -0400
+++ vala-0.7.2/gobject-introspection/grealpath.h        2009-05-25 
18:19:15.000000000 -0400
@@ -10,11 +10,23 @@
 static inline gchar*
 g_realpath (const char *path)
 {
+#if defined(__GLIBC__) || _POSIX_VERSION >= 200809L
+       char *buffer;
+       gchar *gret;
+       if ((buffer = realpath(path, NULL) != NULL)) {
+               gret = g_strdup(buffer);
+               free(buffer);
+               return gret;
+       } else {
+               return NULL;
+       }
+#else
        char buffer [PATH_MAX];
        if (realpath(path, buffer))
                return g_strdup(buffer);
        else
                return NULL;
+#endif
 }
 
 #endif

--- End Message ---
--- Begin Message ---
Version: 0.7.7-2

Hi,
I've fixed this a bit different in 0.7.7-2.

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


--- End Message ---

Reply via email to