Change 18846 by [EMAIL PROTECTED] on 2003/03/07 05:28:11

        Subject: [PATCH] FreeBSD 5.0 gethostbyaddr_r hints update
        From: Kay Roepke <[EMAIL PROTECTED]>
        Date: Thu, 06 Mar 2003 23:00:10 +0100
        Message-ID: <[EMAIL PROTECTED]>
        
        (plus change the d_gethostbyaddr_r_proto default to "0",
        that is what an undefined r_proto looks like)

Affected files ...

... //depot/perl/hints/freebsd.sh#31 edit

Differences ...

==== //depot/perl/hints/freebsd.sh#31 (text) ====
Index: perl/hints/freebsd.sh
--- perl/hints/freebsd.sh#30~18283~     Wed Dec 11 02:18:07 2002
+++ perl/hints/freebsd.sh       Thu Mar  6 21:28:11 2003
@@ -220,10 +220,11 @@
              fi
              ldflags="-pthread $ldflags"
              case "$osvers" in
-             4.*)      # 4.x has gethostbyaddr_r but it is
+             4.*|5.0-release*) 
+                       # 4.x and 5.0-release have gethostbyaddr_r but it is
                        # "Temporary function, not threadsafe"...
                        d_gethostbyaddr_r="undef"
-                       d_gethostbyaddr_r_proto="undef"
+                       d_gethostbyaddr_r_proto="0"
                        ;;
              esac
              ;;
End of Patch.

Reply via email to