import RT-Thread@9217865c without bsp, libcpu and components/net
This commit is contained in:
commit
e2376a3709
1414 changed files with 390370 additions and 0 deletions
40
tools/kconfig-frontends/frontends/gconf/gconf.c.patch
Normal file
40
tools/kconfig-frontends/frontends/gconf/gconf.c.patch
Normal file
|
@ -0,0 +1,40 @@
|
|||
diff --git a/frontends/gconf/gconf.c b/frontends/gconf/gconf.c
|
||||
--- a/frontends/gconf/gconf.c
|
||||
+++ b/frontends/gconf/gconf.c
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "lkc.h"
|
||||
-#include "images.c"
|
||||
+#include "images.h"
|
||||
|
||||
#include <glade/glade.h>
|
||||
#include <gtk/gtk.h>
|
||||
@@ -1444,8 +1444,10 @@
|
||||
int main(int ac, char *av[])
|
||||
{
|
||||
const char *name;
|
||||
+#if 0
|
||||
char *env;
|
||||
+#endif
|
||||
- gchar *glade_file;
|
||||
+ gchar *glade_file = GUI_PATH;
|
||||
|
||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset(PACKAGE, "UTF-8");
|
||||
@@ -1459,6 +1461,7 @@
|
||||
//add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
|
||||
//add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps");
|
||||
|
||||
+#if 0
|
||||
/* Determine GUI path */
|
||||
env = getenv(SRCTREE);
|
||||
if (env)
|
||||
@@ -1467,6 +1470,7 @@
|
||||
glade_file = g_strconcat(av[0], ".glade", NULL);
|
||||
else
|
||||
glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL);
|
||||
+#endif
|
||||
|
||||
/* Conf stuffs */
|
||||
if (ac > 1 && av[1][0] == '-') {
|
Loading…
Add table
Add a link
Reference in a new issue