summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {