summaryrefslogtreecommitdiff
path: root/www/litehtml/patches/patch-cmake_litehtmlConfig.cmake
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2022-11-30 10:24:35 +0000
committernros <nros@pkgsrc.org>2022-11-30 10:24:35 +0000
commit786c4a370be108c6bb99dce1d8ee2f00ea6183ca (patch)
tree5acc89f1cdea7184eaf1f651ba543254b2636f39 /www/litehtml/patches/patch-cmake_litehtmlConfig.cmake
parent0848c3b846aeab9d8de96366eba47b51e29e01c7 (diff)
downloadpkgsrc-786c4a370be108c6bb99dce1d8ee2f00ea6183ca.tar.gz
add litehtml version 0.6 to pkgsrc-current
litehtml is a lightweight HTML rendering engine with CSS2/CSS3 support. litehtml does not depend on any image/drawing/font library as it does not draw any text, pictures or other graphics itself. The consumer of the library can use any library to draw images, fonts and any other graphics. HTML elements are just placed into the right position by litehtml.
Diffstat (limited to 'www/litehtml/patches/patch-cmake_litehtmlConfig.cmake')
-rw-r--r--www/litehtml/patches/patch-cmake_litehtmlConfig.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/litehtml/patches/patch-cmake_litehtmlConfig.cmake b/www/litehtml/patches/patch-cmake_litehtmlConfig.cmake
new file mode 100644
index 00000000000..84531f98c8f
--- /dev/null
+++ b/www/litehtml/patches/patch-cmake_litehtmlConfig.cmake
@@ -0,0 +1,13 @@
+$NetBSD: patch-cmake_litehtmlConfig.cmake,v 1.1 2022/11/30 10:24:35 nros Exp $
+
+* The gumbo package does not install cmake packages so this line breaks
+ find_package(litehtml) . This line is not needed when litehtml is used
+ as a shared library.
+
+--- cmake/litehtmlConfig.cmake.orig 2021-09-03 06:59:31.000000000 +0000
++++ cmake/litehtmlConfig.cmake
+@@ -1,3 +1,3 @@
+ include(CMakeFindDependencyMacro)
+-find_dependency(gumbo)
++#find_dependency(gumbo)
+ include(${CMAKE_CURRENT_LIST_DIR}/litehtmlTargets.cmake)