[BACK]Return to patch-src_mserv.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / doomlegacy / patches

Annotation of pkgsrc/games/doomlegacy/patches/patch-src_mserv.c, Revision 1.1

1.1     ! micha       1: $NetBSD$
        !             2:
        !             3: Use native inet_aton() on Solaris.
        !             4:
        !             5: --- src/mserv.c.orig   2020-05-10 22:05:17.000000000 +0000
        !             6: +++ src/mserv.c
        !             7: @@ -210,7 +210,9 @@ struct Copy_CVarMS_t
        !             8:  #define close closesocket
        !             9:  #endif
        !            10:
        !            11: -#if defined( WIN32) || defined( __OS2__) || defined( SOLARIS)
        !            12: +// For pkgsrc: Use native inet_aton() on Solaris
        !            13: +// Solaris has inet_aton() in libresolv since version 2.6 from 1997
        !            14: +#if defined( WIN32) || defined( __OS2__) // || defined( SOLARIS)
        !            15:  // it seems windows doesn't define that... maybe some other OS? OS/2
        !            16:  static inline
        !            17:  int inet_aton(const char *hostname,

CVSweb <webmaster@jp.NetBSD.org>