[vlc-commits] contrib/png: require at least libpng 1.5.4

Sean McGovern git at videolan.org
Sat Apr 15 18:23:19 CEST 2017


vlc | branch: master | Sean McGovern <gseanmcg at gmail.com> | Sat Apr 15 10:19:19 2017 -0400| [df7d1159b81b8907e5144739fc92da8eed202d9c] | committer: Rémi Denis-Courmont

contrib/png: require at least libpng 1.5.4

png_set_alpha_mode() was not introduced until this version.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df7d1159b81b8907e5144739fc92da8eed202d9c
---

 contrib/src/png/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/png/rules.mak b/contrib/src/png/rules.mak
index 3bcfa77848..9a05170afc 100644
--- a/contrib/src/png/rules.mak
+++ b/contrib/src/png/rules.mak
@@ -3,7 +3,7 @@ PNG_VERSION := 1.6.29
 PNG_URL := $(SF)/libpng/libpng16/$(PNG_VERSION)/libpng-$(PNG_VERSION).tar.xz
 
 PKGS += png
-ifeq ($(call need_pkg,"libpng"),)
+ifeq ($(call need_pkg,"libpng >= 1.5.4"),)
 PKGS_FOUND += png
 endif
 



More information about the vlc-commits mailing list