summaryrefslogtreecommitdiffstats
path: root/x11-plugins/wmauda/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmauda/files')
-rw-r--r--x11-plugins/wmauda/files/link-against-missing-libraries.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-plugins/wmauda/files/link-against-missing-libraries.patch b/x11-plugins/wmauda/files/link-against-missing-libraries.patch
new file mode 100644
index 0000000..ec34567
--- /dev/null
+++ b/x11-plugins/wmauda/files/link-against-missing-libraries.patch
@@ -0,0 +1,22 @@
+Description: link against libdbus-glib-1 and libX11
+Author: Sebastian Ramacher <sramacher@debian.org>
+Bug-Debian: http://bugs.debian.org/713481
+Last-Update: 2013-07-19
+
+--- a/Makefile
++++ b/Makefile
+@@ -7,11 +7,11 @@
+ PIXMAP_DIR := $(PREFIX)/share/pixmaps
+ MANPAGE_DIR := $(PREFIX)/share/man/man1
+
+-CFLAGS += $(shell pkg-config audacious --cflags) $(shell pkg-config dbus-1 --cflags)
+-LIBS := $(shell pkg-config audacious --libs) $(shell pkg-config audclient --libs) $(shell pkg-config dbus-1 --libs)
++CFLAGS += $(shell pkg-config dbus-glib-1 --cflags)
++LIBS := $(shell pkg-config audclient --libs) $(shell pkg-config dbus-glib-1 --libs)
+
+ CFLAGS += $(shell pkg-config gtk+-2.0 --cflags)
+-LIBS += $(shell pkg-config gtk+-2.0 --libs)
++LIBS += $(shell pkg-config gtk+-2.0 --libs) -lX11
+
+ OBJS = wmauda.o
+ HEADERS = config.h dock-master.xpm