Hello community, here is the log from the commit of package Botan for openSUSE:Factory checked in at Fri Mar 12 01:10:57 CET 2010. -------- --- Botan/Botan.changes 2010-01-10 04:29:11.000000000 +0100 +++ /mounts/work_src_done/STABLE/Botan/Botan.changes 2010-03-10 01:02:20.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Mar 10 01:01:48 CET 2010 - ro@suse.de + +- add patch from fedora to fix build on x86_64 + (botan-1.8.8-binutils_lea_offset.patch) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- botan-1.8.8-binutils_lea_offset.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Botan.spec ++++++ --- /var/tmp/diff_new_pack.XxhbLq/_old 2010-03-12 01:08:00.000000000 +0100 +++ /var/tmp/diff_new_pack.XxhbLq/_new 2010-03-12 01:08:00.000000000 +0100 @@ -21,7 +21,7 @@ Name: Botan Version: 1.8.8 -Release: 4 +Release: 5 Url: http://botan.randombit.net Summary: A C++ Crypto Library License: BSD3c @@ -32,6 +32,7 @@ Patch0: Botan-inttypes.patch Patch1: Botan-ull_constants.patch.bz2 Patch2: Botan-fix_install_paths.patch +Patch3: botan-1.8.8-binutils_lea_offset.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: zlib, bzip2 >= 1.0.2, gmp >= 4.1 BuildRequires: bzip2 >= 1.0.2 gmp-devel >= 4.1 zlib-devel @@ -92,6 +93,7 @@ %patch0 %patch1 %patch2 +%patch3 %build export RPM_OPT_FLAGS ++++++ botan-1.8.8-binutils_lea_offset.patch ++++++ # # # patch "src/hash/sha1_amd64/sha1_amd64_imp.S" # from [dd263db10309950dec501dd9257a8df43cf6c6aa] # to [ab1db7a394b41a1d3b9a63a6e8e1571e4671b962] # ================================================================================ --- src/hash/sha1_amd64/sha1_amd64_imp.S +++ src/hash/sha1_amd64/sha1_amd64_imp.S @@ -103,10 +103,16 @@ subq $320, W +/* +* Using negative values for SHA-1 constants > 2^31 to work around +* a bug in binutils not accepting large lea displacements. +* -0x70E44324 == 0x8F1BBCDC +* -0x359D3E2A == 0xCA62C1D6 +*/ #define MAGIC1 0x5A827999 #define MAGIC2 0x6ED9EBA1 -#define MAGIC3 0x8F1BBCDC -#define MAGIC4 0xCA62C1D6 +#define MAGIC3 -0x70E44324 +#define MAGIC4 -0x359D3E2A #define T %esi #define T2 %eax ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org