aboutsummaryrefslogtreecommitdiff
path: root/system/lirc/lirc-0.8.4a.diff
blob: 9f25c81576a2c89f16d6c48b1523bf80d658e57f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This avoids the building of lirc_gpio and lirc_parallel.

Since SMP-Kernels are usual today, lirc_parallel would break the build.

see lirc_parallel.c:
#ifdef CONFIG_SMP
#error "--- Sorry, this driver is not SMP safe. ---"
#endif

lirc_gpio uses 2 functions, not exported by the kernel shipped with Slackware 12.2.
These were: bttv_get_cardinfo and bttv_get_gpio_queue

diff -uprN lirc-0.8.4a_orig/configure lirc-0.8.4a/configure
--- lirc-0.8.4a_orig/configure	2008-10-26 15:13:42.000000000 +0100
+++ lirc-0.8.4a/configure	2009-01-07 07:04:05.805431467 +0100
@@ -25861,7 +25861,6 @@ elif test "$lirc_driver" = "all"; then
 	lirc_atiusb \
 	lirc_bt829 \
 	lirc_cmdir \
-	lirc_gpio \
 	lirc_i2c \
 	lirc_igorplugusb \
 	lirc_imon \
@@ -25869,7 +25868,6 @@ elif test "$lirc_driver" = "all"; then
 	lirc_ite8709 \
 	lirc_mceusb \
 	lirc_mceusb2 \
-	lirc_parallel \
 	lirc_sasem \
 	lirc_serial \
 	lirc_sir \