Commit Graph

14 Commits

Author SHA1 Message Date
David Korth
d6953b866d [tinyxml2] Update: 10.0.0 -> 10.1.0 2025-03-08 17:35:42 -05:00
David Korth
d806eba66f [tinyxml] Update: 9.0.0 -> 10.0.0
Upstream has added `override` keywords, so we no longer have to
disable `-Wsuggest-override`.
2024-01-07 23:50:01 -05:00
David Korth
59ac405c9e [tinyxml2] Disable -Wsuggest-override warnings in gcc builds. 2022-07-06 18:06:45 -04:00
David Korth
28a97ccc2d [extlib] Make sure statically-linked extlibs don't export symbols in libromdata.so.
For most libraries, this merely required adding hidden visibility
flags to the CMakeLists.txt files. zlib-ng was a bit finicky,
and TinyXML2 needed a new macro, TINYXML2_NO_GCC_EXPORT.

TODO: zstd isn't currently used by libromdata.so. If I make use of it
later, either directly or indirectly via minizip, update it to not
export symbols when statically linking to it on Linux.

APNG_dlopen.c: Rework this file so it's always compiled regardless of
USE_INTERNAL_PNG and USE_INTERNAL_PNG_DLL. It exports two symbols,
APNG_ref() and APNG_unref(). When using the statically-linked libpng,
these functions are now no-ops, but they still need to be exported.
2022-06-29 22:26:24 -04:00
David Korth
ea798b2d3c [tinyxml] Update: 8.1.0 -> 9.0.0 2021-06-27 01:58:26 -04:00
David Korth
05aed01ddf [tinyxml2] Updated to tinyxml2-8.1.0. 2021-05-23 16:20:29 -04:00
David Korth
c22eb666ef [tinyxml2] Updated to tinyxml2-8.0.0. 2020-03-09 20:16:58 -04:00
David Korth
5c0b31d745 [tinyxml2] Updated to tinyxml2-7.1.0. 2019-09-01 14:46:57 -04:00
David Korth
829895dfb3 [tinyxml2] Updated to tinyxml2-7.0.1.
FIXME: Building tinyxml2 as a static library fails on my system:
/usr/bin/objcopy: illegal pathname found in archive member: /home/david/p/m/lib/../extlib/tinyxml2/CMakeFiles/tinyxml2.dir/tinyxml2.cpp.o

This seems to be a binutils security fix for CVE-2014-9447.
Unfortunately, cmake ends up using the full pathname in the static
library, which has a '..' because of the custom lib path.
2018-12-15 11:13:14 -05:00
David Korth
3a37df04ce [tinyxml2] Updated to tinyxml2-6.2.0. 2018-04-14 14:01:14 -04:00
David Korth
de2efe2ba8 [tinyxml2] Updated to tinyxml2-6.0.0.
gcc7 fall-through comments were added upstream in 6.0.0, so it's
no longer listed in _MODIFIED_TINYXML2.txt.
2018-04-03 23:55:42 -04:00
David Korth
6be9ef6c32 [tinyxml2] Updated to tinyxml2-5.0.1.
Gentoo's xmltest.cpp patch was implemented upstream in 5.0.0, so it's
no longer listed in _MODIFIED_TINYXML2.txt.
2017-06-28 01:03:31 -04:00
David Korth
553f38afda [tinyxml2] Updated to tinyxml2-5.0.0.
Among other things, this update adds in reporting of the location oc
parsing errors, which was present in the original TinyXML but not
earlier versions of TinyXML2.
2017-06-26 01:12:50 -04:00
David Korth
5807243805 [tinyxml2] Initial import of tinyxml2-4.0.1.
TinyXML2 will be used to parse Windows manifests.

The Ubuntu 17.04 64-bit dynamic library build is around 83 KB, so
this won't add too much to the executable size.

TODO:
- Use the system TinyXML2 if available.
- Compile as a DLL? (with delay loading on Windows, maybe)
2017-05-08 22:53:18 -04:00