diff options
Diffstat (limited to 'cad/kicad/patches/patch-common-edaappl.cpp')
-rw-r--r-- | cad/kicad/patches/patch-common-edaappl.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cad/kicad/patches/patch-common-edaappl.cpp b/cad/kicad/patches/patch-common-edaappl.cpp new file mode 100644 index 00000000000..23ff1405de6 --- /dev/null +++ b/cad/kicad/patches/patch-common-edaappl.cpp @@ -0,0 +1,17 @@ +$NetBSD: patch-common-edaappl.cpp,v 1.1.1.1 2014/02/17 20:38:59 bouyer Exp $ + +Building on Mac OS X requires CoreFoundation headers. + +--- common/edaappl.cpp.orig 2014-02-14 21:55:49.000000000 +0100 ++++ common/edaappl.cpp 2014-02-14 22:39:14.000000000 +0100 +@@ -41,6 +41,10 @@ + #include <wx/snglinst.h> + #include <wx/tokenzr.h> + ++#ifdef __DARWIN__ ++#include <CoreFoundation/CFBundle.h> ++#endif ++ + #include <appl_wxstruct.h> + #include <wxstruct.h> + #include <macros.h> |