[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1106639: lsdvd ftbfs with current libxml2



Control: tags -1 patch

Please find a patch attached.
From: Bastian Germann <bage@debian.org>
Date: Sat, 16 Aug 2025 12:20:50 +0200
Subject: Fix build with legacy XML handler
---
--- a/oxml.c
+++ b/oxml.c
@@ -44,7 +44,7 @@ ConvertInput(const char *in, const char *encoding)
 		int ret;
 		int temp;
 		temp = size - 1;
-		ret = handler->input(out, &out_size, (const xmlChar *) in, &temp);
+		ret = handler->input.legacyFunc(out, &out_size, (const xmlChar *) in, &temp);
 		if ((ret < 0) || (temp - size + 1)) {
 			if (ret < 0) {
 				printf("ConvertInput: conversion wasn't successful.\n");

Reply to: