Skip to content

Commit

Permalink
Add workarounds to build on macos 15 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Sep 16, 2024
1 parent b99d34b commit c6822a6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def install
add_expect_lib
add_expect_headers
Dir.chdir "expect-#{version}"
ENV.append "CFLAGS", "-Wno-incompatible-function-pointer-types"
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, *args
system "make"
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class ImagickAT84 < AbstractPhpExtension
depends_on "imagemagick"

def install
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
Dir.chdir "imagick-#{version}"
safe_phpize
system "./configure"
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def install
inreplace "php_lua.h", "include \"l", "include \"lua/l"
inreplace "lua_closure.c", "include \"l", "include \"lua/l"
inreplace "lua_closure.c", "lua/lua_closure.h", "lua_closure.h"
ENV.append "CFLAGS", "-Wno-incompatible-function-pointer-types"
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, *args
system "make"
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class McryptAT72 < AbstractPhpExtension
def install
# Work around configure issues with Xcode 12
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
ENV.append "CFLAGS", "-Wno-implicit-int"

resource("libmcrypt").stage do
# Workaround for ancient config files not recognising aarch64 macos.
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class McryptAT73 < AbstractPhpExtension
def install
# Work around configure issues with Xcode 12
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
ENV.append "CFLAGS", "-Wno-implicit-int"

resource("libmcrypt").stage do
# Workaround for ancient config files not recognising aarch64 macos.
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class McryptAT74 < AbstractPhpExtension
def install
# Work around configure issues with Xcode 12
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
ENV.append "CFLAGS", "-Wno-implicit-int"

resource("libmcrypt").stage do
# Workaround for ancient config files not recognising aarch64 macos.
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class McryptAT80 < AbstractPhpExtension
def install
# Work around configure issues with Xcode 12
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
ENV.append "CFLAGS", "-Wno-implicit-int"

resource("libmcrypt").stage do
# Workaround for ancient config files not recognising aarch64 macos.
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class McryptAT81 < AbstractPhpExtension
def install
# Work around configure issues with Xcode 12
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
ENV.append "CFLAGS", "-Wno-implicit-int"

resource("libmcrypt").stage do
# Workaround for ancient config files not recognising aarch64 macos.
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class McryptAT82 < AbstractPhpExtension
def install
# Work around configure issues with Xcode 12
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
ENV.append "CFLAGS", "-Wno-implicit-int"

resource("libmcrypt").stage do
# Workaround for ancient config files not recognising aarch64 macos.
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class McryptAT83 < AbstractPhpExtension
def install
# Work around configure issues with Xcode 12
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
ENV.append "CFLAGS", "-Wno-implicit-int"

resource("libmcrypt").stage do
# Workaround for ancient config files not recognising aarch64 macos.
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class McryptAT84 < AbstractPhpExtension
def install
# Work around configure issues with Xcode 12
ENV.append "CFLAGS", "-Wno-implicit-function-declaration"
ENV.append "CFLAGS", "-Wno-implicit-int"

resource("libmcrypt").stage do
# Workaround for ancient config files not recognising aarch64 macos.
Expand Down
1 change: 1 addition & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def install
--with-ssh2=shared,#{Formula["libssh2"].opt_prefix}
]
Dir.chdir "ssh2-#{version}"
ENV.append "CFLAGS", "-Wno-incompatible-function-pointer-types"
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, *args
system "make"
Expand Down

0 comments on commit c6822a6

Please sign in to comment.