diff options
Diffstat (limited to 'sdk/recipes/patches/openssl/ppc-amigaos/no-term.p')
-rw-r--r-- | sdk/recipes/patches/openssl/ppc-amigaos/no-term.p | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sdk/recipes/patches/openssl/ppc-amigaos/no-term.p b/sdk/recipes/patches/openssl/ppc-amigaos/no-term.p new file mode 100644 index 0000000..097bbb4 --- /dev/null +++ b/sdk/recipes/patches/openssl/ppc-amigaos/no-term.p @@ -0,0 +1,24 @@ +--- crypto/ui/ui_openssl.c.orig 2011-03-08 22:37:51.000000000 +0000 ++++ crypto/ui/ui_openssl.c 2011-03-08 22:39:00.000000000 +0000 +@@ -214,6 +214,12 @@ + #undef SGTTY + #endif + ++#if defined(OPENSSL_SYS_AMIGAOS4) ++#undef TERMIOS ++#undef TERMIO ++#undef SGTTY ++#endif ++ + #ifdef TERMIOS + # include <termios.h> + # define TTY_STRUCT struct termios +@@ -262,7 +268,7 @@ + typedef int sig_atomic_t; + #endif + +-#if defined(OPENSSL_SYS_MACINTOSH_CLASSIC) || defined(MAC_OS_GUSI_SOURCE) || defined(OPENSSL_SYS_NETWARE) ++#if defined(OPENSSL_SYS_MACINTOSH_CLASSIC) || defined(MAC_OS_GUSI_SOURCE) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_AMIGAOS4) + /* + * This one needs work. As a matter of fact the code is unoperational + * and this is only a trick to get it compiled. |