summaryrefslogtreecommitdiff
path: root/misc/tools/kconfig-frontends/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tools/kconfig-frontends/frontends')
-rw-r--r--misc/tools/kconfig-frontends/frontends/gconf/gconf.c.patch10
-rw-r--r--misc/tools/kconfig-frontends/frontends/qconf/qconf.cc.patch4
2 files changed, 7 insertions, 7 deletions
diff --git a/misc/tools/kconfig-frontends/frontends/gconf/gconf.c.patch b/misc/tools/kconfig-frontends/frontends/gconf/gconf.c.patch
index d43076161..4b55ff7b8 100644
--- a/misc/tools/kconfig-frontends/frontends/gconf/gconf.c.patch
+++ b/misc/tools/kconfig-frontends/frontends/gconf/gconf.c.patch
@@ -2,12 +2,12 @@ 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>
@@ -1468,8 +1468,10 @@
@@ -19,13 +19,13 @@ diff --git a/frontends/gconf/gconf.c b/frontends/gconf/gconf.c
+#endif
- gchar *glade_file;
+ gchar *glade_file = GUI_PATH;
-
+
bindtextdomain(PACKAGE, LOCALEDIR);
bind_textdomain_codeset(PACKAGE, "UTF-8");
@@ -1483,6 +1485,7 @@
//add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
//add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps");
-
+
+#if 0
/* Determine GUI path */
env = getenv(SRCTREE);
@@ -35,6 +35,6 @@ diff --git a/frontends/gconf/gconf.c b/frontends/gconf/gconf.c
else
glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL);
+#endif
-
+
/* Conf stuffs */
if (ac > 1 && av[1][0] == '-') {
diff --git a/misc/tools/kconfig-frontends/frontends/qconf/qconf.cc.patch b/misc/tools/kconfig-frontends/frontends/qconf/qconf.cc.patch
index a8a78bb55..6769d750c 100644
--- a/misc/tools/kconfig-frontends/frontends/qconf/qconf.cc.patch
+++ b/misc/tools/kconfig-frontends/frontends/qconf/qconf.cc.patch
@@ -3,10 +3,10 @@ diff --git a/frontends/qconf/qconf.cc b/frontends/qconf/qconf.cc
+++ b/frontends/qconf/qconf.cc
@@ -47,7 +47,7 @@
#include "qconf.h"
-
+
#include "qconf.moc"
-#include "images.c"
+#include "images.h"
-
+
#ifdef _
# undef _