From: Georges Khaznadar Date: Sat, 3 Sep 2016 15:57:10 +0000 (+0200) Subject: Fix FTBFS on kFreeBSD and Hurd X-Git-Tag: archive/raspbian/6.0.2+dfsg-1+rpi1~1^2^2^2^2^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8602d1172952999ca89e3f5f32179d952e74e4f9;p=kicad.git Fix FTBFS on kFreeBSD and Hurd The modification should allow the package to be built on new platforms: hurd and *freebsd. Gbp-Pq: Topic porting-kfreebsd-hurd Gbp-Pq: Name Fix-FTBFS-on-kFreeBSD-and-Hurd.patch --- diff --git a/include/kiway.h b/include/kiway.h index 3ec5af8c..c8c919ee 100644 --- a/include/kiway.h +++ b/include/kiway.h @@ -114,7 +114,7 @@ as such! As such, it is OK to use UTF8 characters: // be mangled. #define KIFACE_INSTANCE_NAME_AND_VERSION "KIFACE_1" -#if defined(__linux__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__GNU__) #define LIB_ENV_VAR wxT( "LD_LIBRARY_PATH" ) #elif defined(__WXMAC__) #define LIB_ENV_VAR wxT( "DYLD_LIBRARY_PATH" )