From 9c8f493fce3f24cf0460dfbfb5b3d4c5b69441eb Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Mon, 10 Dec 2018 11:43:35 -0700
Subject: [PATCH] Update libpng to 1.6.36

---
 recipes/libpng/recipe.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/recipes/libpng/recipe.sh b/recipes/libpng/recipe.sh
index c3ccbb914..8acf9f359 100644
--- a/recipes/libpng/recipe.sh
+++ b/recipes/libpng/recipe.sh
@@ -1,4 +1,4 @@
-VERSION=1.6.34
+VERSION=1.6.36
 TAR=https://github.com/glennrp/libpng/archive/v${VERSION}.tar.gz
 BUILD_DEPENDS=(zlib)
 
@@ -13,10 +13,9 @@ function recipe_update {
 }
 
 function recipe_build {
-    sysroot="${PWD}/../sysroot"
+    sysroot="$(realpath ../sysroot)"
     export LDFLAGS="-L$sysroot/lib"
     export CPPFLAGS="-I$sysroot/include"
-
     ./autogen.sh
     chmod +w config.sub
     wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
-- 
GitLab