forked from pool/libgcrypt
This commit is contained in:
parent
136387b962
commit
d26de470a6
16
libgcrypt-1.4.1-rijndael_no_strict_aliasing.patch
Normal file
16
libgcrypt-1.4.1-rijndael_no_strict_aliasing.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Index: libgcrypt-1.4.1/cipher/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libgcrypt-1.4.1.orig/cipher/Makefile.am 2008-11-11 17:13:59.000000000 +0100
|
||||||
|
+++ libgcrypt-1.4.1/cipher/Makefile.am 2008-11-11 17:18:58.000000000 +0100
|
||||||
|
@@ -92,3 +92,11 @@ ac.o: $(srcdir)/ac.c
|
||||||
|
|
||||||
|
ac.lo: $(srcdir)/ac.c
|
||||||
|
`echo $(LTCOMPILE) -fno-strict-aliasing -c $(srcdir)/ac.c`
|
||||||
|
+
|
||||||
|
+# rijndael.c needs -fno-strict-aliasing
|
||||||
|
+rijndael.o: $(srcdir)/rijndael.c
|
||||||
|
+ `echo $(COMPILE) -fno-strict-aliasing -c $(srcdir)/rijndael.c`
|
||||||
|
+
|
||||||
|
+rijndael.lo: $(srcdir)/rijndael.c
|
||||||
|
+ `echo $(LTCOMPILE) -fno-strict-aliasing -c $(srcdir)/rijndael.c`
|
||||||
|
+
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 11 17:23:54 CET 2008 - mkoenig@suse.de
|
||||||
|
|
||||||
|
- build rijndael.c with -fno-strict-aliasing [bnc#443693]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 30 12:34:56 CET 2008 - olh@suse.de
|
Thu Oct 30 12:34:56 CET 2008 - olh@suse.de
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ Name: libgcrypt
|
|||||||
BuildRequires: libgpg-error-devel
|
BuildRequires: libgpg-error-devel
|
||||||
Url: http://www.gnu.org/directory/Security/libgcrypt.html
|
Url: http://www.gnu.org/directory/Security/libgcrypt.html
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: The GNU Crypto Library
|
Summary: The GNU Crypto Library
|
||||||
License: GPL v2 or later; LGPL v2.1 or later
|
License: GPL v2 or later; LGPL v2.1 or later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -39,6 +39,7 @@ Source: %name-%version.tar.bz2
|
|||||||
Patch0: %name-ppc64.patch
|
Patch0: %name-ppc64.patch
|
||||||
Patch1: libgcrypt-strict-aliasing.patch
|
Patch1: libgcrypt-strict-aliasing.patch
|
||||||
Patch2: libgcrypt-mpicheck.patch
|
Patch2: libgcrypt-mpicheck.patch
|
||||||
|
Patch3: libgcrypt-1.4.1-rijndael_no_strict_aliasing.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -123,6 +124,7 @@ Authors:
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# define ciphers to build
|
# define ciphers to build
|
||||||
@ -187,6 +189,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%_datadir/aclocal/libgcrypt.m4
|
%_datadir/aclocal/libgcrypt.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 11 2008 mkoenig@suse.de
|
||||||
|
- build rijndael.c with -fno-strict-aliasing [bnc#443693]
|
||||||
* Thu Oct 30 2008 olh@suse.de
|
* Thu Oct 30 2008 olh@suse.de
|
||||||
- obsolete old -XXbit packages (bnc#437293)
|
- obsolete old -XXbit packages (bnc#437293)
|
||||||
* Mon Jun 30 2008 mkoenig@suse.de
|
* Mon Jun 30 2008 mkoenig@suse.de
|
||||||
@ -301,5 +305,5 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- Smaller bugs fixes and a few new OIDs.
|
- Smaller bugs fixes and a few new OIDs.
|
||||||
* Tue Jan 14 2003 nadvornik@suse.cz
|
* Tue Jan 14 2003 nadvornik@suse.cz
|
||||||
- fixed multi-line string literals
|
- fixed multi-line string literals
|
||||||
* Fri Aug 02 2002 poeml@suse.de
|
* Thu Aug 01 2002 poeml@suse.de
|
||||||
- create package
|
- create package
|
||||||
|
Loading…
Reference in New Issue
Block a user