diff -Nru libdispatch-0~svn197/debian/changelog libdispatch-0~svn197/debian/changelog --- libdispatch-0~svn197/debian/changelog 2011-07-02 11:52:35.000000000 +0900 +++ libdispatch-0~svn197/debian/changelog 2012-07-10 02:06:11.000000000 +0900 @@ -1,3 +1,10 @@ +libdispatch (0~svn197-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix use SSE2 instructions in i386. (Closes: #660806) + + -- Nobuhiro Iwamatsu Tue, 10 Jul 2012 02:05:06 +0900 + libdispatch (0~svn197-3) unstable; urgency=low * Replace individual patches with a combined libdispatch-r197_v2 patch. diff -Nru libdispatch-0~svn197/debian/patches/avoid-mfence-on-i386.patch libdispatch-0~svn197/debian/patches/avoid-mfence-on-i386.patch --- libdispatch-0~svn197/debian/patches/avoid-mfence-on-i386.patch 1970-01-01 09:00:00.000000000 +0900 +++ libdispatch-0~svn197/debian/patches/avoid-mfence-on-i386.patch 2012-07-10 02:15:56.000000000 +0900 @@ -0,0 +1,20 @@ +Description: Fix use SSE2 instructions in i386. +libdispatch0 uses SSE2 instructions ("MFENCE") which are not available on a Pentium 3. This patch fix this problem. +Bug-Debian: http://bugs.debian.org/660806 +Forwarded: None +Author: Stefan Bühler +Last-Update: 2012-07-10 + +Index: libdispatch-0~svn197/src/hw_shims.h +=================================================================== +--- libdispatch-0~svn197.orig/src/hw_shims.h 2010-12-24 07:30:44.000000000 -0800 ++++ libdispatch-0~svn197/src/hw_shims.h 2012-02-23 05:03:21.910448577 -0800 +@@ -48,7 +48,7 @@ + #define dispatch_atomic_sub(p, v) __sync_sub_and_fetch((p), (v)) + #define dispatch_atomic_or(p, v) __sync_fetch_and_or((p), (v)) + #define dispatch_atomic_and(p, v) __sync_fetch_and_and((p), (v)) +-#if defined(__i386__) || defined(__x86_64__) ++#if 0 && defined(__i386__) || defined(__x86_64__) + /* GCC emits nothing for __sync_synchronize() on i386/x86_64. */ + #define dispatch_atomic_barrier() __asm__ __volatile__("mfence") + #else diff -Nru libdispatch-0~svn197/debian/patches/series libdispatch-0~svn197/debian/patches/series --- libdispatch-0~svn197/debian/patches/series 2011-07-02 11:44:11.000000000 +0900 +++ libdispatch-0~svn197/debian/patches/series 2012-07-10 02:10:58.000000000 +0900 @@ -1,2 +1,3 @@ libdispatch-r197_v2.patch disable_dispatch_read.patch +avoid-mfence-on-i386.patch