diff options
author | marcus <marcus@FreeBSD.org> | 2009-04-10 13:56:28 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-04-10 13:56:28 +0800 |
commit | 06fff123f04648e578283b13f71108c1671ae751 (patch) | |
tree | e04217d1bf9d69846902902125c156a81eae643b /devel/bug-buddy/files | |
parent | f488e4c3be8f7b25040ce1258e89a5550fb33bf8 (diff) | |
download | freebsd-ports-graphics-06fff123f04648e578283b13f71108c1671ae751.tar.gz freebsd-ports-graphics-06fff123f04648e578283b13f71108c1671ae751.tar.zst freebsd-ports-graphics-06fff123f04648e578283b13f71108c1671ae751.zip |
Presenting GNOME 2.26 for FreeBSD. See
http://library.gnome.org/misc/release-notes/2.26/ for a list of what's new.
On the FreeBSD front, we introduced a port of libxul 1.9 as an alternative
for Firefox 2.0 as a Gecko provider. Almost all of the Gecko consumers
can make use of this provider by setting:
WITH_GECKO=libxul
The GNOME 2.26 port was done by ahze, kwm, marcus, and mezz with
contributions by Joseph S. Atkinson, Peter Wemm, Eric L. Chen,
Martin Matuska, Craig Butler, and Pawel Worach.
Diffstat (limited to 'devel/bug-buddy/files')
-rw-r--r-- | devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc b/devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc index 801be10640b..7007a9101cb 100644 --- a/devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc +++ b/devel/bug-buddy/files/patch-gnome-breakpad_gnome-breakpad.cc @@ -1,6 +1,6 @@ ---- gnome-breakpad/gnome-breakpad.cc.orig 2007-08-16 13:55:38.000000000 -0400 -+++ gnome-breakpad/gnome-breakpad.cc 2007-09-02 19:21:10.000000000 -0400 -@@ -6,8 +6,14 @@ +--- gnome-breakpad/gnome-breakpad.cc.orig 2009-02-16 15:24:48.000000000 +0100 ++++ gnome-breakpad/gnome-breakpad.cc 2009-02-22 16:25:50.000000000 +0100 +@@ -25,8 +25,14 @@ #include <cassert> #include <cstring> @@ -15,15 +15,15 @@ #include <sys/types.h> #include <sys/stat.h> -@@ -114,6 +120,7 @@ find_in_debug_path (const char *filename +@@ -264,6 +270,7 @@ find_in_debug_path (const char *filename } - + +#if !defined(__FreeBSD__) || __FreeBSD_version > 700024 static gboolean elf_has_debug_symbols (const char *filename) { -@@ -166,7 +173,7 @@ elf_has_debug_symbols (const char *filen +@@ -316,7 +323,7 @@ elf_has_debug_symbols (const char *filen elf_end (elf); return false; } @@ -32,21 +32,24 @@ -@@ -269,9 +276,17 @@ check_if_gdb (void *callback_context) +@@ -429,11 +436,18 @@ check_if_gdb () + _exit (1); _exit(0); } - -+#if !defined(__FreeBSD__) || __FreeBSD_version > 700024 - memset(mypath, 0, sizeof(mypath)); -+#ifndef __FreeBSD__ - readlink ("/proc/self/exe", mypath, sizeof(mypath)); +- ++ ++#if !defined(__FreeBSD__) + mypath = g_file_read_link ("/proc/self/exe", NULL); +#else -+ readlink ("/proc/curproc/file", mypath, sizeof(mypath)); ++ mypath = g_file_read_link ("/proc/curproc/file", NULL); +#endif - has_debug_symbols = elf_has_debug_symbols (mypath); -+#else -+ has_debug_symbols = TRUE; + if (mypath) ++#if !defined(__FreeBSD__) || __FreeBSD_version > 700024 + has_debug_symbols = elf_has_debug_symbols (mypath); +- ++#else ++ has_debug_symbols = TRUE; +#endif - + g_free (mypath); if (bugbuddy && gdb && has_debug_symbols) { |