diff --git a/Formula/a/acl.rb b/Formula/a/acl.rb index 6be1a398d5848..c3ee7196058fd 100644 --- a/Formula/a/acl.rb +++ b/Formula/a/acl.rb @@ -4,6 +4,7 @@ class Acl < Formula url "https://download.savannah.nongnu.org/releases/acl/acl-2.3.2.tar.gz" sha256 "5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c" license all_of: ["GPL-2.0-or-later", "LGPL-2.1-or-later"] + head "https://git.savannah.nongnu.org/git/acl.git", branch: "next" livecheck do url "https://download.savannah.nongnu.org/releases/acl/" @@ -17,8 +18,12 @@ class Acl < Formula depends_on "attr" => :build depends_on :linux + depends_on 'autoconf' + depends_on 'gettext' + depends_on 'libtool' def install + system "./autogen.sh" system "./configure", *std_configure_args, "--disable-silent-rules" system "make", "install" end diff --git a/Formula/b/berkeley-db@5.rb b/Formula/b/berkeley-db@5.rb index 98d0b3fef5a79..3d29648392531 100644 --- a/Formula/b/berkeley-db@5.rb +++ b/Formula/b/berkeley-db@5.rb @@ -72,6 +72,7 @@ def install end args = %W[ + --disable-mutexsupport --disable-static --prefix=#{prefix} --mandir=#{man} diff --git a/Formula/c/cyrus-sasl.rb b/Formula/c/cyrus-sasl.rb index 662201e51950e..45011e45eaa52 100644 --- a/Formula/c/cyrus-sasl.rb +++ b/Formula/c/cyrus-sasl.rb @@ -27,6 +27,8 @@ class CyrusSasl < Formula uses_from_macos "libxcrypt" def install + ENV.append "CFLAGS", "-Wno-incompatible-pointer-types" + ENV.append "CFLAGS", "-Wno-implicit-function-declaration" system "./configure", "--disable-macos-framework", "--disable-dependency-tracking", diff --git a/Formula/g/ghostscript.rb b/Formula/g/ghostscript.rb index 0c3f4cc394a87..a81d4c9c538e7 100644 --- a/Formula/g/ghostscript.rb +++ b/Formula/g/ghostscript.rb @@ -64,6 +64,9 @@ def install libs = %w[expat freetype jbig2dec jpeg lcms2mt leptonica libpng openjpeg tesseract tiff zlib] libs.each { |l| rm_r(buildpath/l) } + ENV.append "CFLAGS", "-Wno-incompatible-pointer-types" + ENV.append "CFLAGS", "-Wno-int-conversion" + configure = build.head? ? "./autogen.sh" : "./configure" args = %w[--disable-compile-inits @@ -72,6 +75,7 @@ def install --with-system-libtiff --without-x] + args.delete("--with-system-libtiff") # aarch64 linux temporary workaround # Set the correct library install names so that `brew` doesn't need to fix them up later. ENV["DARWIN_LDFLAGS_SO_PREFIX"] = "#{opt_lib}/" system configure, *std_configure_args, *args diff --git a/Formula/r/rtmpdump.rb b/Formula/r/rtmpdump.rb index b65545e678f0a..0a7e4d8b11b3f 100644 --- a/Formula/r/rtmpdump.rb +++ b/Formula/r/rtmpdump.rb @@ -42,6 +42,7 @@ class Rtmpdump < Formula def install ENV.deparallelize + ENV.append "CFLAGS", "-Wno-incompatible-pointer-types" os = if OS.mac? "darwin" diff --git a/Formula/x/xmlto.rb b/Formula/x/xmlto.rb index 536bce9f76337..62ddd43d83d54 100644 --- a/Formula/x/xmlto.rb +++ b/Formula/x/xmlto.rb @@ -40,6 +40,8 @@ def install ENV["GETOPT"] = Formula["gnu-getopt"].opt_bin/"getopt" if OS.mac? # Find our docbook catalog ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog" + + ENV.append "CFLAGS", "-Wno-implicit-int" ENV.deparallelize system "autoreconf", "--install"