libgd: update to 2.3.1

Remove upstreamed patches. Add one to fix finding libwebp.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-02-20 21:13:08 -08:00
parent 69cdbb9980
commit dc5e0d0ccd
5 changed files with 29 additions and 70 deletions
+25
View File
@@ -0,0 +1,25 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -116,7 +116,7 @@ else (USE_EXT_GD)
endif (ENABLE_ICONV)
IF (ENABLE_WEBP)
- FIND_PACKAGE(WEBP REQUIRED)
+ FIND_PACKAGE(WebP REQUIRED)
ENDIF (ENABLE_WEBP)
IF (ENABLE_LIQ)
@@ -166,10 +166,10 @@ else (USE_EXT_GD)
LIST(APPEND PKG_REQUIRES_PRIVATES zlib)
ENDIF(ZLIB_FOUND)
- IF(WEBP_FOUND)
- INCLUDE_DIRECTORIES(${WEBP_INCLUDE_DIR})
+ IF(WebP_FOUND)
+ INCLUDE_DIRECTORIES(${WebP_INCLUDE_DIR})
SET(HAVE_LIBWEBP 1)
- ENDIF(WEBP_FOUND)
+ ENDIF(WebP_FOUND)
IF(PNG_FOUND)
INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})