Remove #define _BSD_SOURCE.
Signed-off-by: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
parent
a16cec94eb
commit
bc36187386
@ -0,0 +1,26 @@
|
||||
From 1b5105e3ab92f2a898313da5f7e20e6f3e9d1d2a Mon Sep 17 00:00:00 2001
|
||||
From: Petr Spacek <pspacek@redhat.com>
|
||||
Date: Mon, 24 Feb 2014 16:48:09 +0100
|
||||
Subject: [PATCH] Drop unnecessary #define _BSD_SOURCE.
|
||||
|
||||
Signed-off-by: Petr Spacek <pspacek@redhat.com>
|
||||
---
|
||||
src/krb5_helper.c | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/krb5_helper.c b/src/krb5_helper.c
|
||||
index d1787209483f2ae49b480492290ff5d4bafc677c..71f4fff9fec551abbd81e25c59de80d2ded0dfc6 100644
|
||||
--- a/src/krb5_helper.c
|
||||
+++ b/src/krb5_helper.c
|
||||
@@ -15,8 +15,6 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
-#define _BSD_SOURCE
|
||||
-
|
||||
#include <isc/util.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
--
|
||||
1.8.5.3
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Name: bind-dyndb-ldap
|
||||
Version: 4.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: LDAP back-end plug-in for BIND
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -18,6 +18,8 @@ BuildRequires: automake, autoconf, libtool
|
||||
|
||||
Requires: bind >= 32:9.9.0-1
|
||||
|
||||
Patch0: bind-dyndb-ldap-pspacek-0228-Drop-unnecessary-define-_BSD_SOURCE.patch
|
||||
|
||||
%description
|
||||
This package provides an LDAP back-end plug-in for BIND. It features
|
||||
support for dynamic updates and internal caching, to lift the load
|
||||
@ -27,6 +29,8 @@ off of your LDAP server.
|
||||
%prep
|
||||
%setup -q -n %{name}-%{VERSION}
|
||||
|
||||
%patch0 -p1 -b .p0228
|
||||
|
||||
%build
|
||||
export CFLAGS="`isc-config.sh --cflags dns` $RPM_OPT_FLAGS"
|
||||
autoreconf -fiv
|
||||
@ -75,6 +79,9 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 24 2014 Petr Spacek <pspacek redhat com> 4.1-2
|
||||
- remove deprecated define _BSD_SOURCE
|
||||
|
||||
* Mon Feb 24 2014 Petr Spacek <pspacek redhat com> 4.1-1
|
||||
- update to 4.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user