summaryrefslogtreecommitdiff
path: root/package/openssl/patches/patch-apps_speed_c
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/openssl/patches/patch-apps_speed_c
Initial import
Diffstat (limited to 'package/openssl/patches/patch-apps_speed_c')
-rw-r--r--package/openssl/patches/patch-apps_speed_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/openssl/patches/patch-apps_speed_c b/package/openssl/patches/patch-apps_speed_c
new file mode 100644
index 000000000..3fd410d7a
--- /dev/null
+++ b/package/openssl/patches/patch-apps_speed_c
@@ -0,0 +1,16 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- openssl-0.9.8i.orig/apps/speed.c 2007-11-15 14:33:47.000000000 +0100
++++ openssl-0.9.8i/apps/speed.c 2008-10-22 11:47:28.000000000 +0200
+@@ -110,10 +110,10 @@
+
+ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(OPENSSL_SYS_MACOSX)
+ # define USE_TOD
+-#elif !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC))
++#elif !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC)) && defined(__linux__)
+ # define TIMES
+ #endif
+-#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(OPENSSL_SYS_MPE) && !defined(__NetBSD__) && !defined(OPENSSL_SYS_VXWORKS) /* FIXME */
++#if !defined(_UNICOS) && !defined(__OpenBSD__) && !defined(sgi) && !defined(__FreeBSD__) && !(defined(__bsdi) || defined(__bsdi__)) && !defined(_AIX) && !defined(OPENSSL_SYS_MPE) && !defined(__NetBSD__) && !defined(OPENSSL_SYS_VXWORKS) && !defined(__linux__) /* FIXME */
+ # define TIMEB
+ #endif
+