[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#537883: wvstreams : FTBFS on GNU/kFreeBSD



Package: wvstreams
Severity: important
Version: 4.4.1-1.1
Tags: patch
User: glibc-bsd-devel@lists.alioth.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

There are some parts of code, which are marked only for linux.
Without them, the whole wvstreams FTBFS. On the other hand,
when they are enabled, the whole wvstreams builds fine.
Please apply patch bellow.

It would also be nice if you can inform upstream
about this issue.

Thanks in advance

                        Petr

diff -u wvstreams-4.4.1/utils/wvcrash.cc wvstreams-4.4.1/utils/wvcrash.cc
--- wvstreams-4.4.1/utils/wvcrash.cc
+++ wvstreams-4.4.1/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>
only in patch2:
unchanged:
--- wvstreams-4.4.1.orig/utils/wvcrashbase.cc
+++ wvstreams-4.4.1/utils/wvcrashbase.cc
@@ -16,7 +16,7 @@
 enum WvCrashInfo::InStreamState WvCrashInfo::in_stream_state = UNUSED;

 // FIXME: this file mostly only works in Linux
-#ifdef __linux
+#if 1

 #ifdef __USE_GNU
 static const char *argv0 = program_invocation_short_name;






Reply to: