openbsd-ports/graphics/hugin/patches/patch-CMakeModules_FindPNG_cmake

12 lines
400 B
Plaintext

$OpenBSD: patch-CMakeModules_FindPNG_cmake,v 1.2 2010/05/29 01:23:55 sthen Exp $
--- CMakeModules/FindPNG.cmake.orig Fri Sep 4 21:45:27 2009
+++ CMakeModules/FindPNG.cmake Fri Sep 4 21:45:27 2009
@@ -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
${wxWidgets_ROOT_DIR}/src/png