[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] lang/vala: fix compile error in scanner.c



>Submitter-Id:	current-users
>Originator:	Marcin Cieslak
>Organization:	http://saper.info
>Confidential:	no 
>Synopsis:	[PATCH] lang/vala: fix compile error in scanner.c
>Severity:	serious
>Priority:	medium
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 7.1-STABLE amd64
>Environment:
System: FreeBSD radziecki.saper.info 7.1-STABLE FreeBSD 7.1-STABLE #2 r187968M: Tue Feb 17 10:52:35 CET
>Description:

vala 0.4.0_1 compilation fails for me in gobject-introspection with:

cc -DHAVE_CONFIG_H -I. -I..  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include    -I/usr/local  -O2 -fno-strict-aliasing -pipe -march=nocona -MT scanner.o -MD -MP -MF .deps/scanner.Tpo -c -o scanner.o scanner.c
scanner.c: In function 'g_igenerator_start_preprocessor':
scanner.c:1606: error: 'SIGKILL' undeclared (first use in this function)
scanner.c:1606: error: (Each undeclared identifier is reported only once
scanner.c:1606: error: for each function it appears in.)
*** Error code 1

Maybe this issue is also relevant to the upcoming 0.5.6 version?
http://www.freebsd.org/cgi/query-pr.cgi?pr=131075

Added file(s):
- files/patch-gobject-introspection-scanner.c

Port maintainer (gnome_(_at_)_FreeBSD_(_dot_)_org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- vala-0.4.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/vala.orig/files/patch-gobject-introspection-scanner.c /usr/ports/lang/vala/files/patch-gobject-introspection-scanner.c
--- /usr/ports/lang/vala.orig/files/patch-gobject-introspection-scanner.c	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/lang/vala/files/patch-gobject-introspection-scanner.c	2009-03-07 23:01:02.000000000 +0100
@@ -0,0 +1,10 @@
+--- gobject-introspection/scanner.c.orig	2009-03-07 22:58:34.254250638 +0100
++++ gobject-introspection/scanner.c	2009-03-07 23:00:04.808622219 +0100
+@@ -29,6 +29,7 @@
+ #include <glib.h>
+ #include <glib/gstdio.h>
+ #include <glib-object.h>
++#include <signal.h>
+ #include <sys/wait.h> /* waitpid */
+ #include <gmodule.h>
+ #include "scanner.h"
--- vala-0.4.0_1.patch ends here ---

_______________________________________________
freebsd-gnome_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
To unsubscribe, send any mail to "freebsd-gnome-unsubscribe_(_at_)_freebsd_(_dot_)_org"