On Mon, May 23, 2005, Henri Gomez wrote:

> here is what I added in openssl.patch to make it works on AIX 5.2 :
>
> --- fips/rand/fips_rand.c.orig  2005-05-23 17:39:36.000000000 +0200
> +++ fips/rand/fips_rand.c       2005-05-23 17:39:29.000000000 +0200
> @@ -56,7 +56,9 @@
>  /* If we don't define _XOPEN_SOURCE_EXTENDED, struct timeval won't
>     be defined and gettimeofday() won't be declared with strict compilers
>     like DEC C in ANSI C mode.  */
> +#ifndef _XOPEN_SOURCE_EXTENDED
>  #define _XOPEN_SOURCE_EXTENDED
> +#endif
>
>  #include <openssl/des.h>
>  #include <openssl/rand.h>

This patch is already applied to the OpenSSL version we have in
OpenPKG-CURRENT. Before submitting a patch we should take over, keep in
mind that we _ALWAYS_ (and there are NO exceptions) apply changes to
OpenPKG-CURRENT and only merge them onto RELEASE/SOLID branches. Hence,
in those cases always check the OpenPKG-CURRENT package first. It safes
you time.

> --- config.orig 2005-05-23 17:43:46.000000000 +0200
> +++ config      2005-05-23 16:35:35.000000000 +0200
> @@ -469,6 +469,7 @@
>
>  if [ "${SYSTEM}" = "AIX" ]; then       # favor vendor cc over gcc
>      (cc) 2>&1 | grep -iv "not found" > /dev/null && CC=cc
> +    (gcc) 2>&1 | grep -iv "not found" > /dev/null && CC=gcc
>  fi
>
>  CCVER=${CCVER:-0}

As the comment implies, OpenSSL prefers the vendor cc over gcc on AIX.
What is the reason you prefer gcc on AIX? Is it just because you like
gcc more or failed the vendor cc to compile OpenSSL?

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to