summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-07-13 14:37:15 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-07-13 14:37:15 +0000
commitecc65e7698f3f1327530ffe7f18fbf7baae59c3a (patch)
tree502cd9e4ba496ee1c26ce65792170b8c232e223d /app-misc/activylircd/files/activylircd-0.4-linking.patch
parentkeyword ~x86-fbsd thanks to Davide Italiano <dav_it@gentoo.org>, bug #232250 (diff)
downloadgentoo-2-ecc65e7698f3f1327530ffe7f18fbf7baae59c3a.tar.gz
gentoo-2-ecc65e7698f3f1327530ffe7f18fbf7baae59c3a.tar.bz2
gentoo-2-ecc65e7698f3f1327530ffe7f18fbf7baae59c3a.zip
Fix linking issues, Bug #277656.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-misc/activylircd/files/activylircd-0.4-linking.patch')
-rw-r--r--app-misc/activylircd/files/activylircd-0.4-linking.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-misc/activylircd/files/activylircd-0.4-linking.patch b/app-misc/activylircd/files/activylircd-0.4-linking.patch
new file mode 100644
index 000000000000..8ebd721fd38e
--- /dev/null
+++ b/app-misc/activylircd/files/activylircd-0.4-linking.patch
@@ -0,0 +1,25 @@
+Index: activylircd-0.4/Makefile
+===================================================================
+--- activylircd-0.4.orig/Makefile
++++ activylircd-0.4/Makefile
+@@ -14,16 +14,16 @@ names.h: /usr/include/linux/input.h genn
+ ./gennames $< > $@
+
+ activylircd: activylircd.c /usr/include/linux/input.h names.h Makefile
+- $(CC) $(CFLAGS) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ key2lircd: key2lircd.c /usr/include/linux/input.h names.h Makefile
+- $(CC) $(CFLAGS) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ eventmapper: eventmapper.c /usr/include/linux/input.h names.h Makefile
+- $(CC) $(CFLAGS) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ key2xd: key2xd.c Makefile
+- $(CC) $(CFLAGS) -o $@ -lX11 -lXtst $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lX11 -lXtst
+
+ install: $(PROG)
+ install -v -t /usr/bin $(PROG)