addedd gcc-4.4.0
[dottout.git] / dev-libs / glib / files / glib-2.12.12-fbsd.patch
blobbba632964edea545f52ac73619ec493663b2d07a
1 diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN glib-2.12.12.orig/gmodule/gmodule-dl.c glib-2.12.12/gmodule/gmodule-dl.c
2 --- glib-2.12.12.orig/gmodule/gmodule-dl.c 2007-05-01 19:12:40.000000000 -0400
3 +++ glib-2.12.12/gmodule/gmodule-dl.c 2007-07-05 20:10:51.000000000 -0400
4 @@ -106,6 +106,7 @@ _g_module_open (const gchar *file_name,
5 static gpointer
6 _g_module_self (void)
8 +#ifndef __FreeBSD__
9 gpointer handle;
11 /* to query symbols from the program itself, special link options
12 @@ -117,6 +118,9 @@ _g_module_self (void)
13 g_module_set_error (fetch_dlerror (TRUE));
15 return handle;
16 +#else
17 + return RTLD_DEFAULT;
18 +#endif
21 static void