Package: tidy-html5 / 1:5.2.0-2

Metadata

Package Version Patches format
tidy-html5 1:5.2.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Add compatibility headers.patch | (download)

CMakeLists.txt | 6 6 + 0 - 0 !
include/buffio.h | 6 6 + 0 - 0 !
include/platform.h | 6 6 + 0 - 0 !
3 files changed, 18 insertions(+)

 add compatibility headers

In older versions of tidy, these headers were defined. Now, they are
renamed to tidybuffio.h and tidyplatform.h. This may be more of a
consistent naming scheme, but it breaks current software.

Re-add these headers and add compile time warning when such a header
is used.

upstream_Set HAS_FUTIME 0 on any GNU libc platform.patch | (download)

include/tidyplatform.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] set has_futime=0 on any gnu libc platform

GNU libc does not have <sys/utime.h> but <utime.h>, so set HAS_FUTIME=0
for it; fixes build on non-Linux platforms using GNU libc.

upstream_Avoid crash in tidyCleanAndRepair if document was no.patch | (download)

src/tidylib.c | 15 12 + 3 - 0 !
1 file changed, 12 insertions(+), 3 deletions(-)

 [patch] avoid crash in tidycleanandrepair if document was not loaded

These services can only be used when there is a document loaded, ie a
lexer created.  But really should not be calling a Clean and Repair
service with no doc!