Package: php-net-imap Version: 1:1.1.3-1 Followup-For: Bug #819338 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu xenial ubuntu-patch
Oops. Follow-on patch, the IMAPProtocol class has the same issue. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru php-net-imap-1.1.3/debian/control php-net-imap-1.1.3/debian/control --- php-net-imap-1.1.3/debian/control 2016-03-26 17:17:31.000000000 -0700 +++ php-net-imap-1.1.3/debian/control 2016-03-26 17:39:12.000000000 -0700 @@ -1,8 +1,7 @@ Source: php-net-imap Section: php Priority: optional -Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> -XSBC-Original-Maintainer: Dario Minnucci <mid...@debian.org> +Maintainer: Dario Minnucci <mid...@debian.org> Build-Depends: debhelper (>= 9), pkg-php-tools Standards-Version: 3.9.5 Homepage: http://pear.php.net/package/Net_IMAP diff -Nru php-net-imap-1.1.3/debian/patches/php7-constructors.patch php-net-imap-1.1.3/debian/patches/php7-constructors.patch --- php-net-imap-1.1.3/debian/patches/php7-constructors.patch 2016-03-26 17:15:26.000000000 -0700 +++ php-net-imap-1.1.3/debian/patches/php7-constructors.patch 2016-03-26 17:33:51.000000000 -0700 @@ -15,3 +15,16 @@ $port = 143, $enableSTARTTLS = true, $encoding = 'ISO-8859-1') +Index: php-net-imap-1.1.3/Net_IMAP-1.1.3/Net/IMAPProtocol.php +=================================================================== +--- php-net-imap-1.1.3.orig/Net_IMAP-1.1.3/Net/IMAPProtocol.php ++++ php-net-imap-1.1.3/Net_IMAP-1.1.3/Net/IMAPProtocol.php +@@ -165,7 +165,7 @@ + * + * @since 1.0 + */ +- function Net_IMAPProtocol() ++ function __construct() + { + $this->_socket = new Net_Socket(); +