pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40191: [UPDATE] net/p5-Socket6 0.22 -> 0.23
>Number: 40191
>Category: pkg
>Synopsis: [UPDATE] net/p5-Socket6 0.22 -> 0.23
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Dec 15 23:25:00 +0000 2008
>Originator: Jens Rehsack
>Release: none
>Organization:
Bayer Business Services
>Environment:
FreeBSD waldorf.muppets.liwing.de 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sun
Nov 30 16:24:55 UTC 2008
root%waldorf.muppets.liwing.de@localhost:/usr/obj/usr/src/sys/WALDORF amd64
>Description:
2008-11-02 Hajimu UMEMOTO <ume%mahoroba.org@localhost>
* Socket6.pm: Bump version number to 0.23.
* Makefile.PL (configure_mswin32): Added a conditional #define for
HAVE_INET_(PTON|NTOP) to make the module.
Change was necessary because the SDK for Vista now includes
inet_(pton|ntop) in ws2tcpip.h
Submitted by: "David M. Town" <dtown%cpan.org@localhost>
* Makefile.PL (configure_mswin32): Added a line to #define
HAVE_SOCKLEN_T since it is defined for MSWin32
Submitted by: "David M. Town" <dtown%cpan.org@localhost>
* Socket6.pm: Added @EXPORT_OK to export AF_INET6 and PF_INET6 if
requested. This allows the use of the Socke6 module without
having to perform the same conditional check that was added to
avoid conflicts with the Socket module default exports (i.e. use
Socket6 qw(AF_INET6 inet_pton inet_ntop); )
Submitted by: "David M. Town" <dtown%cpan.org@localhost>
* Socket6.pm (AUTOLOAD): Explicitly set $! = 0 before calling
constant(). This should not be required since errno was being set
to 0 in the C function, but Perl 5.10.0 Win32 Vista needed this to
be done or all constants reported unsupported.
Submitted by: "David M. Town" <dtown%cpan.org@localhost>
The patch in patches/patch-aa is a workaround for the pkgsrc on AIX problem:
perl uses cc_r to compile (and all modules will need do that, too) - but pkgsrc
sets CC=cc - which results in compiler error.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/p5-Socket6/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile 5 Nov 2008 15:25:34 -0000 1.29
+++ Makefile 15 Dec 2008 23:16:59 -0000
@@ -22,5 +22,12 @@
USE_LANGUAGES= c
MAKE_ENV+= CCFLAGS="${CFLAGS} ${CPPFLAGS}"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "AIX" && ${PKGSRC_COMPILER} == "xlc"
+MAKE_ENV+= CC="cc_r"
+.endif
+cc=cc_r
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/p5-Socket6/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo 5 Nov 2008 14:58:20 -0000 1.9
+++ distinfo 15 Dec 2008 23:16:59 -0000
@@ -3,3 +3,4 @@
SHA1 (Socket6-0.23.tar.gz) = f6598055e40d71fe3bab9881d38995f8677ee90a
RMD160 (Socket6-0.23.tar.gz) = c45f3024e64cd3b1d43226fdc44f1f7dd54ddcaf
Size (Socket6-0.23.tar.gz) = 57859 bytes
+SHA1 (patch-aa) = e62617f27b3fda22e62d1e383535c1e003a070f1
Index: patches/patch-aa
===================================================================
--- /dev/null 2008-12-15 23:11:01.000000000 +0000
+++ patches/patch-aa 2008-11-14 19:15:35.000000000 +0000
@@ -0,0 +1,10 @@
+--- Makefile.PL.orig 2008-11-14 20:14:49.000000000 +0100
++++ Makefile.PL 2008-11-14 20:15:01.000000000 +0100
+@@ -46,7 +46,6 @@
+ MAN3PODS => {}, # Pods will be built by installman.
+ XSPROTOARG => '-noprototypes', # XXX remove later?
+ PM => {'Socket6.pm' => '$(INST_LIBDIR)/Socket6.pm'},
+- CONFIGURE => sub { { CC => "${cc}" } },
+ LIBS => ["${libs}"],
+ realclean => {FILES => 'config.cache config.h config.log config.pl
config.status gailookup.pl'},
+ );
Home |
Main Index |
Thread Index |
Old Index