diff --git a/Formula/poppler.rb b/Formula/poppler.rb index 182b193e91b..a4ff0e7399e 100644 --- a/Formula/poppler.rb +++ b/Formula/poppler.rb @@ -1,8 +1,8 @@ class Poppler < Formula desc "PDF rendering library (based on the xpdf-3.0 code base)" homepage "https://poppler.freedesktop.org/" - url "https://poppler.freedesktop.org/poppler-22.08.0.tar.xz" - sha256 "b493328721402f25cb7523f9cdc2f7d7c59f45ad999bde75c63c90604db0f20b" + url "https://poppler.freedesktop.org/poppler-22.12.0.tar.xz" + sha256 "d9aa9cacdfbd0f8e98fc2b3bb008e645597ed480685757c3e7bc74b4278d15c0" license "GPL-2.0-only" head "https://gitlab.freedesktop.org/poppler/poppler.git", branch: "master" @@ -13,8 +13,7 @@ class Poppler < Formula bottle do root_url "https://github.com/gromgit/homebrew-core-mojave/releases/download/poppler" - rebuild 1 - sha256 cellar: :any_skip_relocation, mojave: "d7c50357223440bf7c52568c8c218f3743245fb8aa67730ba416ff29f3f46e9f" + sha256 mojave: "25855489cfdf1d1daf51e4aed64e9deab545ff70dbc044b5792c536efee1371f" end depends_on "cmake" => :build @@ -50,10 +49,6 @@ class Poppler < Formula def install ENV.cxx11 - # Fix for BSD sed. Reported upstream at: - # https://gitlab.freedesktop.org/poppler/poppler/-/issues/1290 - inreplace "CMakeLists.txt", "${SED} -i", "\\0 -e" - # removes /usr/include from CFLAGS (not clear why) ENV["PKG_CONFIG_SYSTEM_INCLUDE_PATH"] = "/usr/include" if MacOS.version < :mojave