[Python-apps-commits] r5925 - in packages/pyrit/trunk/debian/patches (2 files)

chrisk-guest at users.alioth.debian.org chrisk-guest at users.alioth.debian.org
Tue Jul 27 20:51:59 UTC 2010


    Date: Tuesday, July 27, 2010 @ 20:51:58
  Author: chrisk-guest
Revision: 5925

Drop patch disabling optimizations on i386; together with 0012-*, support of
SSE2 is properly detected during runtime (as is VIA PADLOCK support).

Modified:
  packages/pyrit/trunk/debian/patches/series
Deleted:
  packages/pyrit/trunk/debian/patches/0008-disable-optimizations-on-i386.patch

Deleted: packages/pyrit/trunk/debian/patches/0008-disable-optimizations-on-i386.patch
===================================================================
--- packages/pyrit/trunk/debian/patches/0008-disable-optimizations-on-i386.patch	2010-07-27 20:09:03 UTC (rev 5924)
+++ packages/pyrit/trunk/debian/patches/0008-disable-optimizations-on-i386.patch	2010-07-27 20:51:58 UTC (rev 5925)
@@ -1,44 +0,0 @@
-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. Also, disable VIA PADLOCK on i386.
-
-This is a Debian-specific fix. This fix is expected to disappear in later
-revisions of Pyrit (e.g. by building multiple extensions, optimized for various
-platforms). See also debian/TODO.
-
-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-05-20 11:52:08.000000000 +0200
-+++ pyrit-0.3.0/cpyrit/_cpyrit_cpu.h	2010-07-07 17:08:17.225842958 +0200
-@@ -19,7 +19,6 @@
- */
- 
- #ifdef __i386__
--    #define COMPILE_PADLOCK
-     #if defined(linux)
-         #define MCTX_EIP(context) ((context)->uc_mcontext.gregs[REG_EIP])
-     #elif defined(__APPLE__)
-@@ -29,14 +28,14 @@
-             #define MCTX_EIP(context) (*((unsigned long*)&(context)->uc_mcontext->ss.eip))
-         #endif
-         #define MAP_ANONYMOUS MAP_ANON
--    #else
--        #undef COMPILE_PADLOCK
-     #endif
- #endif
- 
- 
- #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-27 20:09:03 UTC (rev 5924)
+++ packages/pyrit/trunk/debian/patches/series	2010-07-27 20:51:58 UTC (rev 5925)
@@ -5,7 +5,6 @@
 0005-Link-against-libcrypto-not-libssl.patch
 0006-custom-config-file.patch
 0007-add-option-to-limit-cores.patch
-0008-disable-optimizations-on-i386.patch
 0009-exception-handling-fix.patch
 0010-Add-SHA1-licensing-update-from-upstream.patch
 0011-fix-list-index-error.patch




More information about the Python-apps-commits mailing list