summaryrefslogtreecommitdiff
path: root/package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-04-07 07:01:20 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-04-07 07:01:20 +0000
commitbd14b0e70f5b5b1d1e308bab6af0821e5894de57 (patch)
treec54e3de32f31211307367cc7150801c6181dbaaf /package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch
parenta933ef66bfd34b4d1c484f08da914e2626bb5a5e (diff)
openssl: bump version
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>, closes #217 Fixes multiple security flaws - See http://www.openssl.org/news/secadv_20090325.txt for details.
Diffstat (limited to 'package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch')
-rw-r--r--package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch b/package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch
new file mode 100644
index 000000000..eb1d27798
--- /dev/null
+++ b/package/openssl/openssl-0.9.8k-uclibc-susv3-legacy.patch
@@ -0,0 +1,18 @@
+sys/timeb.h / ftime are legacy, so don't enable them for uClibc
+---
+ apps/speed.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: openssl-0.9.8g/apps/speed.c
+===================================================================
+--- openssl-0.9.8g.orig/apps/speed.c
++++ openssl-0.9.8g/apps/speed.c
+@@ -113,7 +113,7 @@
+ #elif !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VXWORKS) && (!defined(OPENSSL_SYS_VMS) || defined(__DECC))
+ # 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(__UCLIBC__) /* FIXME */
+ # define TIMEB
+ #endif
+