ports/cad/kicad-devel/files/patch-include-kiway.h
John Marino 3742af9fa8 cad/kicad-devel: Unbreak build on DragonFly
DragonFly needs the same patch as FreeBSD on the current version.
Covered by just-fix-it blanket (no-op for FreeBSD)
2014-06-24 14:44:35 +00:00

10 lines
346 B
C

--- include/kiway.h.orig 2014-05-23 15:44:36.884457126 +0200
+++ include/kiway.h 2014-05-23 15:45:05.138279780 +0200
@@ -115,5 +115,5 @@
#define KIFACE_INSTANCE_NAME_AND_VERSION "KIFACE_1"
-#if defined(__linux__)
+#if defined(__FreeBSD__) || defined(__DragonFly__)
#define LIB_ENV_VAR wxT( "LD_LIBRARY_PATH" )
#elif defined(__WXMAC__)