From 8d94e769ce372f3819d481deb378bbe0cf217a39 Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann Date: Jun 06 2020 21:41:26 +0000 Subject: Update adns to rev 29 via SR 812023 https://build.opensuse.org/request/show/812023 by user msmeissn + dimstar_suse --- diff --git a/.files b/.files index f8d746b..060cee1 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 3b9d256..fcef618 100644 --- a/.rev +++ b/.rev @@ -208,4 +208,12 @@ 539308 + + c5b0434d59d848e969e0e2c84c81e40d + 1.5.1 + + dimstar_suse + + 812023 + diff --git a/adns-1.5.1-gcc10.patch b/adns-1.5.1-gcc10.patch new file mode 100644 index 0000000..cefefe0 --- /dev/null +++ b/adns-1.5.1-gcc10.patch @@ -0,0 +1,15 @@ +diff -up adns-1.5.1/src/event.c.me adns-1.5.1/src/event.c +diff -up adns-1.5.1/src/internal.h.me adns-1.5.1/src/internal.h +--- adns-1.5.1/src/internal.h.me 2020-02-18 13:54:38.578415675 +0100 ++++ adns-1.5.1/src/internal.h 2020-02-18 14:00:26.398198338 +0100 +@@ -246,7 +246,9 @@ union maxalign { + void *p; + void (*fp)(void); + union maxalign *up; +-} data; ++}; ++ ++extern union maxalign data; + + struct adns__query { + adns_state ads; diff --git a/adns.changes b/adns.changes index 361eefe..32974f4 100644 --- a/adns.changes +++ b/adns.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jun 2 12:48:11 UTC 2020 - Kristyna Streitova + +- add adns-1.5.1-gcc10.patch to fix build with GCC10 +- run spec-cleaner + +------------------------------------------------------------------- Sat Nov 4 20:26:32 UTC 2017 - aavindraa@gmail.com - Update to 1.5.1 diff --git a/adns.spec b/adns.spec index 4013d8a..f2a974d 100644 --- a/adns.spec +++ b/adns.spec @@ -1,7 +1,7 @@ # # spec file for package adns # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # 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/ # @@ -21,9 +21,9 @@ Name: adns Version: 1.5.1 Release: 0 Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Networking/DNS/Utilities -Url: http://www.chiark.greenend.org.uk/~ian/adns/ftp/ +URL: https://www.chiark.greenend.org.uk/~ian/adns/ftp/ Source0: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{version}.tar.gz Source1: http://www.chiark.greenend.org.uk/~ian/adns/ftp/%{name}-%{version}.tar.gz.sig Source2: %{name}.keyring @@ -32,6 +32,7 @@ Source4: baselibs.conf Patch0: adns-1.4-destdir.patch Patch1: adns-1.4-configure.patch Patch2: adns-visibility.patch +Patch3: adns-1.5.1-gcc10.patch BuildRequires: autoconf %description @@ -63,12 +64,13 @@ programs with libads support. %patch0 %patch1 %patch2 +%patch3 -p1 cp %{SOURCE3} . %build autoreconf -fiv %configure -make %{?_smp_mflags} all +%make_build all %install %make_install @@ -76,7 +78,8 @@ make %{?_smp_mflags} all rm %{buildroot}%{_libdir}/*.a %files -%doc COPYING GPL-vs-LGPL README* TODO changelog +%license COPYING +%doc GPL-vs-LGPL README* TODO changelog %{_bindir}/adns* %files -n %{lname}