biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / perl-modules / alien-sdl.patch
blobb00f7dcce8194d59b828a848afb9bfd61f2c7d87
1 diff --git a/inc/My/Builder/Unix.pm b/inc/My/Builder/Unix.pm
2 index 15291d5..5c5ab24 100644
3 --- a/inc/My/Builder/Unix.pm
4 +++ b/inc/My/Builder/Unix.pm
5 @@ -48,7 +48,7 @@ sub get_additional_libs {
7 sub can_build_binaries_from_sources {
8 my $self = shift;
9 - return 1; # yes we can
10 + return 0; # no we can't
13 sub build_binaries {
14 diff --git a/t/004_get_header_version.t b/t/004_get_header_version.t
15 index d4146ff..27f53ea 100644
16 --- a/t/004_get_header_version.t
17 +++ b/t/004_get_header_version.t
18 @@ -1,8 +1,11 @@
19 # t/004_config.t
21 -use Test::More tests => 1;
22 +use Test::More;
23 use Alien::SDL;
25 +Test::More::plan( skip_all => 'NixOS doesn\'t have SDL headers in this location' );
28 like( Alien::SDL->get_header_version('SDL_version.h'), qr/([0-9]+\.)*[0-9]+/, "Testing SDL_version.h" );
29 #like( Alien::SDL->get_header_version('SDL_net.h'), qr/([0-9]+\.)*[0-9]+/, "Testing SDL_net.h" );
30 #like( Alien::SDL->get_header_version('SDL_image.h'), qr/([0-9]+\.)*[0-9]+/, "Testing SDL_image.h" );