dae1486d58078c5396501e8823b04defe80b9155
[gentoo.git] / kde-apps / konqueror / files / konqueror-18.08.3-tidyhtml5.patch
1 From 29955abce07526d01f3298da9d2f15bd9eb5e6f4 Mon Sep 17 00:00:00 2001
2 From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
3 Date: Sun, 18 Nov 2018 18:07:32 +0100
4 Subject: [PATCH] Switch to tidy-html5 and use tidybuffio.h instead of buffio.h
5
6 Summary: Header was renamed a few years ago.
7
8 Test Plan: Builds and validates fine.
9
10 Reviewers: #konqueror
11
12 Differential Revision: https://phabricator.kde.org/D16982
13 ---
14  plugins/validators/CMakeLists.txt     | 2 +-
15  plugins/validators/tidy_validator.cpp | 2 +-
16  2 files changed, 2 insertions(+), 2 deletions(-)
17
18 diff --git a/plugins/validators/CMakeLists.txt b/plugins/validators/CMakeLists.txt
19 index cf3b70694..7f6060e9c 100644
20 --- a/plugins/validators/CMakeLists.txt
21 +++ b/plugins/validators/CMakeLists.txt
22 @@ -4,7 +4,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR})
23  find_package(LibTidy)
24  find_package(KF5 REQUIRED KHtml WidgetsAddons IconThemes)
25  set_package_properties(LibTidy PROPERTIES DESCRIPTION "HTML Tidy"
26 -                       URL "http://tidy.sourceforge.net"
27 +                       URL "http://www.html-tidy.org/"
28                         TYPE OPTIONAL
29                         PURPOSE "Gives the Konqueror validators plugin the ability to validate HTML"
30                        )
31 diff --git a/plugins/validators/tidy_validator.cpp b/plugins/validators/tidy_validator.cpp
32 index 3247199f9..ac22429d0 100644
33 --- a/plugins/validators/tidy_validator.cpp
34 +++ b/plugins/validators/tidy_validator.cpp
35 @@ -25,7 +25,7 @@
36  
37  #include <kdebug.h>
38  
39 -#include <buffio.h>
40 +#include <tidybuffio.h>
41  #include <tidy.h>
42  
43  #include <config-konq-validator.h>
44 -- 
45 2.19.1
46