summaryrefslogtreecommitdiff
path: root/misc/tools
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-14 13:31:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-14 13:31:14 +0000
commitc9b5df22eb6f361ca4505cfc44058c5fd2970d2f (patch)
tree50b3cbe2b4c9f095885f6bfa4454ff0ac45d8768 /misc/tools
parent2d21e7c1871fba26eded74e19451c75a53252010 (diff)
downloadnuttx-c9b5df22eb6f361ca4505cfc44058c5fd2970d2f.tar.gz
nuttx-c9b5df22eb6f361ca4505cfc44058c5fd2970d2f.tar.bz2
nuttx-c9b5df22eb6f361ca4505cfc44058c5fd2970d2f.zip
Kconfig updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4606 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/tools')
-rw-r--r--misc/tools/README.txt4
-rw-r--r--misc/tools/kconfig-frontends-3.3.0-1-libintl.patch3
-rwxr-xr-xmisc/tools/kconfig-macos.diff22
3 files changed, 26 insertions, 3 deletions
diff --git a/misc/tools/README.txt b/misc/tools/README.txt
index 09a14c73f..ebda8b160 100644
--- a/misc/tools/README.txt
+++ b/misc/tools/README.txt
@@ -41,4 +41,6 @@ kconfig-frontends-3.3.0-1-libintl.patch
make
make install
- \ No newline at end of file
+kconfig-macos.path
+
+ This is a patch to make the kconfig-frontends build on Mac OS X.
diff --git a/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch b/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch
index 28b4b052a..3fe3f8163 100644
--- a/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch
+++ b/misc/tools/kconfig-frontends-3.3.0-1-libintl.patch
@@ -13,12 +13,11 @@ diff -ru kconfig-frontends-3.3.0-1.orig//frontends/nconf/nconf.c kconfig-fronten
diff -ru kconfig-frontends-3.3.0-1.orig//frontends/nconf/nconf.h kconfig-frontends-3.3.0-1/frontends/nconf/nconf.h
--- kconfig-frontends-3.3.0-1.orig//frontends/nconf/nconf.h 2012-03-20 16:07:45.000000000 -0600
+++ kconfig-frontends-3.3.0-1/frontends/nconf/nconf.h 2012-04-05 15:13:36.189960800 -0600
-@@ -15,7 +15,7 @@
+@@ -15,7 +15,6 @@
#include <string.h>
#include <unistd.h>
#include <locale.h>
-#include <curses.h>
-+#include <ncurses/curses.h>
#include <menu.h>
#include <panel.h>
#include <form.h>
diff --git a/misc/tools/kconfig-macos.diff b/misc/tools/kconfig-macos.diff
new file mode 100755
index 000000000..10e21bb85
--- /dev/null
+++ b/misc/tools/kconfig-macos.diff
@@ -0,0 +1,22 @@
+diff -ru orig/kconfig-frontends-3.3.0-1/libs/parser/yconf.c kconfig-frontends-3.3.0-1/libs/parser/yconf.c
+--- orig/kconfig-frontends-3.3.0-1/libs/parser/yconf.c 2012-04-13 23:37:32.000000000 -0700
++++ kconfig-frontends-3.3.0-1/libs/parser/yconf.c 2012-04-13 23:38:36.000000000 -0700
+@@ -87,6 +87,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdbool.h>
++#include <stddef.h>
+
+ #include "lkc.h"
+
+diff -ru orig/kconfig-frontends-3.3.0-1/libs/parser/yconf.y kconfig-frontends-3.3.0-1/libs/parser/yconf.y
+--- orig/kconfig-frontends-3.3.0-1/libs/parser/yconf.y 2012-03-20 15:07:45.000000000 -0700
++++ kconfig-frontends-3.3.0-1/libs/parser/yconf.y 2012-04-13 23:38:22.000000000 -0700
+@@ -10,6 +10,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdbool.h>
++#include <stddef.h>
+
+ #include "lkc.h"
+