summaryrefslogtreecommitdiffstats
path: root/libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff')
-rw-r--r--libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff b/libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff
new file mode 100644
index 0000000000..5b98ae2919
--- /dev/null
+++ b/libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff
@@ -0,0 +1,28 @@
+Description: fix FTBFS on kFreeBSD
+Author: Petr Salinger <Petr.Salinger@seznam.cz>
+Bug-Debian: http://bugs.debian.org/537883
+Forwarded: no
+Last-Update: 2013-10-30
+
+--- a/utils/wvcrash.cc
++++ b/utils/wvcrash.cc
+@@ -26,7 +26,7 @@
+ #endif
+
+ // FIXME: this file mostly only works in Linux
+-#ifdef __linux
++#if 1
+
+ # include <execinfo.h>
+ #include <unistd.h>
+--- a/utils/wvcrashbase.cc
++++ b/utils/wvcrashbase.cc
+@@ -66,7 +66,7 @@
+
+
+ // FIXME: leaving of a will and catching asserts mostly only works in Linux
+-#ifdef __linux
++#if 1
+
+ #ifdef __USE_GNU
+ static const char *argv0 = program_invocation_short_name;