diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-12-28 16:08:57 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-12-28 16:08:57 +0000 |
commit | 620bde212731fc7ac4d85084b2c6bfbccd50d2f8 (patch) | |
tree | 7fac15080e393ca169bb81243947853454547caa /package/openssl/openssl-0.9.8g-uclibc-susv3-legacy.patch | |
parent | f3e68e7f9b82a2fa7d12afbe406c63462bd95f90 (diff) |
openssl: fix uclibc 0.9.30 build
Diffstat (limited to 'package/openssl/openssl-0.9.8g-uclibc-susv3-legacy.patch')
-rw-r--r-- | package/openssl/openssl-0.9.8g-uclibc-susv3-legacy.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/openssl/openssl-0.9.8g-uclibc-susv3-legacy.patch b/package/openssl/openssl-0.9.8g-uclibc-susv3-legacy.patch new file mode 100644 index 000000000..eb1d27798 --- /dev/null +++ b/package/openssl/openssl-0.9.8g-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 + |