From nobody Sat Jun 18 04:06:45 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 816698389AE; Sat, 18 Jun 2022 04:06:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LQ2R93GZ2z4rwy; Sat, 18 Jun 2022 04:06:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655525205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+bG2WppxzENtLHA19DTwAaFy69nk7GEaH0qpRXni+X0=; b=K7a58H3KjjA4804/IZ2ioWLjXk7ggcOCX2TnQnipoxd3Lv08vwdB+pjb+DH5p8dApFYXdU BJQYK4FL3aMMPeH4l4lwIxiBSXWnh1QKzxC1HjG5QpRQb5fQ6u7U6jEo1Y9hEei3/XQPXJ QA0BqkF9ZxhdJJYUJf98UIDGMZVSmXv3XhZRQJwdU0ffQZCKUJxOhKQfB4MJKr3ncsoP/j +pMQJtyFVxKH0Ug3xr/6ntyh++1nHne/Wen600lgngXaL/Uk3IEBtp5RPaL0LUtJmoaZlo r5IVHcPj/iiIHzWb1xKiGyP8iXndQhDnc8vFhLJ5rXSHuuJRvrZy8wEjqzPmjA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4C82C5594; Sat, 18 Jun 2022 04:06:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25I46j7n010683; Sat, 18 Jun 2022 04:06:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25I46jSS010682; Sat, 18 Jun 2022 04:06:45 GMT (envelope-from git) Date: Sat, 18 Jun 2022 04:06:45 GMT Message-Id: <202206180406.25I46jSS010682@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Danilo G. Baio" Subject: git: fd5978a407e2 - main - mail/pear-Mail_mimeDecode: Fix runtime with PHP 8 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dbaio X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd5978a407e28d5ef4ae0c8c1bf5f5a755a72eaa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655525205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+bG2WppxzENtLHA19DTwAaFy69nk7GEaH0qpRXni+X0=; b=LJnMV0mpg47g0noeLuP7GoM4z30RWEN/Bwo+CAgwqTkAVM2Qm++JScWrWjRpaqVwXDf3Y1 DShwey/q0FvBsna8FVohdNaB1n1krVSPi5xOGQeoKV+ksxVgZlRGDOh2iHqVZRI4S5ig24 5SVSX8JQoyX7rBJmDWe+JCMP0JNuTmMGme4XFHPehHD7kWN6UNT4NLquqy4WievbcZhHAF C+OF42RVKTGXt6KHy9mzZijbcFxM2Xvnbv+I2R3iq1PmyzxsM47wN68opW8KRAIutQ/8Ep HJRLzPq9ttUpSoBihBrQUUqGXb0iefvv0ZyG3hocVxRut9EpBl2BYlmBjyh6BQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655525205; a=rsa-sha256; cv=none; b=oDmqMqSXIzNCg9lBuTRCWDxh90tr+zc24FiC0nObdK3hifWON3k3HKdb1HIo5dy6fZQg5Y Zydn1Fg8oyMwJUoBJTE3riw9a8Ljfrsx3TU+89YNyWRPCO7yyz03rw/p2Yvw296ygrAOkB H5bPMVDCpi5nk+FI71gah293baoBPTR0eLWqRIFoPeAV5RujQlrql6hBlNry/wzyF/u+3X 21G47MJFDY0bBI7vVjY6o94jzUHsg6Ue/mMO+IqxpG8p+uXOZ781H2reSQSbOXlct/d1sy lfncch03PJJ7prgwzRCvSitxKmXbucn8f1KyM0XrwH4KvOfTnxNI6Q1hXuEWjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd5978a407e28d5ef4ae0c8c1bf5f5a755a72eaa commit fd5978a407e28d5ef4ae0c8c1bf5f5a755a72eaa Author: Krzysztof AuthorDate: 2022-06-18 04:02:42 +0000 Commit: Danilo G. Baio CommitDate: 2022-06-18 04:05:59 +0000 mail/pear-Mail_mimeDecode: Fix runtime with PHP 8 PR: 264665 --- mail/pear-Mail_mimeDecode/Makefile | 1 + mail/pear-Mail_mimeDecode/files/patch-Mail_mimeDecode.php | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/mail/pear-Mail_mimeDecode/Makefile b/mail/pear-Mail_mimeDecode/Makefile index 6a78c14199f9..e656d76cd925 100644 --- a/mail/pear-Mail_mimeDecode/Makefile +++ b/mail/pear-Mail_mimeDecode/Makefile @@ -2,6 +2,7 @@ PORTNAME= Mail_mimeDecode PORTVERSION= 1.5.6 +PORTREVISION= 1 CATEGORIES= mail www pear MAINTAINER= dbaio@FreeBSD.org diff --git a/mail/pear-Mail_mimeDecode/files/patch-Mail_mimeDecode.php b/mail/pear-Mail_mimeDecode/files/patch-Mail_mimeDecode.php new file mode 100644 index 000000000000..47eee5aa76bb --- /dev/null +++ b/mail/pear-Mail_mimeDecode/files/patch-Mail_mimeDecode.php @@ -0,0 +1,11 @@ +--- Mail/mimeDecode.php.orig 2016-08-29 03:04:25 UTC ++++ Mail/mimeDecode.php +@@ -834,7 +834,7 @@ class Mail_mimeDecode extends PEAR + + // Replace encoded characters + +- $cb = create_function('$matches', ' return chr(hexdec($matches[0]));'); ++ $cb = function(array $matches) { return chr(hexdec($matches[0])); }; + + $input = preg_replace_callback( '/=([a-f0-9]{2})/i', $cb, $input); +