fixes freeradius-server-3.0.x build problem
Release: 5
--- /dev/null
+diff -dur libeap-ikev2-0.2.1.orig/src/common.h libeap-ikev2-0.2.1/src/common.h
+--- libeap-ikev2-0.2.1.orig/src/common.h 2006-09-16 01:26:08.000000000 +0200
++++ libeap-ikev2-0.2.1/src/common.h 2018-10-09 15:27:48.000000000 +0200
+@@ -61,7 +61,9 @@
+
+ #define EAP_IKEv2_KEY_LEN 256
+
++#ifndef __bool_true_false_are_defined
+ typedef enum { false = 0, true = -1 } bool;
++#endif
+
+ #include <openssl/bn.h>
+
Summary(pl.UTF-8): Implementacja metody uwierzytelnienia EAP-IKEv2
Name: libeap-ikev2
Version: 0.2.1
-Release: 4
+Release: 5
License: GPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/eap-ikev2/%{name}-%{version}.tar.gz
# Source0-md5: e8c4900ff9f2825e189be66c61d146f2
Patch0: link.patch
+Patch1: dont_redefine_bool.patch
URL: http://eap-ikev2.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}