diff --git a/www/piwigo/Makefile b/www/piwigo/Makefile index ba9a3b3400df..be8d5272cf4c 100644 --- a/www/piwigo/Makefile +++ b/www/piwigo/Makefile @@ -3,6 +3,7 @@ PORTNAME= piwigo DISTVERSION= 2.9.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://piwigo.org/download/dlcounter.php?code=${PORTVERSION}&/ diff --git a/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php b/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php new file mode 100644 index 000000000000..be2ae9eb7b1d --- /dev/null +++ b/www/piwigo/files/patch-plugins_AdminTools_include_MultiView.class.php @@ -0,0 +1,20 @@ +--- plugins/AdminTools/include/MultiView.class.php.orig 2018-07-13 13:24:00 UTC ++++ plugins/AdminTools/include/MultiView.class.php +@@ -38,7 +38,7 @@ class MultiView + ); + + $this->data_url_params = array_keys($this->data); +- $this->data_url_params = array_map(create_function('$d', 'return "ato_".$d;'), $this->data_url_params); ++ $this->data_url_params = array_map(function($d) { return 'ato_'.$d; }, $this->data_url_params); + } + + /** +@@ -226,7 +226,7 @@ class MultiView + } + if ($this->data['no_history']) + { +- $ret_false = create_function('', 'return false;'); ++ $ret_false = function() {return false;}; + add_event_handler('pwg_log_allowed', $ret_false); + add_event_handler('pwg_log_update_last_visit', $ret_false); + } diff --git a/www/piwigo/files/patch-plugins_AdminTools_main.inc.php b/www/piwigo/files/patch-plugins_AdminTools_main.inc.php new file mode 100644 index 000000000000..e625b4a5f681 --- /dev/null +++ b/www/piwigo/files/patch-plugins_AdminTools_main.inc.php @@ -0,0 +1,11 @@ +--- plugins/AdminTools/main.inc.php.orig 2018-07-13 13:24:01 UTC ++++ plugins/AdminTools/main.inc.php +@@ -1,7 +1,7 @@ +