summaryrefslogtreecommitdiff
path: root/misc/metatheme2/files/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'misc/metatheme2/files/patch-af')
-rw-r--r--misc/metatheme2/files/patch-af21
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/metatheme2/files/patch-af b/misc/metatheme2/files/patch-af
new file mode 100644
index 000000000000..572e38b524b2
--- /dev/null
+++ b/misc/metatheme2/files/patch-af
@@ -0,0 +1,21 @@
+--- plugins/gtk/gtk-plugin.c 2000/11/26 21:25:12 1.1
++++ plugins/gtk/gtk-plugin.c 2000/11/26 21:27:39
+@@ -375,15 +375,15 @@
+
+ /* This should be more robust.
+ * Perhaps we could make this user-configurable somehow. */
+- pipe = popen ("gtk-config --prefix", "r");
++ pipe = popen ("%%GTK_CONFIG%% --prefix", "r");
+ if (pipe == NULL)
+- return g_strdup ("/usr");
++ return g_strdup ("%%X11BASE%%");
+
+ fgets (prefix, 1000, pipe);
+ pclose (pipe);
+
+ if (prefix == NULL)
+- return g_strdup ("/usr");
++ return g_strdup ("%%X11BASE%%");
+
+ return g_strchomp (g_strdup (prefix));
+ }