Made version.h architecture independent
Resolves: rhbz#1289938
This commit is contained in:
parent
e13a605d5e
commit
98c18365f0
17
nettle-3.1.1-version-h.patch
Normal file
17
nettle-3.1.1-version-h.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff --git a/version.h.in b/version.h.in
|
||||
index 447e933..e3c01db 100644
|
||||
--- a/version.h.in
|
||||
+++ b/version.h.in
|
||||
@@ -44,12 +44,6 @@ extern "C" {
|
||||
|
||||
#define NETTLE_USE_MINI_GMP @NETTLE_USE_MINI_GMP@
|
||||
|
||||
-/* We need a preprocessor constant for GMP_NUMB_BITS, simply using
|
||||
- sizeof(mp_limb_t) * CHAR_BIT is not good enough. */
|
||||
-#if NETTLE_USE_MINI_GMP
|
||||
-# define GMP_NUMB_BITS @GMP_NUMB_BITS@
|
||||
-#endif
|
||||
-
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
@ -1,6 +1,6 @@
|
||||
Name: nettle
|
||||
Version: 3.1.1
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: A low-level cryptographic library
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -10,6 +10,7 @@ Source0: %{name}-%{version}-hobbled.tar.gz
|
||||
#Source0: http://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
|
||||
Patch0: nettle-3.1.1-remove-ecc-testsuite.patch
|
||||
Patch1: nettle-3.1.1-sha3-fix.patch
|
||||
Patch2: nettle-3.1.1-version-h.patch
|
||||
|
||||
BuildRequires: gmp-devel m4 texinfo-tex
|
||||
|
||||
@ -45,6 +46,7 @@ sed 's/ecc-192.c//g' -i Makefile.in
|
||||
sed 's/ecc-224.c//g' -i Makefile.in
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%configure --enable-shared --disable-arm-neon
|
||||
@ -100,6 +102,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 9 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.1.1-6
|
||||
- Made version.h architecture independent (#1289938)
|
||||
|
||||
* Wed Dec 2 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.1.1-5
|
||||
- Disabled arm-neon unconditionally (#1287298)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user