aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2011-05-28 18:58:28 +0800
committerculot <culot@FreeBSD.org>2011-05-28 18:58:28 +0800
commit7f4e032a533e5cddd80fa4452077b3f7b5dc4507 (patch)
tree3681d24c626a51b55c4f935e95ded5383e85c650 /net
parent653f56dcd721ee5cb83f91907295a7708d216d02 (diff)
downloadfreebsd-ports-gnome-7f4e032a533e5cddd80fa4452077b3f7b5dc4507.tar.gz
freebsd-ports-gnome-7f4e032a533e5cddd80fa4452077b3f7b5dc4507.tar.zst
freebsd-ports-gnome-7f4e032a533e5cddd80fa4452077b3f7b5dc4507.zip
- 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>
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-ext/Makefile1
-rw-r--r--net/p5-Net-ext/files/patch-Gen.xs11
2 files changed, 12 insertions, 0 deletions
diff --git a/net/p5-Net-ext/Makefile b/net/p5-Net-ext/Makefile
index fceb99459360..865acef60914 100644
--- a/net/p5-Net-ext/Makefile
+++ b/net/p5-Net-ext/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Net-ext
PORTVERSION= 1.011
+PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/net/p5-Net-ext/files/patch-Gen.xs b/net/p5-Net-ext/files/patch-Gen.xs
new file mode 100644
index 000000000000..0d14fe43e867
--- /dev/null
+++ b/net/p5-Net-ext/files/patch-Gen.xs
@@ -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 "()" */
+ }
+