mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Apply a patch which may make GLib work on BeOS again. (#309157, Kian
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.
This commit is contained in:
parent
c888581c43
commit
b78a0792a4
13
ChangeLog
13
ChangeLog
@ -1,5 +1,18 @@
|
||||
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>
|
||||
|
@ -1,5 +1,18 @@
|
||||
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>
|
||||
|
@ -1,5 +1,18 @@
|
||||
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>
|
||||
|
@ -1,5 +1,18 @@
|
||||
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>
|
||||
|
@ -1106,7 +1106,7 @@ fi
|
||||
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],
|
||||
@ -1705,7 +1705,7 @@ fi
|
||||
|
||||
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"
|
||||
;;
|
||||
*)
|
||||
|
@ -157,7 +157,7 @@ g_on_error_query (const gchar *prg_name)
|
||||
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 };
|
||||
|
@ -68,7 +68,8 @@
|
||||
#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
|
||||
|
@ -43,7 +43,7 @@
|
||||
|
||||
#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
|
||||
|
||||
|
@ -374,7 +374,7 @@ g_find_program_in_path (const gchar *program)
|
||||
}
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user