Hello community,

here is the log from the commit of package dd_rescue for openSUSE:Factory 
checked in at 2017-08-17 11:49:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dd_rescue (Old)
 and      /work/SRC/openSUSE:Factory/.dd_rescue.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dd_rescue"

Thu Aug 17 11:49:05 2017 rev:34 rq:516080 version:1.99.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/dd_rescue/dd_rescue.changes      2017-06-16 
10:47:43.047178242 +0200
+++ /work/SRC/openSUSE:Factory/.dd_rescue.new/dd_rescue.changes 2017-08-17 
11:49:26.880618912 +0200
@@ -1,0 +2,7 @@
+Thu Aug 10 16:05:11 UTC 2017 - [email protected]
+
+- Add dd_rescue-i586-sse2.diff to fix dd_rescue compile and
+  runtime problems when GCC defaults to SSE2 also on i586
+  like with SLE-15.
+
+-------------------------------------------------------------------

New:
----
  dd_rescue-i586-sse2.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dd_rescue.spec ++++++
--- /var/tmp/diff_new_pack.aYw3NB/_old  2017-08-17 11:49:31.287996910 +0200
+++ /var/tmp/diff_new_pack.aYw3NB/_new  2017-08-17 11:49:31.303994652 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dd_rescue
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 Source1:        
http://garloff.de/kurt/linux/ddrescue/%{name}-%{version}.tar.bz2.asc
 Source2:        %{name}.keyring
 Source99:       %{name}.changes
+Patch0:         dd_rescue-i586-sse2.diff
 BuildRequires:  autoconf
 BuildRequires:  libattr-devel
 BuildRequires:  libfallocate-devel
@@ -112,6 +113,7 @@
 
 %prep
 %setup -q
+%patch0
 
 # Remove build time references so build-compare can do its work
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE99} '+%%H:%%M')


++++++ dd_rescue-i586-sse2.diff ++++++
--- find_nonzero.c.mm   2016-12-28 21:17:50.000000000 +0000
+++ find_nonzero.c      2017-08-10 15:15:27.000000000 +0000
@@ -137,8 +137,8 @@ size_t find_nonzero_rep(const unsigned c
 #define TEST_SIMD2(a,b,c,d) TESTC(a,b,c*2,d)
 #define TEST2_SIMD2(a,b,c,d) TEST2C(a,b,c*2,d)
 #else
-#define TEST_SIMD2(a,b,c,d) if (have_simd) { TESTC(a,b,c*2,d); }
-#define TEST2_SIMD2(a,b,c,d) if (have_simd) { TEST2C(a,b,c*2,d); }
+#define TEST_SIMD2(a,b,c,d) if (have_sse2) { TESTC(a,b,c*2,d); }
+#define TEST2_SIMD2(a,b,c,d) if (have_sse2) { TEST2C(a,b,c*2,d); }
 #endif
 #else
 #define TEST_SIMD2(a,b,c,d) do {} while (0)
--- libddr_hash.c.mm    2015-05-26 08:52:40.000000000 +0000
+++ libddr_hash.c       2017-08-10 15:55:43.000000000 +0000
@@ -108,7 +108,14 @@ int do_pbkdf2(hash_state *state, char* p
 int hash_plug_init(void **stat, char* param, int seq, const opt_t *opt)
 {
        int err = 0;
-       hash_state *state = (hash_state*)malloc(sizeof(hash_state));
+       void *buf = 0;
+       hash_state *state; /* = (hash_state*)malloc(sizeof(hash_state));*/
+       if (posix_memalign(&buf, 64, sizeof(hash_state))) {
+               FPLOG(FATAL, "No enough memory for hash state!\n");
+               --err;
+               return err;
+       }
+       state = (hash_state*)buf;
        *stat = (void*)state;
        memset(state, 0, sizeof(hash_state));
        state->seq = seq;


Reply via email to