Skip to content

Commit

Permalink
net/phpldapadmin: patch for php82
Browse files Browse the repository at this point in the history
PR:		274674
MFH:		2023Q4
  • Loading branch information
Krzysztof authored and clausecker committed Oct 27, 2023
1 parent a2d9e92 commit 7e34c31
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions net/phpldapadmin/Makefile
@@ -1,5 +1,6 @@
PORTNAME= phpldapadmin
DISTVERSION= 1.2.6.6
PORTREVISION= 1
CATEGORIES= net www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}

Expand Down
11 changes: 11 additions & 0 deletions net/phpldapadmin/files/patch-lib_Template.php
@@ -0,0 +1,11 @@
--- lib/Template.php.orig 2023-04-01 13:46:16 UTC
+++ lib/Template.php
@@ -56,6 +56,8 @@ class Template extends xmlTemplate {
# Template RDN attributes
private $rdn;

+ private $askcontainer;
+
public function __construct($server_id,$name='',$filename=null,$type=null,$id=null) {
parent::__construct($server_id,$name,$filename,$type,$id);

12 changes: 12 additions & 0 deletions net/phpldapadmin/files/patch-lib_TemplateRender.php
@@ -0,0 +1,12 @@
--- lib/TemplateRender.php.orig 2023-04-01 13:46:16 UTC
+++ lib/TemplateRender.php
@@ -16,6 +16,9 @@ class TemplateRender extends PageRender {
# Page number
private $pagelast;

+ private $url_base;
+ private $layout;
+
/** CORE FUNCTIONS **/

/**
13 changes: 13 additions & 0 deletions net/phpldapadmin/files/patch-lib_page.php
@@ -0,0 +1,13 @@
--- lib/page.php.orig 2023-04-01 13:46:16 UTC
+++ lib/page.php
@@ -25,6 +25,10 @@ class page {
# Default values array.
protected $_default;

+ private $index;
+ private $sysmsg;
+ private $_block;
+
public function __construct($index=null) {
if (defined('DEBUG_ENABLED') && DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS'))
debug_log('Entered (%%)',129,0,__FILE__,__LINE__,__METHOD__,$fargs);
11 changes: 11 additions & 0 deletions net/phpldapadmin/files/patch-lib_schema__functions.php
@@ -0,0 +1,11 @@
--- lib/schema_functions.php.orig 2023-04-01 13:46:16 UTC
+++ lib/schema_functions.php
@@ -734,6 +734,8 @@ class AttributeType extends SchemaItem {
# This attribute has been forced a MAY attribute by the configuration.
private $forced_as_may = false;

+ private $is_obsolete;
+
/**
* Creates a new AttributeType object from a raw LDAP AttributeType string.
*/

0 comments on commit 7e34c31

Please sign in to comment.