open-scene-graph: revision for jpeg
patch for jpeg 9 compatibility
This commit is contained in:
parent
523f7f8bb5
commit
3d6f5d963a
1 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,7 @@ class OpenSceneGraph < Formula
|
|||
homepage "https://github.com/openscenegraph/OpenSceneGraph"
|
||||
url "https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-3.5.6.tar.gz"
|
||||
sha256 "58e9436b811d0344723116cb1ada6ef305bdb6d97f42f04a700a29eda17f54b2"
|
||||
revision 1
|
||||
head "https://github.com/openscenegraph/OpenSceneGraph.git"
|
||||
|
||||
bottle do
|
||||
|
@ -42,6 +43,14 @@ class OpenSceneGraph < Formula
|
|||
depends_on "graphviz" => :build
|
||||
end
|
||||
|
||||
# jpeg 9 compatibility
|
||||
# Upstream issue from 18 Feb 2016 "fails to build without -fpermissive"
|
||||
# See https://github.com/openscenegraph/OpenSceneGraph/issues/58
|
||||
patch :p0 do
|
||||
url "https://raw.githubusercontent.com/macports/macports-ports/a54de1ab602/graphics/OpenSceneGraph/files/patch-src_osgPlugins_jpeg_ReaderWriterJPEG.cpp.diff"
|
||||
sha256 "c62a284d1df478a73082bb0c8eae504ffcc8a9e7b00ee541cc00543d6b163c94"
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.cxx11 if build.cxx11?
|
||||
|
||||
|
|
Loading…
Reference in a new issue