From 0eb04b89bc3839cd57fc6583dcd6c5fd2eb03c2706415d3a2f02856d72a2388f Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Tue, 1 Sep 2015 14:42:56 +0000 Subject: [PATCH] Accepting request 328306 from home:dimstar:Factory - Add ldns-perl-5.22.patch: Fix build with perl 5.22. OBS-URL: https://build.opensuse.org/request/show/328306 OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=26 --- ldns-perl-5.22.patch | 13 +++++++++++++ ldns.changes | 5 +++++ ldns.spec | 5 +++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 ldns-perl-5.22.patch diff --git a/ldns-perl-5.22.patch b/ldns-perl-5.22.patch new file mode 100644 index 0000000..325678e --- /dev/null +++ b/ldns-perl-5.22.patch @@ -0,0 +1,13 @@ +Index: ldns-1.6.17/doc/doxyparse.pl +=================================================================== +--- ldns-1.6.17.orig/doc/doxyparse.pl ++++ ldns-1.6.17/doc/doxyparse.pl +@@ -273,7 +273,7 @@ foreach (keys %manpages) { + + print MAN $MAN_MIDDLE; + +- if (defined(@$also)) { ++ if (@$also) { + print MAN "\n.SH SEE ALSO\n\\fI"; + print MAN join "\\fR, \\fI", @$also; + print MAN "\\fR.\nAnd "; diff --git a/ldns.changes b/ldns.changes index 51d1c71..ba545fd 100644 --- a/ldns.changes +++ b/ldns.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 1 11:46:20 UTC 2015 - dimstar@opensuse.org + +- Add ldns-perl-5.22.patch: Fix build with perl 5.22. + ------------------------------------------------------------------- Thu May 22 17:03:27 UTC 2014 - mrueckert@suse.de diff --git a/ldns.spec b/ldns.spec index c7357b4..243f1ae 100644 --- a/ldns.spec +++ b/ldns.spec @@ -1,7 +1,7 @@ # # spec file for package ldns # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -31,6 +31,7 @@ BuildRequires: swig # Url: http://www.nlnetlabs.nl/projects/ldns/ Source: http://www.nlnetlabs.nl/downloads/ldns/ldns-%{version}.tar.gz +Patch0: ldns-perl-5.22.patch # Summary: A dns library License: BSD-3-Clause @@ -96,6 +97,7 @@ Perl bindings for ldns library %prep %setup -q +%patch0 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" @@ -200,4 +202,3 @@ popd %{python_sitearch}/*ldns* %changelog -