1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- 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>
This commit is contained in:
Frederic Culot 2011-05-28 10:58:28 +00:00
parent 5ea7ee41c6
commit a1e3231b0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274757
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= Net-ext
PORTVERSION= 1.011
PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View File

@ -0,0 +1,11 @@
--- Gen.xs.orig 2002-04-10 13:05:58.000000000 +0200
+++ Gen.xs 2011-05-06 11:32:45.000000000 +0200
@@ -146,7 +146,7 @@
CV *cv;
klen = strlen(name);
(void) hv_fetch(missing, name, klen, TRUE);
- cv = newXS(name, NULL, file); /* newSUB with no block */
+ cv = newXS(name, Perl_cv_undef, file); /* newSUB with no block */
sv_setsv((SV*)cv, &PL_sv_no); /* prototype it as "()" */
}