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
This commit is contained in:
Marguerite Su 2015-09-01 14:42:56 +00:00 committed by Git OBS Bridge
parent ff570ab817
commit 0eb04b89bc
3 changed files with 21 additions and 2 deletions

13
ldns-perl-5.22.patch Normal file
View File

@ -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 ";

View File

@ -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

View File

@ -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