1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: Fix FTBFS on kFreeBSD
This patch allows kFreeBSD to be detected as a BSD-style Unix.
Bug #745448 needed to be fixed before build was successful.
Bug-Debian: http://bugs.debian.org/745447
Author: Graham Inggs <graham@nerve.org.za>
Forwarded: not-needed
Last-Update: 2014-05-26
--- a/vfe/unix/syspovconfig.h
+++ b/vfe/unix/syspovconfig.h
@@ -157,7 +157,7 @@ const int NULL=0;
#elif defined(__unix__)
// Some Unix other than the above detected.
#include <sys/param.h>
- #if defined(BSD)
+ #if defined(BSD) || defined(__FreeBSD_kernel__)
// BSD-style Unix detected.
#include "syspovconfig_bsd.h"
#else
@@ -197,9 +197,9 @@ const int NULL=0;
#elif defined(__unix__)
// Some Unix other than the above detected.
#include <sys/param.h>
- #if defined(BSD)
+ #if defined(BSD) || defined(__FreeBSD_kernel__)
// BSD-style Unix detected.
- #error BSD-style Unix detected, but not explicitly supported yet; proceed at your own risk.
+ //#error BSD-style Unix detected, but not explicitly supported yet; proceed at your own risk.
#else
// Not officially supported yet; comment-out the following line to try with default POSIX settings.
#error Unix detected, but flavor not identified; proceed at your own risk.
|