View | Details | Raw Unified | Return to bug 132912
Collapse All | Expand All

(-)p5-Alien-wxWidgets/files/patch-inc-My-Build-Any_wx_config.pm (-19 lines)
Lines 1-19 Link Here
1
--- inc/My/Build/Any_wx_config.pm.orig	2009-03-03 17:05:39.041853122 +0000
2
+++ inc/My/Build/Any_wx_config.pm	2009-03-03 17:13:50.370718202 +0000
3
@@ -123,15 +123,13 @@
4
 
5
     foreach ( split /\s+/, $libs ) {
6
         m{^-[lL]|/} && do { $config{link_libraries} .= " $_"; next; };
7
-        if( $_ eq '-pthread' && $^O =~ m/linux/i ) {
8
+        if( $_ eq '-pthread' && $^O =~ m/(?:linux|freebsd)/i ) {
9
             $config{link_libraries} .= " -lpthread";
10
             next;
11
         }
12
         $config{link_libraries} .= " $_";
13
     }
14
 
15
-    $config{link_libraries} .= ' -lc_r' if $^O =~ /freebsd/i;
16
-
17
     my %dlls = %{$self->wx_config( 'dlls' )};
18
     $config{_libraries} = {};
19
 
(-)p5-Alien-wxWidgets/files/patch-inc-My-Build-Base.pm (+11 lines)
Line 0 Link Here
1
--- inc/My/Build/Base.pm.orig	2009-03-21 00:11:09.000000000 +0100
2
+++ inc/My/Build/Base.pm	2009-03-21 00:11:36.000000000 +0100
3
@@ -108,7 +108,7 @@
4
     $ver =~ m/^(\d+)\.(\d+)\.(\d+)$/ and
5
       $dec = $1 + $2 / 1000 + $3 / 1000000;
6
 
7
-    return $dec;
8
+    return sprintf( "%.6f", $dec );
9
 }
10
 
11
 sub _init_config {

Return to bug 132912