diff options
| author | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-03-12 04:01:18 +0100 |
|---|---|---|
| committer | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-03-12 04:01:18 +0100 |
| commit | ddd8e1a8fab2ac39396282a7c09ddf6eca219613 (patch) | |
| tree | 12796519575126d60e06d02e9eab68856229cf58 /repos/clang/libxml2 | |
| parent | b5a8a6c29e40f786ceb808c0b95f01c4251111d1 (diff) | |
| download | alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.tar.gz alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.zip | |
clang repos updated
Diffstat (limited to 'repos/clang/libxml2')
| -rw-r--r-- | repos/clang/libxml2/.checksum | 2 | ||||
| -rw-r--r-- | repos/clang/libxml2/.files | 138 | ||||
| -rw-r--r-- | repos/clang/libxml2/abuild | 7 | ||||
| -rw-r--r-- | repos/clang/libxml2/depends | 1 | ||||
| -rw-r--r-- | repos/clang/libxml2/overflow.patch | 95 |
5 files changed, 243 insertions, 0 deletions
diff --git a/repos/clang/libxml2/.checksum b/repos/clang/libxml2/.checksum new file mode 100644 index 00000000..33e67062 --- /dev/null +++ b/repos/clang/libxml2/.checksum @@ -0,0 +1,2 @@ +453920a5af6eeb2ef19fd77ddca3fdb6dc79fb723d1bf9442484162879d7d909 libxml2-2.13.5.tar.xz +4de7d0ba62928f5b885071df954120f083d99a663d64dd0ad4cdbad4d29733b8 overflow.patch diff --git a/repos/clang/libxml2/.files b/repos/clang/libxml2/.files new file mode 100644 index 00000000..fe07a324 --- /dev/null +++ b/repos/clang/libxml2/.files @@ -0,0 +1,138 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/xml2-config +-rwxr-xr-x root/root usr/bin/xmlcatalog +-rwxr-xr-x root/root usr/bin/xmllint +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/libxml2/ +drwxr-xr-x root/root usr/include/libxml2/libxml/ +-rw-r--r-- root/root usr/include/libxml2/libxml/HTMLparser.h +-rw-r--r-- root/root usr/include/libxml2/libxml/HTMLtree.h +-rw-r--r-- root/root usr/include/libxml2/libxml/SAX.h +-rw-r--r-- root/root usr/include/libxml2/libxml/SAX2.h +-rw-r--r-- root/root usr/include/libxml2/libxml/c14n.h +-rw-r--r-- root/root usr/include/libxml2/libxml/catalog.h +-rw-r--r-- root/root usr/include/libxml2/libxml/chvalid.h +-rw-r--r-- root/root usr/include/libxml2/libxml/debugXML.h +-rw-r--r-- root/root usr/include/libxml2/libxml/dict.h +-rw-r--r-- root/root usr/include/libxml2/libxml/encoding.h +-rw-r--r-- root/root usr/include/libxml2/libxml/entities.h +-rw-r--r-- root/root usr/include/libxml2/libxml/globals.h +-rw-r--r-- root/root usr/include/libxml2/libxml/hash.h +-rw-r--r-- root/root usr/include/libxml2/libxml/list.h +-rw-r--r-- root/root usr/include/libxml2/libxml/nanoftp.h +-rw-r--r-- root/root usr/include/libxml2/libxml/nanohttp.h +-rw-r--r-- root/root usr/include/libxml2/libxml/parser.h +-rw-r--r-- root/root usr/include/libxml2/libxml/parserInternals.h +-rw-r--r-- root/root usr/include/libxml2/libxml/pattern.h +-rw-r--r-- root/root usr/include/libxml2/libxml/relaxng.h +-rw-r--r-- root/root usr/include/libxml2/libxml/schemasInternals.h +-rw-r--r-- root/root usr/include/libxml2/libxml/schematron.h +-rw-r--r-- root/root usr/include/libxml2/libxml/threads.h +-rw-r--r-- root/root usr/include/libxml2/libxml/tree.h +-rw-r--r-- root/root usr/include/libxml2/libxml/uri.h +-rw-r--r-- root/root usr/include/libxml2/libxml/valid.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xinclude.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xlink.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlIO.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlautomata.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlerror.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlexports.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlmemory.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlmodule.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlreader.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlregexp.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlsave.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlschemas.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlschemastypes.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlstring.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlunicode.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlversion.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xmlwriter.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xpath.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xpathInternals.h +-rw-r--r-- root/root usr/include/libxml2/libxml/xpointer.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/libxml2/ +-rw-r--r-- root/root usr/lib/cmake/libxml2/libxml2-config.cmake +lrwxrwxrwx root/root usr/lib/libxml2.so -> libxml2.so.2.13.5 +lrwxrwxrwx root/root usr/lib/libxml2.so.2 -> libxml2.so.2.13.5 +-rwxr-xr-x root/root usr/lib/libxml2.so.2.13.5 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libxml-2.0.pc +drwxr-xr-x root/root usr/lib/python3.13/ +drwxr-xr-x root/root usr/lib/python3.13/site-packages/ +drwxr-xr-x root/root usr/lib/python3.13/site-packages/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.13/site-packages/__pycache__/drv_libxml2.cpython-313.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.13/site-packages/__pycache__/drv_libxml2.cpython-313.pyc +-rw-r--r-- root/root usr/lib/python3.13/site-packages/__pycache__/libxml2.cpython-313.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.13/site-packages/__pycache__/libxml2.cpython-313.pyc +-rw-r--r-- root/root usr/lib/python3.13/site-packages/drv_libxml2.py +-rw-r--r-- root/root usr/lib/python3.13/site-packages/libxml2.py +-rwxr-xr-x root/root usr/lib/python3.13/site-packages/libxml2mod.so +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/aclocal/ +-rw-r--r-- root/root usr/share/aclocal/libxml.m4 +drwxr-xr-x root/root usr/share/gtk-doc/ +drwxr-xr-x root/root usr/share/gtk-doc/html/ +drwxr-xr-x root/root usr/share/gtk-doc/html/libxml2/ +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/general.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/home.png +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/index.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/left.png +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-SAX.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-SAX2.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-c14n.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-catalog.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-chvalid.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-debugXML.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-dict.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-encoding.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-entities.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-globals.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-hash.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-list.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-parser.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-pattern.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-relaxng.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-schematron.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-threads.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-tree.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-uri.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-valid.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xinclude.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xlink.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xpath.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2-xpointer.html +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/libxml2.devhelp2 +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/right.png +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/style.css +-rw-r--r-- root/root usr/share/gtk-doc/html/libxml2/up.png +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/xml2-config.1.gz +-rw-r--r-- root/root usr/share/man/man1/xmlcatalog.1.gz +-rw-r--r-- root/root usr/share/man/man1/xmllint.1.gz diff --git a/repos/clang/libxml2/abuild b/repos/clang/libxml2/abuild new file mode 100644 index 00000000..080ef5cf --- /dev/null +++ b/repos/clang/libxml2/abuild @@ -0,0 +1,7 @@ +name=libxml2 +version=2.13.5 +release=1 +source="https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz + overflow.patch" +build_type=configure_build +build_opt="--with-history --with-icu --with-python=/usr/bin/python" diff --git a/repos/clang/libxml2/depends b/repos/clang/libxml2/depends new file mode 100644 index 00000000..31cb45dd --- /dev/null +++ b/repos/clang/libxml2/depends @@ -0,0 +1 @@ +icu diff --git a/repos/clang/libxml2/overflow.patch b/repos/clang/libxml2/overflow.patch new file mode 100644 index 00000000..c7d82ed0 --- /dev/null +++ b/repos/clang/libxml2/overflow.patch @@ -0,0 +1,95 @@ +The line count may overflow. It's a signed integer in public api +so there is nothing that can be done but at least the usage should +be harmless since it's just a line number. + +--- a/parser.c ++++ b/parser.c +@@ -2323,7 +2323,7 @@ static int spacePop(xmlParserCtxtPtr ctxt) { + int skipl; \ + for(skipl=0; skipl<val; skipl++) { \ + if (*(ctxt->input->cur) == '\n') { \ +- ctxt->input->line++; ctxt->input->col = 1; \ ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; \ + } else ctxt->input->col++; \ + ctxt->input->cur++; \ + } \ +@@ -2357,7 +2357,7 @@ static int spacePop(xmlParserCtxtPtr ctxt) { + + #define NEXTL(l) do { \ + if (*(ctxt->input->cur) == '\n') { \ +- ctxt->input->line++; ctxt->input->col = 1; \ ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; \ + } else ctxt->input->col++; \ + ctxt->input->cur += l; \ + } while (0) +@@ -2391,7 +2391,7 @@ xmlSkipBlankChars(xmlParserCtxtPtr ctxt) { + cur = ctxt->input->cur; + while (IS_BLANK_CH(*cur)) { + if (*cur == '\n') { +- ctxt->input->line++; ctxt->input->col = 1; ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; + } else { + ctxt->input->col++; + } +@@ -4790,7 +4790,7 @@ get_more_space: + while (*in == 0x20) { in++; ctxt->input->col++; } + if (*in == 0xA) { + do { +- ctxt->input->line++; ctxt->input->col = 1; ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; + in++; + } while (*in == 0xA); + goto get_more_space; +@@ -4835,7 +4835,7 @@ get_more: + ctxt->input->col = ccol; + if (*in == 0xA) { + do { +- ctxt->input->line++; ctxt->input->col = 1; ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; + in++; + } while (*in == 0xA); + goto get_more; +@@ -4888,7 +4888,7 @@ get_more: + if (*in == 0xA) { + ctxt->input->cur = in; + in++; +- ctxt->input->line++; ctxt->input->col = 1; ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; + continue; /* while */ + } + in--; +@@ -5251,7 +5251,7 @@ xmlParseComment(xmlParserCtxtPtr ctxt) { + do { + if (*in == 0xA) { + do { +- ctxt->input->line++; ctxt->input->col = 1; ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; + in++; + } while (*in == 0xA); + } +@@ -5266,7 +5266,7 @@ get_more: + ctxt->input->col = ccol; + if (*in == 0xA) { + do { +- ctxt->input->line++; ctxt->input->col = 1; ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; + in++; + } while (*in == 0xA); + goto get_more; +@@ -5311,14 +5311,14 @@ get_more: + ctxt->input->cur = in; + if (*in == 0xA) { + in++; +- ctxt->input->line++; ctxt->input->col = 1; ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; + } + if (*in == 0xD) { + in++; + if (*in == 0xA) { + ctxt->input->cur = in; + in++; +- ctxt->input->line++; ctxt->input->col = 1; ++ ctxt->input->line = ((unsigned)ctxt->input->line) + 1; ctxt->input->col = 1; + goto get_more; + } + in--; |