]> git.pld-linux.org Git - packages/libeap-ikev2.git/commitdiff
dont_redefine_bool.patch added
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 9 Oct 2018 13:30:13 +0000 (15:30 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 9 Oct 2018 13:30:13 +0000 (15:30 +0200)
fixes freeradius-server-3.0.x build problem

Release: 5

dont_redefine_bool.patch [new file with mode: 0644]
libeap-ikev2.spec

diff --git a/dont_redefine_bool.patch b/dont_redefine_bool.patch
new file mode 100644 (file)
index 0000000..3c51be2
--- /dev/null
@@ -0,0 +1,13 @@
+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>
index 029a597c5d94b34d7a779434f2cf1fc7b7a5be54..c461237984b4a147737bcf275b3aaad91f35ffdd 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Implementation of the EAP-IKEv2 authentication method
 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
@@ -55,6 +56,7 @@ Statyczna biblioteka libeap-ikev2.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
This page took 0.092836 seconds and 4 git commands to generate.