Debian Patches

Status for thorvg/1.0.3+dfsg2-4

Patch Description Author Forwarded Bugs Origin Last update
replace-test-font-files.patch tests: replace test font files
- removed Arial to avoid potential lincense problem
- removed NanumGothicCoding to reduce the repo size
- Added Free License PublicsSans

Modified by Jongmin Kim <jmkim@debian.org>:
* Remove three binary fonts added as Git binary patches, which Debian
quilt does not support.
Hermet Park <hermetpark@gmail.com> no upstream, https://github.com/thorvg/thorvg/commit/fa04192fb63b033dda7f42be50283affd6690fa8.patch 2026-02-03
replace-path-max.patch Use dynamic allocation instead of PATH_MAX-dependent buffers This patch replaces PATH_MAX-dependent buffers with dynamic allocation
by passing NULL to realpath() and _fullpath().
.
ThorVG tools used PATH_MAX-sized static buffers to store results from
realpath() and _fullpath(). Since PATH_MAX may be undefined on some
POSIX systems, ThorVG fails to build on such systems (e.g. GNU Hurd
buildd machines in Debian: hurd-i386 and hurd-amd64).
.
On POSIX systems, when NULL is passed to realpath(), the buffer is
allocated dynamically, so it can be used without relying on PATH_MAX.
On Windows, _fullpath() works the same way when NULL is passed.
.
Since those functions use malloc() internally, the caller is responsible
for freeing the returned buffer.
.
* On POSIX systems, realpath(path, NULL) returns a malloc()'d buffer
(POSIX.1-2008).
* On Windows, _fullpath(NULL, path, 0) returns a malloc()'d buffer, and
the third argument is ignored.
.
In this patch, the previous buffer is free()'d before each new allocation,
and a destructor is added to free() the final buffer when the App object
is destroyed.
Jongmin Kim <jmkim@debian.org> yes 2026-04-01

All known versions for source package 'thorvg'

Links