This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Socket to CPAN version 2.016
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Fri, 10 Oct 2014 12:30:39 +0000 (13:30 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Fri, 10 Oct 2014 12:30:39 +0000 (13:30 +0100)
  [DELTA]

2.016   2014/10/08 21:53:10
        [BUGFIXES]
         * Wrap configure tests in a {} block in case of C99-deficient
           compilers (RT99363)
         * #include <stddef.h> so that NULL definitely exists (RT98248)
         * Need to pass NI_NUMERICSERV during unit tests for some OSes not to
           error (VMS) (RT98217)

Porting/Maintainers.pl
cpan/Socket/Makefile.PL
cpan/Socket/Socket.pm

index 1c5342c..8114d9e 100755 (executable)
@@ -987,7 +987,7 @@ use File::Glob qw(:case);
     },
 
     'Socket' => {
-        'DISTRIBUTION' => 'PEVANS/Socket-2.015.tar.gz',
+        'DISTRIBUTION' => 'PEVANS/Socket-2.016.tar.gz',
         'FILES'        => q[cpan/Socket],
         'CUSTOMIZED'   => [
             # Waiting to be merged upstream: see CPAN RT#98217
index 0eadd3f..aa105cd 100644 (file)
@@ -31,6 +31,7 @@ sub check_for
     {
        open( my $file_source_fh, ">", $file_source ) or die "Cannot write $file_source - $!";
        print $file_source_fh <<"EOF";
+#include <stddef.h>
 #include <sys/types.h>
 #ifdef WIN32
 # include <ws2tcpip.h>
@@ -46,7 +47,7 @@ int main(int argc, char *argv[])
   {
     (void)argc;
     (void)argv;
-    $main
+    { $main }
     return 0;
   }
 EOF
index a63e16d..04d0e15 100644 (file)
@@ -3,7 +3,7 @@ package Socket;
 use strict;
 { use 5.006001; }
 
-our $VERSION = '2.015';
+our $VERSION = '2.016';
 
 =head1 NAME