openbsd-ports/graphics/hugin/patches/patch-CMakeModules_FindPNG_cmake
2010-10-20 15:32:40 +00:00

12 lines
397 B
Plaintext

$OpenBSD: patch-CMakeModules_FindPNG_cmake,v 1.3 2010/10/20 15:32:40 sthen Exp $
--- CMakeModules/FindPNG.cmake.orig Sat Sep 4 21:51:34 2010
+++ CMakeModules/FindPNG.cmake Sat Sep 4 21:51:35 2010
@@ -22,6 +22,7 @@ SET(PNG_FOUND "NO")
IF (ZLIB_FOUND)
FIND_PATH(PNG_INCLUDE_DIR png.h
+ ${LOCALBASE}/include/libpng
/usr/local/include
/usr/include
${SOURCE_BASE_DIR}/lpng142