summaryrefslogtreecommitdiff
path: root/x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch')
-rw-r--r--x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch b/x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch
new file mode 100644
index 00000000000..74c04d55f76
--- /dev/null
+++ b/x11-misc/fbpanel/files/fbpanel-6.1-underlinking.patch
@@ -0,0 +1,15 @@
+--- a/scripts/custom.sh
++++ b/scripts/custom.sh
+@@ -18,10 +18,10 @@
+ add_feature dependency "disable dependency tracking" disabled
+
+ add_var glib_cflags "glib cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags glib-2.0`'
+-add_var gtk_cflags "gtk cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags gtk+-2.0`'
++add_var gtk_cflags "gtk cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags gtk+-2.0 x11`'
+
+ add_var glib_libs "glib libs" '`RFS=$rfs scripts/rfs-pkg-config --libs glib-2.0`'
+-add_var gtk_libs "gtk libs" '`RFS=$rfs scripts/rfs-pkg-config --libs gtk+-2.0`'
++add_var gtk_libs "gtk libs" '`RFS=$rfs scripts/rfs-pkg-config --libs gtk+-2.0 x11` -lm'
+
+ add_var cflagsx "C flags" '-I$topdir/panel $glib_cflags $gtk_cflags -fPIC'
+ add_var ldflagsx "linker flags" '$glib_libs $gtk_libs'