Package: libgd2 / 2.3.0-2

Metadata

Package Version Patches format
libgd2 2.3.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix error ISO C99 requires at least one argument for.patch | (download)

tests/gdimagefile/gdnametest.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix error: iso c99 requires at least one argument for the "..." in a
 variadic macro


0002 Disable failing test that breaks some builds.patch | (download)

tests/CMakeLists.txt | 1 0 + 1 - 0 !
tests/Makefile.am | 1 0 + 1 - 0 !
tests/gdimagecopyresampled/Makemodule.am | 3 1 + 2 - 0 !
tests/gdimagerotate/Makemodule.am | 1 0 + 1 - 0 !
4 files changed, 1 insertion(+), 5 deletions(-)

 disable failing test that breaks some builds


0003 tests make a little change for autopkgtest.patch | (download)

tests/Makefile.am | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 tests-make-a-little-change-for-autopkgtest

===================================================================

0004 Add missing getlib.sh script.patch | (download)

config/getlib.sh | 42 42 + 0 - 0 !
configure.ac | 2 1 + 1 - 0 !
2 files changed, 43 insertions(+), 1 deletion(-)

 add missing getlib.sh script


0005 Fix 615 gdImageStringFT fails for empty strings as o.patch | (download)

src/gdft.c | 18 9 + 9 - 0 !
tests/gdimagestringft/.gitignore | 2 2 + 0 - 0 !
tests/gdimagestringft/CMakeLists.txt | 1 1 + 0 - 0 !
tests/gdimagestringft/Makemodule.am | 1 1 + 0 - 0 !
tests/gdimagestringft/bug00615.c | 25 25 + 0 - 0 !
5 files changed, 38 insertions(+), 9 deletions(-)

 fix #615: gdimagestringft() fails for empty strings as of libgd
 2.3.0

We change the return type of `textLayout()` to `ssize_t`, and signal
failure by returning `-1`, so that laying out an empty string is no
longer handled as failure.  We make sure that no overflow occurs,
assuming that all `int` values can be fully represented as `ssize_t`.