Hello community,

here is the log from the commit of package irda for openSUSE:Factory checked in 
at 2019-09-09 23:57:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/irda (Old)
 and      /work/SRC/openSUSE:Factory/.irda.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "irda"

Mon Sep  9 23:57:33 2019 rev:23 rq:729442 version:0.9.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/irda/irda.changes        2017-11-25 
08:43:22.672686196 +0100
+++ /work/SRC/openSUSE:Factory/.irda.new.7948/irda.changes      2019-09-09 
23:57:34.937231323 +0200
@@ -1,0 +2,5 @@
+Mon Aug 26 22:15:45 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Add irda-fix_build_with_recent_kernels.diff
+
+-------------------------------------------------------------------

New:
----
  irda-fix_build_with_recent_kernels.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ irda.spec ++++++
--- /var/tmp/diff_new_pack.FTplsm/_old  2019-09-09 23:57:35.965231254 +0200
+++ /var/tmp/diff_new_pack.FTplsm/_new  2019-09-09 23:57:35.969231254 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irda
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,7 +26,7 @@
 Version:        0.9.18
 Release:        0
 Summary:        Necessary Tools for Using the Infrared Port
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Hardware/Other
 Url:            http://irda.sourceforge.net
 Source:         
http://sourceforge.net/projects/irda/files/irda-utils/%{version}/irda-utils-%{version}.tar.gz
@@ -49,6 +49,7 @@
 Patch13:        irda-irdaping_no_strict_aliasing.diff
 Patch14:        irda-no_std_paths.diff
 Patch15:        irda-parseoldasssysconfig.patch
+Patch16:        irda-fix_build_with_recent_kernels.diff
 BuildRequires:  glib2-devel
 BuildRequires:  linux-kernel-headers
 BuildRequires:  pciutils-devel
@@ -97,6 +98,7 @@
 %patch13
 %patch14
 %patch15
+%patch16 -p1
 
 %build
 make %{?_smp_mflags} V=1 RPM_OPT_FLAGS="%{optflags} -fgnu89-inline 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" INITD=%{_sysconfdir}/init.d 
ROOT=%{buildroot} all

++++++ irda-fix_build_with_recent_kernels.diff ++++++
>From 570c8ec27185548296af7de057b65b544a7223b9 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <[email protected]>
Date: Tue, 27 Aug 2019 00:10:20 +0200
Subject: [PATCH] Include 'linux/sockios.h' to build with recent kernel
 versions.

Fixes the 'irdadump.c:286:16: error: 'SIOCGSTAMP' undeclared' error caused by
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc
---
 irdadump/irdadump.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/irdadump/irdadump.c b/irdadump/irdadump.c
index 46cc6b0..b619a59 100644
--- a/irdadump/irdadump.c
+++ b/irdadump/irdadump.c
@@ -36,6 +36,8 @@
 
 #include <netpacket/packet.h>
 
+#include <linux/sockios.h>
+
 #include <stdint.h>
 #include <string.h>            /* strncpy */
 #include <stdio.h>             /* perror */
-- 
2.23.0


Reply via email to