Sergey Skvortsov 2012-02-06 12:03:29 +00:00
parent c58bbd0e66
commit 4cf8edc874
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290485
3 changed files with 3 additions and 36 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= bugzilla
PORTVERSION= 4.0.3
PORTVERSION= 4.0.4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= webtools webtools/archived

View File

@ -1,2 +1,2 @@
SHA256 (bugzilla/bugzilla-4.0.3.tar.gz) = 0b24b5b44f9f14dd127f86bb2e560ac99e1dfba258bc0d8677968a9f3633435c
SIZE (bugzilla/bugzilla-4.0.3.tar.gz) = 2991669
SHA256 (bugzilla/bugzilla-4.0.4.tar.gz) = 67c321306e1f796ff1d159083dcdaba7e72c3ec5742292cb5980c23c46e2dc4d
SIZE (bugzilla/bugzilla-4.0.4.tar.gz) = 2801949

View File

@ -1,33 +0,0 @@
Bug-Id: 706753
Summary: Bugzilla will not work with newest version of
JSON::RPC 1.01 due to non-backward compatibility
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=706753
Index: Bugzilla/WebService/Server/JSONRPC.pm
===================================================================
RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/WebService/Server/JSONRPC.pm,v
retrieving revision 1.18
diff -p -u -r1.18 JSONRPC.pm
--- Bugzilla/WebService/Server/JSONRPC.pm 14 Feb 2011 20:18:51 -0000 1.18
+++ Bugzilla/WebService/Server/JSONRPC.pm 5 Jan 2012 00:04:31 -0000
@@ -22,7 +22,18 @@
package Bugzilla::WebService::Server::JSONRPC;
use strict;
-use base qw(JSON::RPC::Server::CGI Bugzilla::WebService::Server);
+use Bugzilla::WebService::Server;
+BEGIN {
+ our @ISA = qw(Bugzilla::WebService::Server);
+
+ if (eval { require JSON::RPC::Server::CGI }) {
+ unshift(@ISA, 'JSON::RPC::Server::CGI');
+ }
+ else {
+ require JSON::RPC::Legacy::Server::CGI;
+ unshift(@ISA, 'JSON::RPC::Legacy::Server::CGI');
+ }
+}
use Bugzilla::Error;
use Bugzilla::WebService::Constants;