Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2009 22:08:51 GMT
From:      Marcin Cieslak <saper@SYSTEM.PL>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org, marcus@FreeBSD.org, romain@blogreen.org
Subject:   ports/132396: [PATCH] lang/vala: fix compile error in scanner.c
Message-ID:  <200903072208.n27M8p3i022364@radziecki.saper.info>
Resent-Message-ID: <200903072210.n27MA1V2015126@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132396
>Category:       ports
>Synopsis:       [PATCH] lang/vala: fix compile error in scanner.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 07 22:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Cieslak
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
http://saper.info
>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@FreeBSD.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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903072208.n27M8p3i022364>