summaryrefslogtreecommitdiff
path: root/comms/lirc/files/patch-daemons_hw__ea65.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__ea65.c
parentAdd textproc/bibclean (diff)
Fix build with -fno-common
While here add license and regenerate all patches with make makepatch.
Diffstat (limited to 'comms/lirc/files/patch-daemons_hw__ea65.c')
-rw-r--r--comms/lirc/files/patch-daemons_hw__ea65.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/lirc/files/patch-daemons_hw__ea65.c b/comms/lirc/files/patch-daemons_hw__ea65.c
new file mode 100644
index 000000000000..cf965f1abd81
--- /dev/null
+++ b/comms/lirc/files/patch-daemons_hw__ea65.c
@@ -0,0 +1,13 @@
+--- daemons/hw_ea65.c.orig 2011-03-25 22:28:18 UTC
++++ daemons/hw_ea65.c
+@@ -50,8 +50,8 @@
+ #define TIMEOUT 60000
+ #define CODE_LENGTH 24
+
+-struct timeval start, end, last;
+-ir_code code;
++extern struct timeval start, end, last;
++extern ir_code code;
+
+ struct hardware hw_ea65 = {
+ LIRC_IRTTY, /* default device */