2005-06-30 Matthias Clasen <mclasen@redhat.com>
+ Apply a patch which may make GLib work on BeOS again.
+ (#309157, Kian Duffy)
+
+ * glib/gmain.c: Update the BeOS includes.
+
+ * glib/gstdio.c:
+ * glib/gutils.c (g_find_program_in_path):
+ * glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX
+ implementation on BeOS, as well.
+
+ * configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even
+ on BeOS.
+
* NEWS: Updates
2005-06-26 Tor Lillqvist <tml@novell.com>
2005-06-30 Matthias Clasen <mclasen@redhat.com>
+ Apply a patch which may make GLib work on BeOS again.
+ (#309157, Kian Duffy)
+
+ * glib/gmain.c: Update the BeOS includes.
+
+ * glib/gstdio.c:
+ * glib/gutils.c (g_find_program_in_path):
+ * glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX
+ implementation on BeOS, as well.
+
+ * configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even
+ on BeOS.
+
* NEWS: Updates
2005-06-26 Tor Lillqvist <tml@novell.com>
2005-06-30 Matthias Clasen <mclasen@redhat.com>
+ Apply a patch which may make GLib work on BeOS again.
+ (#309157, Kian Duffy)
+
+ * glib/gmain.c: Update the BeOS includes.
+
+ * glib/gstdio.c:
+ * glib/gutils.c (g_find_program_in_path):
+ * glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX
+ implementation on BeOS, as well.
+
+ * configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even
+ on BeOS.
+
* NEWS: Updates
2005-06-26 Tor Lillqvist <tml@novell.com>
2005-06-30 Matthias Clasen <mclasen@redhat.com>
+ Apply a patch which may make GLib work on BeOS again.
+ (#309157, Kian Duffy)
+
+ * glib/gmain.c: Update the BeOS includes.
+
+ * glib/gstdio.c:
+ * glib/gutils.c (g_find_program_in_path):
+ * glib/gbacktrace.c (g_on_error_stack_trace): Use the UNIX
+ implementation on BeOS, as well.
+
+ * configure.in: Don't put glib 1.0 into G_MODULE_LIBS, even
+ on BeOS.
+
* NEWS: Updates
2005-06-26 Tor Lillqvist <tml@novell.com>
dnl *** load_image (BeOS)
if test -z "$G_MODULE_IMPL" && test "x$glib_native_beos" = "xyes"; then
AC_CHECK_LIB(root, load_image,
- [G_MODULE_LIBS="-lbe -lroot -lglib"
+ [G_MODULE_LIBS="-lbe -lroot -lglib-2.0 "
G_MODULE_LIBS_EXTRA="-L\$(top_builddir_full)/.libs"
G_MODULE_PLUGIN_LIBS="-L\$(top_builddir_full)/gmodule/.libs -lgmodule"
G_MODULE_IMPL=G_MODULE_IMPL_BEOS],
case $host in
*-*-beos*)
- G_THREAD_LIBS="-lbe -lroot -lglib "
+ G_THREAD_LIBS="-lbe -lroot -lglib-2.0 "
G_THREAD_LIBS_EXTRA="-L\$(top_builddir_full)/.libs"
;;
*)
void
g_on_error_stack_trace (const gchar *prg_name)
{
-#ifdef G_OS_UNIX
+#if defined(G_OS_UNIX) || defined(G_OS_BEOS)
pid_t pid;
gchar buf[16];
gchar *args[4] = { "gdb", NULL, NULL, NULL };
#endif /* G_OS_WIN32 */
#ifdef G_OS_BEOS
-#include <net/socket.h>
+#include <sys/socket.h>
+#include <sys/wait.h>
#endif /* G_OS_BEOS */
#ifdef G_OS_UNIX
#include "galias.h"
-#if !defined (G_OS_UNIX) && !defined (G_OS_WIN32)
+#if !defined (G_OS_UNIX) && !defined (G_OS_WIN32) && !defined (G_OS_BEOS)
#error Please port this to your operating system
#endif
}
path = g_getenv ("PATH");
-#ifdef G_OS_UNIX
+#if defined(G_OS_UNIX) || defined(G_OS_BEOS)
if (path == NULL)
{
/* There is no `PATH' in the environment. The default