[Pkg-e-devel] Bug#712931: e17: FTBFS on GNU/kFreeBSD
Petr Salinger
Petr.Salinger at seznam.cz
Thu Jun 20 20:28:01 UTC 2013
Package: e17
Version: 0.17.1-2
Severity: serious
Tags: patch
User: debian-bsd at lists.debian.org
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs some "defined(__FreeBSD_kernel__)", see bellow.
It would also be nice if you can ask upstream to include similar change.
I guess that special hadling with ptrace is possible only on linux,
so instead of enlist all BSD-like systems would be possible to use
!defined(__linux__)
Thanks in advance
Petr
--- src/bin/e_start_main.c
+++ src/bin/e_start_main.c
@@ -244,7 +244,7 @@
const char *valgrind_log = NULL;
Eina_Bool really_know = EINA_FALSE;
struct sigaction action;
-#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && \
+#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && \
!(defined (__MACH__) && defined (__APPLE__))
Eina_Bool restart = EINA_TRUE;
#endif
@@ -407,14 +407,14 @@
if (valgrind_tool || valgrind_mode)
really_know = EINA_TRUE;
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \
+#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
(defined (__MACH__) && defined (__APPLE__))
execv(args[0], args);
#endif
/* not run at the moment !! */
-#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && \
+#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && \
!(defined (__MACH__) && defined (__APPLE__))
/* Now looping until */
while (restart)
More information about the Pkg-e-devel
mailing list