Bug 156844 - [PATCH] net/p5-Net-ext: fix CPAN Bug #43071
Summary: [PATCH] net/p5-Net-ext: fix CPAN Bug #43071
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Frederic Culot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 10:50 UTC by Frank Wall
Modified: 2011-05-28 12:00 UTC (History)
0 users

See Also:


Attachments
file.diff (854 bytes, patch)
2011-05-06 10:50 UTC, Frank Wall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2011-05-06 10:50:12 UTC
The current version of net/p5-Net-ext has a bug that makes it partial incompatible with perl 5.10. A patch exists since 2009, but was not applied yet.

Since perl 5.10 is our default version we should apply the patch.

References:
http://rt.cpan.org/Public/Bug/Display.html?id=43071
http://lists.opensuse.org/opensuse-bugs/2009-09/msg04661.html

Fix: - apply the attached patch

Patch attached with submission follows:
How-To-Repeat: 1. make sure you have perl 5.10 installed: pkg_info -xI perl-5.10
2. install net/p5-Net-ext
3. issue the command: perl -w and then:
use Net::TCP;

Result:

panic: no address for 'Net::TCP::TCP_RPTR2RXT' in 'Gen.c' at /usr/local/lib/perl5/5.10.1/mach/DynaLoader.pm line 223.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.10.1/mach/Net/Gen.pm line 194.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.10.1/mach/Net/Inet.pm line 33.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.10.1/mach/Net/Inet.pm line 33.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.10.1/mach/Net/UDP.pm line 32.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.10.1/mach/Net/UDP.pm line 32.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-06 10:50:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Frederic Culot freebsd_committer freebsd_triage 2011-05-28 10:39:14 UTC
Responsible Changed
From-To: perl->culot

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-05-28 11:58:41 UTC
culot       2011-05-28 10:58:28 UTC

  FreeBSD ports repository

  Modified files:
    net/p5-Net-ext       Makefile 
  Added files:
    net/p5-Net-ext/files patch-Gen.xs 
  Log:
  - Add patch to make p5-Net-ext compatible with perl 5.10
  
  Reference:      http://rt.cpan.org/Public/Bug/Display.html?id=43071
  PR:             ports/156844
  Submitted by:   Frank Wall <fw@moov.de>
  
  Revision  Changes    Path
  1.10      +1 -0      ports/net/p5-Net-ext/Makefile
  1.1       +11 -0     ports/net/p5-Net-ext/files/patch-Gen.xs (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Frederic Culot freebsd_committer freebsd_triage 2011-05-28 11:59:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!