Patch needed for new libcontext and FreeBSD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Maciej Suminski |
Bug Description
Hi,
I need the following patch to get the new libcontext stuff compiled under FreeBSD:
--- include/
+++ include/
@@ -23,5 +23,5 @@
-#if defined(__GNUC__) || defined(__APPLE__)
+#if defined(__GNUC__) || defined(__APPLE__) || defined(
#define LIBCONTEXT_
@@ -55,5 +55,5 @@
#define LIBCONTEXT_
#endif
- #elif defined(__APPLE__) && defined(__MACH__)
+ #elif defined(__APPLE__) && defined(__MACH__) || defined(
#if defined (__i386__)
#define LIBCONTEXT_
@@ -62,4 +62,7 @@
#define LIBCONTEXT_
#define LIBCONTEXT_
+ #elif defined (__amd64__)
+ #define LIBCONTEXT_
+ #define LIBCONTEXT_
#endif
#endif
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Thank you.
After building with this patch applied, have you tested pcbnew to verify that it works? In particular, can you switch between and use tools while the OpenGL or Cairo canvas is active?