From 946d512c251bb17326abbbe4506dbf9445c942b0 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 17 Aug 2014 18:56:58 +0000 Subject: [PATCH] - Use USES=compiler:c11 9.3-RELEASE users may encounter build failure due to incorrect cast for _mm_srli_epi64(__A, __B) in emmintrin.h of base gcc. This was fixed in r269948 (head) and MFC'd to stable/9 and stable/10 in r270099. However, 9.3-RELEASE users do not benefit from the fix. In order to solve this problem. We use clang or newer gcc from ports to build this port. Reference: https://svnweb.freebsd.org/base?view=revision&revision=269948 PR: ports/192600 [1], ports/192637 [2] Submitted by: mandree [1], Vladimir Chukharev [2] Thanks to: dim --- graphics/webp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/webp/Makefile b/graphics/webp/Makefile index b3bc8c99f66e..a45bbfbc7b1a 100644 --- a/graphics/webp/Makefile +++ b/graphics/webp/Makefile @@ -30,7 +30,7 @@ CONFIGURE_ARGS= --enable-libwebpdecoder \ --enable-libwebpmux \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig USE_LDCONFIG= yes -USES= libtool +USES= compiler:c11 libtool X11_CONFIGURE_OFF= build_vwebp=no X11_CONFIGURE_ON= build_vwebp=yes