File: 1002_support_recent_GtkHTML.patch

package info (click to toggle)
morla 0.16.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,352 kB
  • sloc: ansic: 25,010; sh: 8,903; xml: 224; makefile: 66
file content (24 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/configure.ac
+++ b/configure.ac
@@ -49,8 +49,8 @@
 AC_ARG_WITH(gtkhtml, AC_HELP_STRING([--with-gtkhtml=none|auto (default=auto)],[do you want gtkhtml?]), GTKHTML=$withval, GTKHTML=auto)
 
 PKG_CHECK_MODULES(gtkhtml, [
-  libgtkhtml-2.0 >= 2.0.0
-], gtkhtml="libgtkhtml-2.0 >= 2.0.0", gtkhtml="")
+  libgtkhtml-3.14
+], gtkhtml="libgtkhtml-3.14", gtkhtml="")
 
 if test "$GTKHTML" = none; then
   gtkhtml=""
--- a/src/editor.h
+++ b/src/editor.h
@@ -30,7 +30,7 @@
 #include <redland.h>
 
 #ifdef USE_GTKHTML
-#  include <libgtkhtml/gtkhtml.h>
+#  include <gtkhtml/gtkhtml.h>
 #endif
 
 #ifdef ENABLE_NLS