<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/71aea0925d5f644ebf397cfb2ca434580f9ee7e9">https://github.com/macports/macports-ports/commit/71aea0925d5f644ebf397cfb2ca434580f9ee7e9</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 71aea09 libsndfile: - Update to version 1.0.28 - removes the newly introduced -Wvla option which breaks build on MacOS 10.6.8
</span>71aea09 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 71aea0925d5f644ebf397cfb2ca434580f9ee7e9
</span>Author: Frank Schima <mf2k@macports.org>
AuthorDate: Sun May 14 09:01:41 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> libsndfile:
</span><span style='display:block; white-space:pre;color:#404040;'> - Update to version 1.0.28
</span><span style='display:block; white-space:pre;color:#404040;'> - removes the newly introduced -Wvla option which breaks build on MacOS 10.6.8
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/54009
</span>---
audio/libsndfile/Portfile | 9 ++++++---
audio/libsndfile/files/patch-Wvla.diff | 11 +++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libsndfile/Portfile b/audio/libsndfile/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2040a69..97553ec 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/libsndfile/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libsndfile/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
name libsndfile
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.0.27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.0.28
</span> categories audio
maintainers stare.cz:hans
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,12 +16,15 @@ homepage http://www.mega-nerd.com/libsndfile/
</span> master_sites ${homepage}files/
checksums \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 df7b8931cb96faa815add7abc43b482fb62ebf67 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a391952f27f4a92ceb2b4c06493ac107896ed6c76be9a613a4731f076d30fac0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 f8803966802afe2b5a35cda28c2f764d91c48f37 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9
</span>
depends_build port:pkgconfig
depends_lib port:flac port:libogg port:libvorbis
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# GCC < 4.3 does not have -Wvla
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Wvla.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args \
--disable-alsa \
--disable-octave \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libsndfile/files/patch-Wvla.diff b/audio/libsndfile/files/patch-Wvla.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..a022043
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libsndfile/files/patch-Wvla.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2017-04-26 10:10:42.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2017-04-26 10:10:56.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20828,7 +20828,7 @@ rm -f core conftest.err conftest.$ac_obj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ common_flags="-Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wundef -Wuninitialized -Winit-self"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -Winline -Wconversion "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CFLAGS="$CFLAGS $common_flags -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Wvla"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CFLAGS="$CFLAGS $common_flags -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXXFLAGS="$CXXFLAGS $common_flags -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$enable_gcc_opt" = "xno" ; then
</span></pre><pre style='margin:0'>
</pre>