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

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	nagvis
4
PORTNAME=	nagvis
5
PORTVERSION=	1.8.5
5
PORTVERSION=	1.8.5
6
PORTREVISION=	1
6
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
7
MASTER_SITES=	http://www.nagvis.org/share/
8
MASTER_SITES=	http://www.nagvis.org/share/
8
9
(-)files/patch-share_server_core_classes_objects_NagVisService.php (+22 lines)
Line 0 Link Here
1
--- share/server/core/classes/objects/NagVisMapObj.php.orig	2017-12-21 20:54:27.936999000 +0100
2
+++ share/server/core/classes/objects/NagVisMapObj.php	2017-12-21 20:54:31.229491000 +0100
3
@@ -187,7 +187,7 @@
4
      *
5
      * @author	Lars Michelsen <lars@vertical-visions.de>
6
      */
7
-    public function queueState($_unused_flag = true, $_unused_flag = true) {
8
+    public function queueState($_unused_flag = true, $_unused_flag2 = true) {
9
         // Get state of all member objects
10
         foreach($this->getStateRelevantMembers() AS $OBJ) {
11
             // The states of the map objects members only need to be fetched when this
12
--- share/server/core/classes/objects/NagVisService.php.orig	2017-12-21 20:55:07.358180000 +0100
13
+++ share/server/core/classes/objects/NagVisService.php	2017-12-21 20:55:31.487418000 +0100
14
@@ -56,7 +56,7 @@
15
     /**
16
      * Queues state fetching for this object
17
      */
18
-    public function queueState($_unused_flag = true, $_unused_flag = true) {
19
+    public function queueState($_unused_flag = true, $_unused_flag2 = true) {
20
         global $_BACKEND;
21
         $_BACKEND->queue(Array('serviceState' => true), $this);
22
     }
(-)files/patch-share_server_core_ext_php_gettext.php (+40 lines)
Line 0 Link Here
1
--- share/server/core/ext/php-gettext-1.0.9/gettext.php.orig	2017-12-21 20:52:04.548840000 +0100
2
+++ share/server/core/ext/php-gettext-1.0.9/gettext.php	2017-12-21 20:52:26.904652000 +0100
3
@@ -98,7 +98,7 @@
4
    * @param object Reader the StreamReader object
5
    * @param boolean enable_cache Enable or disable caching of strings (default on)
6
    */
7
-  function gettext_reader($Reader, $enable_cache = true) {
8
+  function __construct($Reader, $enable_cache = true) {
9
     // If there isn't a StreamReader, turn on short circuit mode.
10
     if (! $Reader || isset($Reader->error) ) {
11
       $this->short_circuit = true;
12
--- share/server/core/ext/php-gettext-1.0.9/streams.php.orig	2017-12-21 20:52:12.507752000 +0100
13
+++ share/server/core/ext/php-gettext-1.0.9/streams.php	2017-12-21 20:53:08.533635000 +0100
14
@@ -49,7 +49,7 @@
15
   var $_pos;
16
   var $_str;
17
 
18
-  function StringReader($str='') {
19
+  function __construct($str='') {
20
     $this->_str = $str;
21
     $this->_pos = 0;
22
   }
23
@@ -86,7 +86,7 @@
24
   var $_fd;
25
   var $_length;
26
 
27
-  function FileReader($filename) {
28
+  function __construct($filename) {
29
     if (file_exists($filename)) {
30
 
31
       $this->_length=filesize($filename);
32
@@ -143,7 +143,7 @@
33
 // Preloads entire file in memory first, then creates a StringReader
34
 // over it (it assumes knowledge of StringReader internals)
35
 class CachedFileReader extends StringReader {
36
-  function CachedFileReader($filename) {
37
+  function __construct($filename) {
38
     if (file_exists($filename)) {
39
 
40
       $length=filesize($filename);

Return to bug 224510