pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/devel/glib2



On Mon, 31 May 2010 17:30:36 +0000
Matthias Drochner <drochner%netbsd.org@localhost> wrote:

> Log Message:
> update to 2.24.1
> this switches to the gnome-2.30 branch

NetBSD-5.99.29-amd64 failed to link libglib-2.0.so.0.2400.1:

ld: .libs/gthread.o: relocation R_X86_64_PC32 against symbol
`_g_atomic_thread_init' can not be used when making a shared object;
recompile with -fPIC

I'm not sure what the problem is, but here is a workaround:

--- glib/gthreadprivate.h.orig  2010-04-13 13:33:16.000000000 +0000
+++ glib/gthreadprivate.h
@@ -56,7 +56,7 @@ G_GNUC_INTERNAL void _g_messages_thread_
 G_GNUC_INTERNAL void _g_convert_thread_init (void);
 G_GNUC_INTERNAL void _g_rand_thread_init (void);
 G_GNUC_INTERNAL void _g_main_thread_init (void);
-G_GNUC_INTERNAL void _g_atomic_thread_init (void);
+void _g_atomic_thread_init (void);
 G_GNUC_INTERNAL void _g_utils_thread_init (void);
 G_GNUC_INTERNAL void _g_futex_thread_init (void);


Home | Main Index | Thread Index | Old Index