aboutsummaryrefslogtreecommitdiff
path: root/devel/bug-buddy/files/patch-src_bug-buddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/bug-buddy/files/patch-src_bug-buddy.c')
-rw-r--r--devel/bug-buddy/files/patch-src_bug-buddy.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/bug-buddy/files/patch-src_bug-buddy.c b/devel/bug-buddy/files/patch-src_bug-buddy.c
new file mode 100644
index 000000000000..25c5a0a3f425
--- /dev/null
+++ b/devel/bug-buddy/files/patch-src_bug-buddy.c
@@ -0,0 +1,26 @@
+--- src/bug-buddy.c.orig 2010-09-27 16:25:15.000000000 +0200
++++ src/bug-buddy.c 2010-11-16 19:16:24.000000000 +0100
+@@ -56,6 +56,10 @@
+
+ #include <libsoup/soup.h>
+
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#endif
++
+ #define USE_PROXY_KEY "/system/http_proxy/use_http_proxy"
+ #define PROXY_HOST_KEY "/system/http_proxy/host"
+ #define PROXY_PORT_KEY "/system/http_proxy/port"
+@@ -1955,10 +1959,12 @@
+ _exit(0);
+ }
+
++#if !defined(__FreeBSD__) || __FreeBSD_version > 700024
+ if (!elf_has_debug_symbols (gopt_data.pid)) {
+ /* FIXME: Request PackageKit to install debug symbols packages */
+ _exit(0);
+ }
++#endif
+
+ }
+