[packages/lirc] - rel 3, use impl independent references to internal fields of input_event struct
baggins
baggins at pld-linux.org
Thu May 29 04:00:56 CEST 2025
commit c898d2f2661bbb0e4a6fb9655ab4634fa34a0ca3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu May 29 04:16:36 2025 +0200
- rel 3, use impl independent references to internal fields of input_event struct
lirc.spec | 4 +++-
use-time-marcos.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/lirc.spec b/lirc.spec
index 657beaf..7a39d88 100644
--- a/lirc.spec
+++ b/lirc.spec
@@ -12,7 +12,7 @@ Summary: Linux Infrared Remote Control daemons
Summary(pl.UTF-8): Demony do zdalnego sterowania Linuksem za pomocą podczerwieni
Name: lirc
Version: 0.10.2
-Release: 2
+Release: 3
License: GPL v2+
Group: Daemons
Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2
@@ -27,6 +27,7 @@ Patch0: %{name}-tmp.patch
Patch1: %{name}-remotes.patch
Patch2: %{name}-link.patch
Patch3: no-python-shebang-munge.patch
+Patch4: use-time-marcos.patch
URL: http://www.lirc.org/
BuildRequires: alsa-lib-devel
BuildRequires: autoconf >= 2.50
@@ -150,6 +151,7 @@ Dokumentacja LIRC-a.
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
+%patch -P 4 -p1
grep -rl /usr/bin/env tools | xargs sed -i -e '1{
s,^#!.*bin/env .*python3,#!%{__python3},
diff --git a/use-time-marcos.patch b/use-time-marcos.patch
new file mode 100644
index 0000000..9d3ded4
--- /dev/null
+++ b/use-time-marcos.patch
@@ -0,0 +1,11 @@
+--- lirc-0.10.2/plugins/devinput.c~ 2022-10-01 13:35:46.000000000 +0200
++++ lirc-0.10.2/plugins/devinput.c 2025-05-29 04:12:12.486662061 +0200
+@@ -458,7 +458,7 @@
+ return 0;
+ }
+
+- log_trace("time %ld.%06ld type %d code %d value %d", event.time.tv_sec, event.time.tv_usec, event.type,
++ log_trace("time %ld.%06ld type %d code %d value %d", event.input_event_sec, event.input_event_usec, event.type,
+ event.code, event.value);
+
+ value = (unsigned)event.value;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lirc.git/commitdiff/c898d2f2661bbb0e4a6fb9655ab4634fa34a0ca3
More information about the pld-cvs-commit
mailing list