php@7.2: revision bump (icu4c 68.2)

- Fix compilation of php@7.2 with icu4c 68.
- Disable for one year after deprecation.

Closes #71274.

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
master
Alexander M. Turek 2020-11-03 19:29:32 +01:00 committed by Carlo Cabrera
parent 6e9be960cb
commit 1fd7ec48dc
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0
1 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@ class PhpAT72 < Formula
mirror "https://fossies.org/linux/www/php-7.2.34.tar.xz"
sha256 "409e11bc6a2c18707dfc44bc61c820ddfd81e17481470f3405ee7822d8379903"
license "PHP-3.01"
revision 1
revision 2
bottle do
sha256 big_sur: "e39495f5389c97e3e3e1c2b0ea47832cdff5e5db25e671da0f918d0fc74a7137"
@ -16,7 +16,7 @@ class PhpAT72 < Formula
keg_only :versioned_formula
deprecate! date: "2020-11-30", because: :versioned_formula
disable! date: "2021-11-30", because: :deprecated_upstream
depends_on "httpd" => [:build, :test]
depends_on "pkg-config" => :build
@ -64,6 +64,10 @@ class PhpAT72 < Formula
# See https://bugs.php.net/bug.php?id=80171
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
# Workaround for https://bugs.php.net/80310
ENV.append "CFLAGS", "-DU_DEFINE_FALSE_AND_TRUE=1"
ENV.append "CXXFLAGS", "-DU_DEFINE_FALSE_AND_TRUE=1"
# buildconf required due to system library linking bug patch
system "./buildconf", "--force"