summaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Alien-wxWidgets
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-22 10:38:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-22 10:38:58 +0000
commit8fe526bf29bd95aa201f39bf8b3cbf7593378a3f (patch)
tree548c78efc8f10688b596fc6ed0ed70ef70491ec0 /x11-toolkits/p5-Alien-wxWidgets
parent- Update to 2009.03.21 (diff)
- Fix build after wxgtk2 update
PR: 132912 Submitted by: Cezary Morga <cm@therek.net> Reported by: pavbot
Notes
Notes: svn path=/head/; revision=230638
Diffstat (limited to 'x11-toolkits/p5-Alien-wxWidgets')
-rw-r--r--x11-toolkits/p5-Alien-wxWidgets/Makefile1
-rw-r--r--x11-toolkits/p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Alien-wxWidgets/Makefile b/x11-toolkits/p5-Alien-wxWidgets/Makefile
index 9052e4365947..518e93dd2445 100644
--- a/x11-toolkits/p5-Alien-wxWidgets/Makefile
+++ b/x11-toolkits/p5-Alien-wxWidgets/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Alien-wxWidgets
PORTVERSION= 0.42
+PORTREVISION= 1
CATEGORIES= x11-toolkits perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/x11-toolkits/p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm b/x11-toolkits/p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm
new file mode 100644
index 000000000000..ab6028aa6fce
--- /dev/null
+++ b/x11-toolkits/p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm
@@ -0,0 +1,11 @@
+--- inc/My/Build/Base.pm.orig 2009-03-21 00:11:09.000000000 +0100
++++ inc/My/Build/Base.pm 2009-03-21 00:11:36.000000000 +0100
+@@ -108,7 +108,7 @@
+ $ver =~ m/^(\d+)\.(\d+)\.(\d+)$/ and
+ $dec = $1 + $2 / 1000 + $3 / 1000000;
+
+- return $dec;
++ return sprintf( "%.6f", $dec );
+ }
+
+ sub _init_config {