Skip to content

Commit

Permalink
[email protected]: revision bump (icu4c 68.2)
Browse files Browse the repository at this point in the history
- Fix compilation of [email protected] with icu4c 68.
- Disable for one year after deprecation.

Closes #71274.

Co-authored-by: Carlo Cabrera <[email protected]>
Signed-off-by: Carlo Cabrera <[email protected]>
  • Loading branch information
derrabus and carlocab committed Feb 27, 2021
1 parent 6e9be96 commit 1fd7ec4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -64,6 +64,10 @@ def install
# 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"

Expand Down

0 comments on commit 1fd7ec4

Please sign in to comment.