Skip to content

Commit 6fa0dc2

Browse files
committed
synfig: fix build
1 parent e6c8ef8 commit 6fa0dc2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Formula/s/synfig.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ class Synfig < Formula
6767
def install
6868
ENV.cxx11
6969

70+
# Workaround to fix error: a template argument list is expected after
71+
# a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
72+
# PR ref: https://github.com/synfig/synfig/pull/3559
73+
if DevelopmentTools.clang_build_version >= 1700
74+
ENV.append_to_cflags "-Wno-missing-template-arg-list-after-template-kw"
75+
end
76+
7077
# missing install-sh in the tarball, and re-generate configure script
7178
# upstream bug report, https://github.com/synfig/synfig/issues/3398
7279
system "autoreconf", "--force", "--install", "--verbose"

0 commit comments

Comments
 (0)