forked from pool/perl-JSON
- fix provides - JSON::PP is really another module
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
17847c63a7
commit
aae7f2cbc4
14
fix_provides.diff
Normal file
14
fix_provides.diff
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: perl-JSON/JSON-2.51/lib/JSON/backportPP.pm
|
||||
===================================================================
|
||||
--- perl-JSON.orig/JSON-2.51/lib/JSON/backportPP.pm 2011-03-08 07:30:52.000000000 +0100
|
||||
+++ perl-JSON/JSON-2.51/lib/JSON/backportPP.pm 2011-04-05 10:21:44.246841693 +0200
|
||||
@@ -1286,7 +1286,8 @@ BEGIN {
|
||||
}
|
||||
|
||||
if ($] >= 5.008 and $] < 5.008003) { # join() in 5.8.0 - 5.8.2 is broken.
|
||||
- package JSON::PP;
|
||||
+ package
|
||||
+ JSON::PP;
|
||||
require subs;
|
||||
subs->import('join');
|
||||
eval q|
|
Reference in New Issue
Block a user