poppler 0.64.0
This commit is contained in:
parent
33017ec40d
commit
66a8bd4739
1 changed files with 11 additions and 3 deletions
|
@ -1,9 +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-0.63.0.tar.xz"
|
||||
sha256 "27cc8addafc791e1a26ce6acc2b490926ea73a4f89196dd8a7742cff7cf8a111"
|
||||
revision 1
|
||||
url "https://poppler.freedesktop.org/poppler-0.64.0.tar.xz"
|
||||
sha256 "b21df92ca99f78067785cf2dc8e06deb04726b62389c0ee1f5d8b103c77f64b1"
|
||||
head "https://anongit.freedesktop.org/git/poppler/poppler.git"
|
||||
|
||||
bottle do
|
||||
|
@ -47,6 +46,15 @@ class Poppler < Formula
|
|||
needs :cxx11 if build.with?("qt") || MacOS.version < :mavericks
|
||||
|
||||
def install
|
||||
# Remove for > 0.64.0
|
||||
# Fix "error: implicit instantiation of undefined template 'std::__1::array<double, 257>'"
|
||||
# Upstream issue from 18 Apr 2018 "0.64.0 build with qt5 fails"
|
||||
# See https://bugs.freedesktop.org/show_bug.cgi?id=106118
|
||||
if build.with? "qt"
|
||||
inreplace "qt5/src/ArthurOutputDev.cc", /#include <QPicture>/,
|
||||
"\\0\n#include <array>"
|
||||
end
|
||||
|
||||
ENV.cxx11 if build.with?("qt") || MacOS.version < :mavericks
|
||||
|
||||
args = std_cmake_args + %w[
|
||||
|
|
Loading…
Reference in a new issue