pkgsrc-Bugs archive

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

pkg/33687: devel/glib2 fails to build for amd64/current+gcc4 (+fix)



        Note: There was a bad value `' for the field `Confidential'.
        It was set to the default value of `yes'.

>Number:         33687
>Category:       pkg
>Synopsis:       devel/glib2 fails to build for amd64/current+gcc4 (+fix)
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 10 12:30:00 +0000 2006
>Originator:     martijnb%atlas.ivp6.stack.nl@localhost
>Release:        NetBSD 3.99.21
>Organization:
        
>Environment:
        
        
System: NetBSD atlas.ipv6.stack.nl 3.99.21 NetBSD 3.99.21 (ATLAS) #0: Sat Jun 
10 12:31:01 CEST 2006 
martijnb%atlas.ipv6.stack.nl@localhost:/usr/obj/sys/arch/amd64/compile/ATLAS 
amd64
Architecture: x86_64
Machine: amd64
>Description:
        devel/glib2 fails to build for amd64/current when using gcc4. 

        Culprit is -once again- a function declaration which doesn't match the
definition in a different file. This particular function has acted up before
(pkg/32987), but apperently the fix I supplied there only works for gcc3..
>How-To-Repeat:
        Try to build devel/glib2 on an amd64/current system using gcc4
>Fix:

The following patch has been tested with gcc3 and gcc4.

--- glib/gconvert.c.orig        2006-01-16 15:54:45.000000000 +0100
+++ glib/gconvert.c
@@ -92,7 +92,7 @@ try_to_aliases (const char **to_aliases,
   return FALSE;
 }
 
-extern const char **_g_charset_get_aliases (const char *canonical_name) 
G_GNUC_INTERNAL;
+extern const char ** G_GNUC_INTERNAL _g_charset_get_aliases (const char 
*canonical_name);
 
 /**
  * g_iconv_open:

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index