HomeFreeBSD

net/pear-Net_IPv6: Fix for PHP < 8

Description

net/pear-Net_IPv6: Fix for PHP < 8

Previously added patches use str_ends_with(), which is only available
in php 8 and newer. This commit adds to the patch a definition of
str_ends_with() in the case it is undefined in an earlier version.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D36219

Details

Provenance
linnemannr_gmail.comAuthored on Aug 16 2022, 6:31 PM
gargaCommitted on Aug 16 2022, 6:34 PM
Differential Revision
D36219: net/pear-Net_IPv6: Add patch defining str_ends_with() for php<8
Parents
R11:6cb70ed52ab5: misc/zoneinfo: Update to 2022c and fix plist
Branches
Unknown
Tags
Unknown