Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package html-xml-utils for openSUSE:Factory 
checked in at 2025-07-07 14:44:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/html-xml-utils (Old)
 and      /work/SRC/openSUSE:Factory/.html-xml-utils.new.1903 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "html-xml-utils"

Mon Jul  7 14:44:43 2025 rev:13 rq:1290763 version:8.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/html-xml-utils/html-xml-utils.changes    
2025-03-16 19:00:06.068270756 +0100
+++ /work/SRC/openSUSE:Factory/.html-xml-utils.new.1903/html-xml-utils.changes  
2025-07-07 14:44:46.767966740 +0200
@@ -1,0 +2,10 @@
+Sat Jun 28 08:46:43 UTC 2025 - Sebastian Wagner <se...@sebix.at>
+
+- Fix compilation error on tumbleweed with fix-dtd-declaration.patch:
+  dtd.hash:117:1: error: conflicting types for ‘lookup_element’; have ‘const 
ElementType *(const char *, size_t)’ {aka ‘const struct _ElementType *(const 
char *, long unsigned int)’}
+    117 | link,           0, 1, 0, 1, 0, 0, 1, 0, {"head", NULL}
+        | ^~~~~~~~~~~~~~~~~~~~~~~
+  dtd.hash:46:28: note: previous declaration of ‘lookup_element’ with type 
‘const ElementType *(void)’ {aka ‘const struct _ElementType *(void)’}
+- Add basic check section.
+
+-------------------------------------------------------------------

New:
----
  fix-dtd-declaration.patch

----------(New B)----------
  New:
- Fix compilation error on tumbleweed with fix-dtd-declaration.patch:
  dtd.hash:117:1: error: conflicting types for ‘lookup_element’; have ‘const 
ElementType *(const char *, size_t)’ {aka ‘const struct _ElementType *(const 
char *, long unsigned int)’}
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ html-xml-utils.spec ++++++
--- /var/tmp/diff_new_pack.HHCDrP/_old  2025-07-07 14:44:47.523998305 +0200
+++ /var/tmp/diff_new_pack.HHCDrP/_new  2025-07-07 14:44:47.523998305 +0200
@@ -24,6 +24,8 @@
 Group:          Development/Languages/Other
 URL:            https://www.w3.org/Tools/HTML-XML-utils/
 Source:         
https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix-dtd-declaration.patch -- fix compilation error on 
conflicting declarations
+Patch0:         fix-dtd-declaration.patch
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  libcurl-devel
@@ -34,7 +36,7 @@
 converting HTML and XML files in various ways.
 
 %prep
-%setup -q
+%autosetup -p1
 chmod -x ChangeLog README
 
 %build
@@ -45,9 +47,72 @@
 %make_install
 rm %{buildroot}%{_datadir}/doc/%{name}/COPYING
 
+%check
+%{buildroot}%{_bindir}/hxextract h1
+
 %files
 %doc ChangeLog README
 %license COPYING
-%{_bindir}/*
-%{_mandir}/man1/*.1*
+%{_bindir}/asc2xml
+%{_bindir}/hxaddid
+%{_bindir}/hxcite
+%{_bindir}/hxcite-mkbib
+%{_bindir}/hxclean
+%{_bindir}/hxcopy
+%{_bindir}/hxcount
+%{_bindir}/hxextract
+%{_bindir}/hxincl
+%{_bindir}/hxindex
+%{_bindir}/hxmkbib
+%{_bindir}/hxmultitoc
+%{_bindir}/hxname2id
+%{_bindir}/hxnormalize
+%{_bindir}/hxnsxml
+%{_bindir}/hxnum
+%{_bindir}/hxpipe
+%{_bindir}/hxprintlinks
+%{_bindir}/hxprune
+%{_bindir}/hxref
+%{_bindir}/hxremove
+%{_bindir}/hxselect
+%{_bindir}/hxtabletrans
+%{_bindir}/hxtoc
+%{_bindir}/hxuncdata
+%{_bindir}/hxunent
+%{_bindir}/hxunpipe
+%{_bindir}/hxunxmlns
+%{_bindir}/hxwls
+%{_bindir}/hxxmlns
+%{_bindir}/xml2asc
+%{_mandir}/man1/asc2xml.1.gz
+%{_mandir}/man1/hxaddid.1.gz
+%{_mandir}/man1/hxcite-mkbib.1.gz
+%{_mandir}/man1/hxcite.1.gz
+%{_mandir}/man1/hxclean.1.gz
+%{_mandir}/man1/hxcopy.1.gz
+%{_mandir}/man1/hxcount.1.gz
+%{_mandir}/man1/hxextract.1.gz
+%{_mandir}/man1/hxincl.1.gz
+%{_mandir}/man1/hxindex.1.gz
+%{_mandir}/man1/hxmkbib.1.gz
+%{_mandir}/man1/hxmultitoc.1.gz
+%{_mandir}/man1/hxname2id.1.gz
+%{_mandir}/man1/hxnormalize.1.gz
+%{_mandir}/man1/hxnsxml.1.gz
+%{_mandir}/man1/hxnum.1.gz
+%{_mandir}/man1/hxpipe.1.gz
+%{_mandir}/man1/hxprintlinks.1.gz
+%{_mandir}/man1/hxprune.1.gz
+%{_mandir}/man1/hxref.1.gz
+%{_mandir}/man1/hxremove.1.gz
+%{_mandir}/man1/hxselect.1.gz
+%{_mandir}/man1/hxtabletrans.1.gz
+%{_mandir}/man1/hxtoc.1.gz
+%{_mandir}/man1/hxuncdata.1.gz
+%{_mandir}/man1/hxunent.1.gz
+%{_mandir}/man1/hxunpipe.1.gz
+%{_mandir}/man1/hxunxmlns.1.gz
+%{_mandir}/man1/hxwls.1.gz
+%{_mandir}/man1/hxxmlns.1.gz
+%{_mandir}/man1/xml2asc.1.gz
 

++++++ fix-dtd-declaration.patch ++++++
--- html-xml-utils-8.7/dtd.c    2025-06-28 10:44:08.062000908 +0200
+++ html-xml-utils-8.7/dtd.c    2025-06-28 10:44:31.310766962 +0200
@@ -74,8 +74,7 @@
 } ElementType;
 
 /* lookup_element -- look up the string in the hash table */
-EXPORT const ElementType * lookup_element(/* register const char *str,
-                                         register unsigned int len */);
+EXPORT const ElementType * lookup_element(register const char *str, register 
size_t len);
 
 /* Different kinds of parent elements: */
 #define PHRASE "abbr", "acronym", "b", "bdi", "bdo", "big", "cite", "code", 
"dfn", "em", "i", "kbd", "q", "s", "samp", "small", "span", "strong", "sub", 
"sup", "time", "tt", "u", "var"

Reply via email to