summaryrefslogtreecommitdiff
path: root/comms/lirc/files/patch-daemons_hw__silitek.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-21 15:03:43 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-21 15:03:43 +0000
commit2380a3cfc59187ebd4191bdd9b21291570c66180 (patch)
tree79244d9fb03cd36296a1f10c4686303eb673dbdf /comms/lirc/files/patch-daemons_hw__silitek.c
parentAdd textproc/bibclean (diff)
Fix build with -fno-common
While here add license and regenerate all patches with make makepatch.
Notes
Notes: svn path=/head/; revision=549449
Diffstat (limited to 'comms/lirc/files/patch-daemons_hw__silitek.c')
-rw-r--r--comms/lirc/files/patch-daemons_hw__silitek.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/comms/lirc/files/patch-daemons_hw__silitek.c b/comms/lirc/files/patch-daemons_hw__silitek.c
new file mode 100644
index 000000000000..5d3c50d17cd7
--- /dev/null
+++ b/comms/lirc/files/patch-daemons_hw__silitek.c
@@ -0,0 +1,14 @@
+--- daemons/hw_silitek.c.orig 2011-03-25 22:28:18 UTC
++++ daemons/hw_silitek.c
+@@ -41,8 +41,9 @@
+ extern struct ir_remote *repeat_remote, *last_remote;
+
+ unsigned char b[NUMBYTES];
+-ir_code code;
+-struct timeval current, last;
++extern ir_code code;
++struct timeval current;
++extern struct timeval last;
+ int do_repeat;
+
+ struct hardware hw_silitek = {