LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-Thread-Queue-use_lib.patch of Package perl-Thread-Queue (Project home:jayvdb:autotools)

Index: Thread-Queue-2.12/lib/Thread/Queue.pm
===================================================================
--- Thread-Queue-2.12.orig/lib/Thread/Queue.pm
+++ Thread-Queue-2.12/lib/Thread/Queue.pm
@@ -2,6 +2,7 @@ package Thread::Queue;
 
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 our $VERSION = '2.12';
 $VERSION = eval $VERSION;
Index: Thread-Queue-2.12/t/01_basic.t
===================================================================
--- Thread-Queue-2.12.orig/t/01_basic.t
+++ Thread-Queue-2.12/t/01_basic.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 BEGIN {
     use Config;
Index: Thread-Queue-2.12/t/02_refs.t
===================================================================
--- Thread-Queue-2.12.orig/t/02_refs.t
+++ Thread-Queue-2.12/t/02_refs.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 BEGIN {
     use Config;
Index: Thread-Queue-2.12/t/03_peek.t
===================================================================
--- Thread-Queue-2.12.orig/t/03_peek.t
+++ Thread-Queue-2.12/t/03_peek.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 BEGIN {
     use Config;
Index: Thread-Queue-2.12/t/04_errs.t
===================================================================
--- Thread-Queue-2.12.orig/t/04_errs.t
+++ Thread-Queue-2.12/t/04_errs.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 use Thread::Queue;
 
Index: Thread-Queue-2.12/t/05_extract.t
===================================================================
--- Thread-Queue-2.12.orig/t/05_extract.t
+++ Thread-Queue-2.12/t/05_extract.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 BEGIN {
     use Config;
Index: Thread-Queue-2.12/t/06_insert.t
===================================================================
--- Thread-Queue-2.12.orig/t/06_insert.t
+++ Thread-Queue-2.12/t/06_insert.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 BEGIN {
     use Config;
Index: Thread-Queue-2.12/t/07_lock.t
===================================================================
--- Thread-Queue-2.12.orig/t/07_lock.t
+++ Thread-Queue-2.12/t/07_lock.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 BEGIN {
     use Config;
Index: Thread-Queue-2.12/t/08_nothreads.t
===================================================================
--- Thread-Queue-2.12.orig/t/08_nothreads.t
+++ Thread-Queue-2.12/t/08_nothreads.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 use Test::More 'tests' => 32;
 
Index: Thread-Queue-2.12/t/99_pod.t
===================================================================
--- Thread-Queue-2.12.orig/t/99_pod.t
+++ Thread-Queue-2.12/t/99_pod.t
@@ -1,5 +1,6 @@
 use strict;
 use warnings;
+use lib '__vendorperl__';
 
 use Test::More;
 if ($ENV{RUN_MAINTAINER_TESTS}) {
Index: Thread-Queue-2.12/t/test.pl
===================================================================
--- Thread-Queue-2.12.orig/t/test.pl
+++ Thread-Queue-2.12/t/test.pl
@@ -1,4 +1,5 @@
 package Test::More;     # Test::More work-alike for Perl 5.8.0
+use lib '__vendorperl__';
 
 require Exporter;
 our @ISA = qw(Exporter);