Hello community,
here is the log from the commit of package dnsmasq for openSUSE:Factory checked in at 2019-07-22 12:17:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dnsmasq (Old)
and /work/SRC/openSUSE:Factory/.dnsmasq.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dnsmasq"
Mon Jul 22 12:17:32 2019 rev:72 rq:714386 version:2.80
Changes:
--------
--- /work/SRC/openSUSE:Factory/dnsmasq/dnsmasq.changes 2019-06-26 16:00:09.639313285 +0200
+++ /work/SRC/openSUSE:Factory/.dnsmasq.new.4126/dnsmasq.changes 2019-07-22 12:17:33.795708995 +0200
@@ -1,0 +2,5 @@
+Wed Jul 10 06:28:36 UTC 2019 - Jiri Slaby
+
+- add 0001-fix-build-after-y2038-changes-in-glibc.patch
+
+-------------------------------------------------------------------
New:
----
0001-fix-build-after-y2038-changes-in-glibc.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dnsmasq.spec ++++++
--- /var/tmp/diff_new_pack.CJGes7/_old 2019-07-22 12:17:34.527708796 +0200
+++ /var/tmp/diff_new_pack.CJGes7/_new 2019-07-22 12:17:34.531708795 +0200
@@ -35,6 +35,7 @@
Source7: SuSEFirewall.dnsmasq-dns
Source8: %{name}-rpmlintrc
Patch0: dnsmasq-groups.patch
+Patch1: 0001-fix-build-after-y2038-changes-in-glibc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dbus-1-devel
BuildRequires: dos2unix
@@ -69,6 +70,7 @@
%prep
%setup -q
%patch0
+%patch1 -p1
# Remove the executable bit from python example files to
# avoid unwanted automatic dependencies
++++++ 0001-fix-build-after-y2038-changes-in-glibc.patch ++++++
From: Jiri Slaby
Date: Wed, 10 Jul 2019 08:19:06 +0200
Subject: fix build after y2038 changes in glibc
Patch-mainline: submitted on 2019/07/10
SIOCGSTAMP is defined in linux/sockios.h, not asm/sockios.h now.
Signed-off-by: Jiri Slaby
---
src/dnsmasq.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/dnsmasq.h b/src/dnsmasq.h
index ff3204a..3ef04ad 100644
--- a/src/dnsmasq.h
+++ b/src/dnsmasq.h
@@ -137,6 +137,7 @@ typedef unsigned long long u64;
#endif
#if defined(HAVE_LINUX_NETWORK)
+#include
#include
/* There doesn't seem to be a universally-available
userspace header for these. */
--
2.21.0