Subject: pkg/33908: devel/glib2 fails to build on current/amd64 (+fix)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <martijnb@atlas.ipv6.stack.nl>
List: pkgsrc-bugs
Date: 07/03/2006 20:20:00
>Number:         33908
>Category:       pkg
>Synopsis:       devel/glib2 fails to build on current/amd64 (+fix)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 03 20:20:00 +0000 2006
>Originator:     martijnb@atlas.ipv6.stack.nl
>Release:        NetBSD 3.99.21
>Organization:
	
>Environment:
	
	
System: NetBSD atlas.ipv6.stack.nl 3.99.21 NetBSD 3.99.21 (ATLAS) #2: Sat Jul 1 21:27:05 CEST 2006 root@:/usr/obj/sys/arch/amd64/compile/ATLAS amd64
Architecture: x86_64
Machine: amd64
>Description:
	devel/glib2 fails to compile due to linker errors; pkg/32987 revisited.
This was fixed in glib-2.10.1, but 2.10.3 seems to be a regression in this
respect.

>How-To-Repeat:
	Try to build glib2 on an amd64 machine running current
>Fix:

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/glib2/distinfo,v
retrieving revision 1.62
diff -r1.62 distinfo
11a12
> SHA1 (patch-ag) = dfc197425601c723f20b1fcbe76833f4c0e409e9
Index: patches/patch-ag
===================================================================
RCS file: patches/patch-ag
diff -N patches/patch-ag
0a1,13
> $NetBSD$
> 
> --- 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: