[Python-apps-commits] r5773 - in packages/pyrit/trunk/debian (3 files)

chrisk-guest at users.alioth.debian.org chrisk-guest at users.alioth.debian.org
Tue Jul 6 22:07:25 UTC 2010


    Date: Tuesday, July 6, 2010 @ 22:07:21
  Author: chrisk-guest
Revision: 5773

Add patch to disable SSE2 support on i386

Added:
  packages/pyrit/trunk/debian/patches/0008-disable-SSE2-on-i386.patch
Modified:
  packages/pyrit/trunk/debian/changelog
  packages/pyrit/trunk/debian/patches/series

Modified: packages/pyrit/trunk/debian/changelog
===================================================================
--- packages/pyrit/trunk/debian/changelog	2010-07-06 19:58:59 UTC (rev 5772)
+++ packages/pyrit/trunk/debian/changelog	2010-07-06 22:07:21 UTC (rev 5773)
@@ -9,5 +9,6 @@
     - 0005-Link-against-libcrypto-not-libssl
     - 0006-custom-config-file
     - 0007-add-option-to-limit-cores
+    - 0008-disable-SSE2-on-i386.patch
 
  -- Christian Kastner <debian at kvr.at>  Thu, 20 May 2010 14:43:26 +0200

Added: packages/pyrit/trunk/debian/patches/0008-disable-SSE2-on-i386.patch
===================================================================
--- packages/pyrit/trunk/debian/patches/0008-disable-SSE2-on-i386.patch	                        (rev 0)
+++ packages/pyrit/trunk/debian/patches/0008-disable-SSE2-on-i386.patch	2010-07-06 22:07:21 UTC (rev 5773)
@@ -0,0 +1,24 @@
+From: Christian Kastner <debian at kvr.at>
+Date: Tue, 6 Jul 2010 23:46:27 +0200
+Subject: [PATCH] Disable SSE2 on i386
+
+Disable SSE2 support on i386 as we cannot guarantee that all i386 processors
+support this instruction set.
+
+Bug: http://code.google.com/p/pyrit/issues/detail?id=24
+Last-Update: 2010-07-06
+Index: pyrit-0.3.0/cpyrit/_cpyrit_cpu.h
+===================================================================
+--- pyrit-0.3.0.orig/cpyrit/_cpyrit_cpu.h	2010-07-06 23:50:59.265843532 +0200
++++ pyrit-0.3.0/cpyrit/_cpyrit_cpu.h	2010-07-07 00:00:06.593840568 +0200
+@@ -36,7 +36,9 @@
+ 
+ 
+ #if (defined(__i386__) || defined(__x86_64__))
+-    #define COMPILE_SSE2
++    #ifdef __x86_64__
++        #define COMPILE_SSE2
++    #endif
+     #define PUT_BE(n,b,i)                            \
+     {                                                       \
+         (b)[(i)    ] = (unsigned char) ( (n) >> 24 );       \

Modified: packages/pyrit/trunk/debian/patches/series
===================================================================
--- packages/pyrit/trunk/debian/patches/series	2010-07-06 19:58:59 UTC (rev 5772)
+++ packages/pyrit/trunk/debian/patches/series	2010-07-06 22:07:21 UTC (rev 5773)
@@ -1,7 +1 @@
-0001-Add-OpenSSL-linking-exception-from-upstream.patch
-0002-Clean-up-after-unit-tests.patch
-0003-Add-man-page-for-pyrit-1.patch
-0004-Fixed-deprecation-warning-generated-by-sql-alchemy.patch
-0005-Link-against-libcrypto-not-libssl.patch
-0006-custom-config-file.patch
-0007-add-option-to-limit-cores.patch
+0008-disable-SSE2-on-i386.patch




More information about the Python-apps-commits mailing list