This patch seems to have been lost. I'm resending the patch
against the OpenSSL_0_9_7-stable branch (Jul 13)
I'd like to have my UnixWare platforms working before I look at
my SCO platforms.
On Sun, 17 Feb 2002, Tim Rice wrote:
>
> Attached is a patch against the OpenSSL_0_9_7-stable branch (Feb 17)
> that fixes the build on UnixWare 2.x
>
> Files changed: Configure, apps/apps.c, and apps/ca.c
>
> I've added -lresolv so it can find strcasecmp().
>
> UnixWare 2.0x does not have strings.h so I changed apps.c and ca.c
It has string.h
> .......
> # ifdef NO_STRINGS_H
> int strcasecmp();
> # else
> # include <strings.h>
> # endif /* NO_STRINGS_H */
> .......
>
--
Tim Rice Multitalents (707) 887-1469
[EMAIL PROTECTED]
--- openssl-0.9.7/Configure.orig Thu Jun 27 09:28:28 2002
+++ openssl-0.9.7/Configure Sun Jun 30 14:13:03 2002
@@ -413,13 +413,13 @@
"linux-elf-arm","gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer
-Wall::-D_REENTRANT:::BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
# UnixWare 2.0x fails destest with -O
-"unixware-2.0","cc:-DFILIO_H::-Kthread::-lsocket -lnsl -lx:${x86_gcc_des}
${x86_gcc_opts}:::",
-"unixware-2.0-pentium","cc:-DFILIO_H -Kpentium::-Kthread::-lsocket -lnsl -lx:MD2_CHAR
RC4_INDEX ${x86_gcc_des}::",
+"unixware-2.0","cc:-DFILIO_H -DNO_STRINGS_H::-Kthread::-lsocket -lnsl -lresolv
+-lx:${x86_gcc_des} ${x86_gcc_opts}:::",
+"unixware-2.0-pentium","cc:-DFILIO_H -DNO_STRINGS_H -Kpentium::-Kthread::-lsocket
+-lnsl -lresolv -lx:MD2_CHAR RC4_INDEX ${x86_gcc_des}::",
# UnixWare 2.1
-"unixware-2.1","cc:-O -DFILIO_H::-Kthread::-lsocket -lnsl -lx:${x86_gcc_des}
${x86_gcc_opts}:::",
-"unixware-2.1-pentium","cc:-O -DFILIO_H -Kpentium::-Kthread::-lsocket -lnsl
-lx:MD2_CHAR RC4_INDEX ${x86_gcc_des}::",
-"unixware-2.1-p6","cc:-O -DFILIO_H -Kp6::-Kthread::-lsocket -lnsl -lx:MD2_CHAR
RC4_INDEX ${x86_gcc_des}::",
+"unixware-2.1","cc:-O -DFILIO_H::-Kthread::-lsocket -lnsl -lresolv -lx:${x86_gcc_des}
+${x86_gcc_opts}:::",
+"unixware-2.1-pentium","cc:-O -DFILIO_H -Kpentium::-Kthread::-lsocket -lnsl -lresolv
+-lx:MD2_CHAR RC4_INDEX ${x86_gcc_des}::",
+"unixware-2.1-p6","cc:-O -DFILIO_H -Kp6::-Kthread::-lsocket -lnsl -lresolv
+-lx:MD2_CHAR RC4_INDEX ${x86_gcc_des}::",
# UnixWare 7
"unixware-7","cc:-O -DFILIO_H -Kalloca::-Kthread::-lsocket -lnsl:BN_LLONG MD2_CHAR
RC4_INDEX
${x86_gcc_des}::::::::::dlfcn:svr5-shared:-Kpic::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
--- openssl-0.9.7/apps/apps.c.orig Tue Jun 18 10:44:01 2002
+++ openssl-0.9.7/apps/apps.c Sun Jun 30 14:11:00 2002
@@ -129,7 +129,11 @@
#ifdef OPENSSL_SYS_WINDOWS
#define strcasecmp _stricmp
#else
-#include <strings.h>
+# ifdef NO_STRINGS_H
+ int strcasecmp();
+# else
+# include <strings.h>
+# endif /* NO_STRINGS_H */
#endif
#ifdef OPENSSL_SYS_WINDOWS
--- openssl-0.9.7/apps/ca.c.orig Sun May 19 09:32:20 2002
+++ openssl-0.9.7/apps/ca.c Sun Jun 30 14:11:00 2002
@@ -80,7 +80,11 @@
#ifdef OPENSSL_SYS_WINDOWS
#define strcasecmp _stricmp
#else
-#include <strings.h>
+# ifdef NO_STRINGS_H
+ int strcasecmp();
+# else
+# include <strings.h>
+# endif /* NO_STRINGS_H */
#endif
#ifndef W_OK