summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-26 12:09:00 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-26 12:09:00 +0000
commitdf90ed95f154046518bf7aae7f88715f25a312db (patch)
tree104818c62bab65b2988983110fdca9b35927c5e7 /Build
parent4e17498848c230539b58d870938a77805039046d (diff)
libgd 2.1.0
git-svn-id: svn://tug.org/texlive/trunk@30952 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/libs/README2
-rw-r--r--Build/source/libs/gd/ChangeLog5
-rw-r--r--Build/source/libs/gd/README12
-rwxr-xr-xBuild/source/libs/gd/configure26
-rw-r--r--Build/source/libs/gd/libgd-2.1.0-PATCHES/ChangeLog (renamed from Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/ChangeLog)8
-rw-r--r--Build/source/libs/gd/libgd-2.1.0-PATCHES/TL-Changes (renamed from Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/TL-Changes)3
-rw-r--r--Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-01-win32 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/patch-01-win32)6
-rw-r--r--Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-02-no-stdcall (renamed from Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/patch-02-no-stdcall)6
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/CMakeLists.txt)24
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/COPYING (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/COPYING)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/ChangeLog (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/ChangeLog)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/Makefile.am (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/Makefile.am)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/NEWS (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/NEWS)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/VMS/CONFIGURE.COM (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/VMS/CONFIGURE.COM)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/VMS/README.VMS (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/VMS/README.VMS)0
-rwxr-xr-xBuild/source/libs/gd/libgd-2.1.0/bootstrap.sh (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/bootstrap.sh)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/AC_HEADER_STDC.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/AC_HEADER_STDC.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/CMakeParseArguments.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CMakeParseArguments.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/CheckDIRSymbolExists.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CheckDIRSymbolExists.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/CheckPrototypeExists.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CheckPrototypeExists.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindFontConfig.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindFontConfig.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindFreetype.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindFreetype.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindGD.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindGD.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindJPEG.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindJPEG.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindLIQ.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindLIQ.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPNG.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPNG.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPTHREAD.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPTHREAD.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPackageHandleStandardArgs.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPackageHandleStandardArgs.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindVPX.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindVPX.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindXPM.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindXPM.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForHighBitCharacters.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForHighBitCharacters.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForHighBitCharacters.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForHighBitCharacters.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForStandardHeaderwait.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForStandardHeaderwait.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/cmake/modules/gd.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/gd.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/config/Makefile.am (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/config/Makefile.am)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/config/gdlib-config.in (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/config/gdlib-config.in)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/config/gdlib.pc.in (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/config/gdlib.pc.in)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/configure.ac (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/configure.ac)19
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/docs/INSTALL (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/docs/INSTALL)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/docs/README.CMAKE (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.CMAKE)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/docs/README.JPN (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.JPN)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/docs/README.TESTING (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.TESTING)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/docs/README.TXT (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.TXT)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/arc.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/arc.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/copyrotated.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/copyrotated.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/crop.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/crop.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/flip.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/flip.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/gif.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/gif.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/nnquant.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/nnquant.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/noIcon.pic (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.pic)bin63486 -> 63486 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/noIcon.sgi (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.sgi)bin66605 -> 66605 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/noIcon.tga (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.tga)bin153682 -> 153682 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/noIconAlpha.tga (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIconAlpha.tga)bin153682 -> 153682 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/test_crop_threshold.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/test_crop_threshold.png)bin7919 -> 7919 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/tgaread.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/tgaread.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/tiffread.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/tiffread.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/examples/windows.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/examples/windows.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/m4/ax_pthread.m4 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/m4/ax_pthread.m4)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/m4/visibility.m4 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/m4/visibility.m4)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/m4/w32.m4 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/m4/w32.m4)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/netware/Makefile.netware (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/netware/Makefile.netware)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/netware/get_exp.awk (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/netware/get_exp.awk)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/netware/get_ver.awk (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/netware/get_ver.awk)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/netware/keepscreen.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/netware/keepscreen.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/netware/nwlibc.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/netware/nwlibc.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/netware/tests/Makefile.netware (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/netware/tests/Makefile.netware)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/CMakeLists.txt)3
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/COPYING (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/COPYING)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/Makefile.am (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/Makefile.am)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/annotate.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/annotate.c)1
-rwxr-xr-xBuild/source/libs/gd/libgd-2.1.0/src/bdftogd (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/bdftogd)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/bmp.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/bmp.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/circletexttest.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/circletexttest.c)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/config.h.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/config.h.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/config.hin (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/config.hin)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/demoin.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/demoin.png)bin10027 -> 10027 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/entities.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/entities.html (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.html)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/entities.tcl (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.tcl)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/fontconfigtest.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/fontconfigtest.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/fontsizetest.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/fontsizetest.c)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/fontwheeltest.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/fontwheeltest.c)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd.c)156
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd.h)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd2copypal.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2copypal.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd2time.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2time.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd2togif.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2togif.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd2topng.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2topng.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_bmp.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_bmp.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_color.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_color.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_color_map.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_color_map.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_color_map_test.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map_test.c)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_color_match.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_match.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_crop.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_crop.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_errors.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_errors.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_filter.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_filter.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_gd.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gd.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_gd2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gd2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_gif_in.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gif_in.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_gif_out.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gif_out.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_intern.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_intern.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_interpolation.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_interpolation.c)82
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_io.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_io.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_io_dp.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_dp.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_io_file.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_file.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_io_ss.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_ss.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_io_stream.cxx (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_stream.cxx)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_io_stream.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_stream.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_jpeg.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_jpeg.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_matrix.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_matrix.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_nnquant.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_nnquant.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_nnquant.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_nnquant.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_png.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_png.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_rotate.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_rotate.c)7
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_security.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_security.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_ss.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_ss.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_tga.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tga.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_tga.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tga.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_tiff.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tiff.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_topal.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_topal.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_transform.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_transform.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_wbmp.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_wbmp.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_webp.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_webp.c)28
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gd_xbm.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_xbm.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdcache.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcache.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdcache.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcache.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdcmpgif.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcmpgif.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gddemo.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gddemo.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfontg.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontg.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfontg.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontg.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfontl.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontl.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfontl.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontl.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfontmb.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontmb.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfontmb.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontmb.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfonts.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfonts.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfonts.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfonts.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfontt.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontt.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfontt.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontt.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdft.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdft.c)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfx.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfx.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdfx.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfx.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdhelpers.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdhelpers.c)9
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdhelpers.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdhelpers.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdkanji.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdkanji.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdparttopng.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdparttopng.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdpp.cxx (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdpp.cxx)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdpp.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdpp.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdtables.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtables.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdtest.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtest.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdtestft.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtestft.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdtopng.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtopng.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gdxpm.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gdxpm.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/gifanimtest.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/gifanimtest.c)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/giftogd2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/giftogd2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/jisx0208.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/jisx0208.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/msinttypes/inttypes.h305
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/msinttypes/stdint.h247
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/pngtogd.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/pngtogd.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/pngtogd2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/pngtogd2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/testac.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/testac.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/testtr.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/testtr.c)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/wbmp.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/wbmp.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/wbmp.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/wbmp.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/webpimg.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/webpimg.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/webpimg.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/webpimg.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/src/webpng.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/src/webpng.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/test/gdtest.gd2 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest.gd2)bin28661 -> 28661 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/test/gdtest.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest.png)bin26658 -> 26658 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/test/gdtest_200_300_150_100.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_200_300_150_100.png)bin1776 -> 1776 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/test/gdtest_merge.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_merge.png)bin30372 -> 30372 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/test/gdtest_wbmp_to_png.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_wbmp_to_png.png)bin286 -> 286 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/CMakeLists.txt)1
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/Makefile.am (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/Makefile.am)31
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/bmp/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/bmp/bmp_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/bmp_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/bmp/bmp_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/bmp_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/freetype/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/freetype/DejaVuSans.ttf (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/DejaVuSans.ttf)bin569008 -> 569008 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/freetype/bug00132.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/bug00132.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/freetype/bug00132_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/bug00132_exp.png)bin217 -> 217 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd/crafted_num_colors.gd (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/crafted_num_colors.gd)bin1039 -> 1039 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_num_colors.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_num_colors.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_gd2_exp.gd2 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_gd2_exp.gd2)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_test.gd2 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_test.gd2)bin423 -> 423 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_test_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_test_exp.png)bin87 -> 87 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/empty.gd2 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/empty.gd2)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_empty_file.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_empty_file.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_read.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_read.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/bug00079.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/bug00079.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/bug00079_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/bug00079_exp.png)bin2127 -> 2127 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorclosest/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorclosest/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorclosest/gdimagecolorclosest.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorclosest/gdimagecolorclosest.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolordeallocate/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolordeallocate/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolordeallocate/gdimagecolordeallocate.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolordeallocate/gdimagecolordeallocate.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorexact/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorexact/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorexact/gdimagecolorexact.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorexact/gdimagecolorexact.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorreplace/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorreplace/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorreplace/gdimagecolorreplace.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorreplace/gdimagecolorreplace.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorresolve/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorresolve/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorresolve/gdimagecolorresolve.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorresolve/gdimagecolorresolve.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolortransparent/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolortransparent/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolortransparent/gdimagecolortransparent.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolortransparent/gdimagecolortransparent.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00007.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00007.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00081.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00081.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00081_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00081_exp.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/bug00020.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/bug00020.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/bug00020_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/bug00020_exp.png)bin402 -> 402 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_1.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_1.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_1_exp.png)bin289 -> 289 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_2_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_2_exp.png)bin393 -> 393 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_3.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_3.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_3_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_3_exp.png)bin410 -> 410 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_4.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_4.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_4_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_4_exp.png)bin192 -> 192 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00010.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00010.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00010_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00010_exp.png)bin479 -> 479 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00191.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00191.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00191.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00191.png)bin143 -> 143 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/bug00100.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/bug00100.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/bug00100.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/bug00100.png)bin2124 -> 2124 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png)bin140 -> 140 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png)bin269 -> 269 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00004.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00004.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00078.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00078.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilltoborder/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilltoborder/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilltoborder/bug00037.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilltoborder/bug00037.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00072.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00072.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00072_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00072_exp.png)bin133 -> 133 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00077.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00077.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00077_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00077_exp.png)bin97 -> 97 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00111.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00111.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00111_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00111_exp.png)bin79 -> 79 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdImageAALine_thickness.c28
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdImageAALine_thickness_exp.pngbin0 -> 534 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_a_0_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_a_0_exp.png)bin198 -> 198 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_a_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_a_1_exp.png)bin202 -> 202 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_b_0_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_b_0_exp.png)bin343 -> 343 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_b_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_b_1_exp.png)bin197 -> 197 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_c_0_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_c_0_exp.png)bin200 -> 200 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_c_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_c_1_exp.png)bin194 -> 194 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_d_0_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_d_0_exp.png)bin200 -> 200 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_d_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_d_1_exp.png)bin216 -> 216 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_outofrange.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_outofrange.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_bug5.c39
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon0.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon0.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon0.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon0.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon1.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon1.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon1.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon1.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon2.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon2.png)bin140 -> 140 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon3.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon3.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon3.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon3.png)bin237 -> 237 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepixelate/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepixelate/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepixelate/gdimagepixelate.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepixelate/gdimagepixelate.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon0.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon0.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon0.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon0.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon1.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon1.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon1.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon1.png)bin99 -> 99 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon2.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon2.png)bin140 -> 140 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon3.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon3.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon3.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon3.png)bin271 -> 271 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/bug00003.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/bug00003.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/bug00106_gdimagerectangle.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/bug00106_gdimagerectangle.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067.c67
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_000_exp.pngbin0 -> 30195 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_015_exp.pngbin0 -> 34731 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_030_exp.pngbin0 -> 36734 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_045_exp.pngbin0 -> 36631 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_060_exp.pngbin0 -> 36759 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_075_exp.pngbin0 -> 34775 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_090_exp.pngbin0 -> 30955 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_105_exp.pngbin0 -> 35010 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_120_exp.pngbin0 -> 36899 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_135_exp.pngbin0 -> 37111 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_150_exp.pngbin0 -> 36771 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_165_exp.pngbin0 -> 34593 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_180_exp.pngbin0 -> 30299 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898.c58
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898.pngbin0 -> 1191 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898_exp.pngbin0 -> 6363 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/remirh128.jpgbin0 -> 10619 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208.png)bin14179 -> 14179 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_1.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_1.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_1.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_1.png)bin22719 -> 22719 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_2.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_2.png)bin18296 -> 18296 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagesetpixel/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagesetpixel/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagesetpixel/bug00186.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagesetpixel/bug00186.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringft/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringft/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringft/gdimagestringft_bbox.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringft/gdimagestringft_bbox.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringftex/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringftex/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdnewfilectx/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdnewfilectx/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdnewfilectx/gdnewfilectx_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdnewfilectx/gdnewfilectx_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdtest/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdtest/gdtest.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/gdtest.c)2
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdtest/gdtest.h (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/gdtest.h)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdtest/test_config.h.cmake (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/test_config.h.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/bug00032.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/bug00032.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/bug00032_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/bug00032_exp.png)bin233 -> 233 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_0.gif (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_0.gif)bin7332 -> 7332 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_1.gif (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_1.gif)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2.gif (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2.gif)bin65646 -> 65646 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2_exp.png)bin10515 -> 10515 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_3.gif (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_3.gif)bin18276 -> 18276 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00006.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00006.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00060.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00060.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00060.gif (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00060.gif)bin16821 -> 16821 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066.gif (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066.gif)bin25489 -> 25489 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066_exp.png)bin12247 -> 12247 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00181.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00181.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00227.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00227.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/gif_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/gif_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/gif/gif_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/gif_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/conv_test.jpeg (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/conv_test.jpeg)bin2317 -> 2317 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/conv_test_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/conv_test_exp.png)bin39678 -> 39678 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/empty.jpeg (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/empty.jpeg)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_empty_file.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_empty_file.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_read.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_read.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_resolution.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_resolution.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00011.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00011.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00033.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00033.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00033.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00033.png)bin393216 -> 393216 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00086.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00086.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_1.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_1.png)bin1892 -> 1892 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_1_exp.png)bin2791 -> 2791 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_2.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_2.png)bin238 -> 238 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_2_exp.png (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_2_exp.png)bin284 -> 284 bytes
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/bug00193.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00193.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/emptyfile (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/emptyfile)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/png_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/png_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/png/png_resolution.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_resolution.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/test_config.h.in (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/test_config.h.in)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/tga/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/tga/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/tga/tga_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/tga/tga_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/tiff/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/tiff/tiff_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/tiff_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/tiff/tiff_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/tiff_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/wbmp/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/wbmp/wbmp_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/wbmp_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/wbmp/wbmp_null.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/wbmp_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/xpm/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00166.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00166.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00166.xpm (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00166.xpm)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185.xpm (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185.xpm)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185_damaged.xpm (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185_damaged.xpm)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/xpm/color_name.c (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/color_name.c)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/tests/xpm/color_name.xpm (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/color_name.xpm)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/windows/Makefile.w32 (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/windows/Makefile.w32)0
-rw-r--r--Build/source/libs/gd/libgd-2.1.0/windows/libgd.rc (renamed from Build/source/libs/gd/libgd-2.1.0-rc1/windows/libgd.rc)0
-rw-r--r--Build/source/libs/gd/version.ac2
-rw-r--r--Build/source/texk/dvipdfm-x/xsrc/spc_color.c6
396 files changed, 1083 insertions, 118 deletions
diff --git a/Build/source/libs/README b/Build/source/libs/README
index 3c5294ec1c3..e78666feaa1 100644
--- a/Build/source/libs/README
+++ b/Build/source/libs/README
@@ -17,7 +17,7 @@ freetype 1.5 - ?
freetype2 2.4.12 - checked 18may13
http://savannah.nongnu.org/download/freetype/
-gd 2.1.0-rc1 - checked 2jun13
+gd 2.1.0 - checked 26jun13
https://bitbucket.org/libgd/gd-libgd/downloads/
graphite2 1.2.3 - checked 12jun13
diff --git a/Build/source/libs/gd/ChangeLog b/Build/source/libs/gd/ChangeLog
index 161651b146a..590b699b319 100644
--- a/Build/source/libs/gd/ChangeLog
+++ b/Build/source/libs/gd/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-26 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Import libgd-2.1.0.
+ * version.ac: Adjust.
+
2013-06-02 Peter Breitenlohner <peb@mppmu.mpg.de>
Import libgd-2.1.0-rc1.
diff --git a/Build/source/libs/gd/README b/Build/source/libs/gd/README
index 9fa8741a9a8..8c84861d68f 100644
--- a/Build/source/libs/gd/README
+++ b/Build/source/libs/gd/README
@@ -1,13 +1,13 @@
- Building gd-2.0.35 as part of the TL tree
+ Building libgd-2.1.0 as part of the TL tree
=========================================
This directory libs/gd/ uses a proxy Makefile.am to build the gd library
-from the unmodified source tree in libs/gd/gd-x.y.z/, bypassing the original
-build system.
+from the unmodified source tree in libs/gd/libgd-x.y.z/, bypassing the
+original build system.
-As far as applicable, the tests in libs/gd/gd-x.y.z/configure.ac have been
-copied to libs/gd/configure.ac.
+As far as applicable, the tests in libs/gd/libgd-x.y.z/configure.ac have
+been copied to libs/gd/configure.ac.
=============================
-2009-02-24 Peter Breitenlohner <peb@mppmu.mpg.de>
+2013-06-26 Peter Breitenlohner <peb@mppmu.mpg.de>
diff --git a/Build/source/libs/gd/configure b/Build/source/libs/gd/configure
index 6606acf2574..7fdd39cc23a 100755
--- a/Build/source/libs/gd/configure
+++ b/Build/source/libs/gd/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for gd for TeX Live 2.1.0-rc1.
+# Generated by GNU Autoconf 2.69 for gd for TeX Live 2.1.0.
#
# Report bugs to <tex-k@tug.org>.
#
@@ -590,12 +590,12 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='gd for TeX Live'
PACKAGE_TARNAME='gd-for-tex-live'
-PACKAGE_VERSION='2.1.0-rc1'
-PACKAGE_STRING='gd for TeX Live 2.1.0-rc1'
+PACKAGE_VERSION='2.1.0'
+PACKAGE_STRING='gd for TeX Live 2.1.0'
PACKAGE_BUGREPORT='tex-k@tug.org'
PACKAGE_URL=''
-ac_unique_file="libgd-2.1.0-rc1/src/gd.c"
+ac_unique_file="libgd-2.1.0/src/gd.c"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
@@ -1340,7 +1340,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures gd for TeX Live 2.1.0-rc1 to adapt to many kinds of systems.
+\`configure' configures gd for TeX Live 2.1.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1410,7 +1410,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of gd for TeX Live 2.1.0-rc1:";;
+ short | recursive ) echo "Configuration of gd for TeX Live 2.1.0:";;
esac
cat <<\_ACEOF
@@ -1529,7 +1529,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-gd for TeX Live configure 2.1.0-rc1
+gd for TeX Live configure 2.1.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1952,7 +1952,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by gd for TeX Live $as_me 2.1.0-rc1, which was
+It was created by gd for TeX Live $as_me 2.1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3875,7 +3875,7 @@ fi
# Define the identity of the package.
PACKAGE='gd-for-tex-live'
- VERSION='2.1.0-rc1'
+ VERSION='2.1.0'
cat >>confdefs.h <<_ACEOF
@@ -13358,7 +13358,7 @@ Usage: $0 [OPTIONS]
Report bugs to <bug-libtool@gnu.org>."
lt_cl_version="\
-gd for TeX Live config.lt 2.1.0-rc1
+gd for TeX Live config.lt 2.1.0
configured by $0, generated by GNU Autoconf 2.69.
Copyright (C) 2011 Free Software Foundation, Inc.
@@ -14555,7 +14555,7 @@ $as_echo "#define HAVE_LIBFREETYPE 1" >>confdefs.h
$as_echo "#define HAVE_FT2BUILD_H 1" >>confdefs.h
-GD_TREE=libgd-2.1.0-rc1
+GD_TREE=libgd-2.1.0
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
@@ -15163,7 +15163,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by gd for TeX Live $as_me 2.1.0-rc1, which was
+This file was extended by gd for TeX Live $as_me 2.1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15229,7 +15229,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-gd for TeX Live config.status 2.1.0-rc1
+gd for TeX Live config.status 2.1.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/ChangeLog b/Build/source/libs/gd/libgd-2.1.0-PATCHES/ChangeLog
index 42c8a59cb44..fe48d5c04b2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/ChangeLog
+++ b/Build/source/libs/gd/libgd-2.1.0-PATCHES/ChangeLog
@@ -1,3 +1,11 @@
+2013-06-26 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Imported libgd-2.1.0 source tree from:
+ https://bitbucket.org/libgd/gd-libgd/downloads
+
+ * patch-01-win32: Adapted.
+ * patch-02-no-stdcall: Adapted.
+
2013-06-02 Peter Breitenlohner <peb@mppmu.mpg.de>
Imported libgd-2.1.0-rc1 source tree from:
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/TL-Changes b/Build/source/libs/gd/libgd-2.1.0-PATCHES/TL-Changes
index 8740f5b6bc6..2898c0677dd 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/TL-Changes
+++ b/Build/source/libs/gd/libgd-2.1.0-PATCHES/TL-Changes
@@ -1,11 +1,10 @@
-Changes applied to the libgd-2.1.0-rc1/ tree as obtained from:
+Changes applied to the libgd-2.1.0/ tree as obtained from:
https://bitbucket.org/libgd/gd-libgd/downloads
Removed:
Makefile.in
aclocal.m4
config/Makefile.in
- config/ar-lib
config/compile
config/config.guess
config/config.rpath
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/patch-01-win32 b/Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-01-win32
index 51d9b4dc2f3..70ee7ce5275 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/patch-01-win32
+++ b/Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-01-win32
@@ -1,6 +1,6 @@
-diff -ur libgd-2.1.0-rc1.orig/src/gdft.c libgd-2.1.0-rc1/src/gdft.c
---- libgd-2.1.0-rc1.orig/src/gdft.c 2013-05-20 21:10:28.000000000 +0200
-+++ libgd-2.1.0-rc1/src/gdft.c 2013-06-02 15:06:12.000000000 +0200
+diff -ur libgd-2.1.0.orig/src/gdft.c libgd-2.1.0/src/gdft.c
+--- libgd-2.1.0.orig/src/gdft.c 2013-06-25 11:58:23.000000000 +0200
++++ libgd-2.1.0/src/gdft.c 2013-06-26 13:52:34.000000000 +0200
@@ -1512,6 +1512,16 @@
*/
*fontpath = NULL;
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/patch-02-no-stdcall b/Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-02-no-stdcall
index 5881dec92e3..ec0a7305484 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1-PATCHES/patch-02-no-stdcall
+++ b/Build/source/libs/gd/libgd-2.1.0-PATCHES/patch-02-no-stdcall
@@ -1,6 +1,6 @@
-diff -ur libgd-2.1.0-rc1.orig/src/gd.h libgd-2.1.0-rc1/src/gd.h
---- libgd-2.1.0-rc1.orig/src/gd.h 2013-05-22 10:39:24.000000000 +0200
-+++ libgd-2.1.0-rc1/src/gd.h 2013-06-02 15:07:43.000000000 +0200
+diff -ur libgd-2.1.0.orig/src/gd.h libgd-2.1.0/src/gd.h
+--- libgd-2.1.0.orig/src/gd.h 2013-06-25 11:58:23.000000000 +0200
++++ libgd-2.1.0/src/gd.h 2013-06-26 13:53:36.000000000 +0200
@@ -44,7 +44,7 @@
# define BGD_EXPORT_DATA_PROT __declspec(dllimport)
# endif
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/CMakeLists.txt
index 13f56394bfb..4880f559ce5 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/CMakeLists.txt
@@ -233,7 +233,29 @@ IF (ENABLE_LIQ AND LIQ_BUILD)
ENDIF(ENABLE_LIQ AND LIQ_BUILD)
-INSTALL_FILES("docs" "examples" DESTINATION "gd-docs")
+INSTALL(FILES docs/INSTALL DESTINATION share/docs)
+INSTALL(FILES docs/README.JPN DESTINATION share/docs)
+INSTALL(FILES docs/README.CMAKE DESTINATION share/docs)
+INSTALL(FILES docs/README.TESTING DESTINATION share/docs)
+INSTALL(FILES docs/README.TXT DESTINATION share/docs)
+
+
+INSTALL(FILES examples/arc.c DESTINATION share/docs)
+INSTALL(FILES examples/copyrotated.c DESTINATION share/docs)
+INSTALL(FILES examples/crop.c DESTINATION share/docs)
+INSTALL(FILES examples/flip.c DESTINATION share/docs)
+INSTALL(FILES examples/gif.c DESTINATION share/docs)
+INSTALL(FILES examples/nnquant.c DESTINATION share/docs)
+INSTALL(FILES examples/noIcon.pic DESTINATION share/docs)
+INSTALL(FILES examples/noIcon.sgi DESTINATION share/docs)
+INSTALL(FILES examples/noIcon.tga DESTINATION share/docs)
+INSTALL(FILES examples/noIconAlpha.tga DESTINATION share/docs)
+INSTALL(FILES examples/test_crop_threshold.png DESTINATION share/docs)
+INSTALL(FILES examples/tgaread.c DESTINATION share/docs)
+INSTALL(FILES examples/tiffread.c DESTINATION share/docs)
+INSTALL(FILES examples/windows.c DESTINATION share/docs)
+
+
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
set(CPACK_SOURCE_GENERATOR TGZ)
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/COPYING b/Build/source/libs/gd/libgd-2.1.0/COPYING
index 5e17d03e861..5e17d03e861 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/COPYING
+++ b/Build/source/libs/gd/libgd-2.1.0/COPYING
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/ChangeLog b/Build/source/libs/gd/libgd-2.1.0/ChangeLog
index 18f133911ac..18f133911ac 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/ChangeLog
+++ b/Build/source/libs/gd/libgd-2.1.0/ChangeLog
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/Makefile.am b/Build/source/libs/gd/libgd-2.1.0/Makefile.am
index e8697dec587..e8697dec587 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/Makefile.am
+++ b/Build/source/libs/gd/libgd-2.1.0/Makefile.am
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/NEWS b/Build/source/libs/gd/libgd-2.1.0/NEWS
index 8bf38434add..8bf38434add 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/NEWS
+++ b/Build/source/libs/gd/libgd-2.1.0/NEWS
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/VMS/CONFIGURE.COM b/Build/source/libs/gd/libgd-2.1.0/VMS/CONFIGURE.COM
index a2e42c5b223..a2e42c5b223 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/VMS/CONFIGURE.COM
+++ b/Build/source/libs/gd/libgd-2.1.0/VMS/CONFIGURE.COM
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/VMS/README.VMS b/Build/source/libs/gd/libgd-2.1.0/VMS/README.VMS
index cdeee561654..cdeee561654 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/VMS/README.VMS
+++ b/Build/source/libs/gd/libgd-2.1.0/VMS/README.VMS
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/bootstrap.sh b/Build/source/libs/gd/libgd-2.1.0/bootstrap.sh
index 3092064cfcf..3092064cfcf 100755
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/bootstrap.sh
+++ b/Build/source/libs/gd/libgd-2.1.0/bootstrap.sh
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/AC_HEADER_STDC.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/AC_HEADER_STDC.cmake
index cf4fff83ba5..cf4fff83ba5 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/AC_HEADER_STDC.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/AC_HEADER_STDC.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CMakeParseArguments.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/CMakeParseArguments.cmake
index b57b0296d3f..b57b0296d3f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CMakeParseArguments.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/CMakeParseArguments.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CheckDIRSymbolExists.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/CheckDIRSymbolExists.cmake
index dde6c7f3af8..dde6c7f3af8 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CheckDIRSymbolExists.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/CheckDIRSymbolExists.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CheckPrototypeExists.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/CheckPrototypeExists.cmake
index 85a171758bc..85a171758bc 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/CheckPrototypeExists.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/CheckPrototypeExists.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindFontConfig.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindFontConfig.cmake
index 23d0020c52e..23d0020c52e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindFontConfig.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindFontConfig.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindFreetype.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindFreetype.cmake
index 3d2a8a48088..3d2a8a48088 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindFreetype.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindFreetype.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindGD.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindGD.cmake
index 2860d6cc77f..2860d6cc77f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindGD.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindGD.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindJPEG.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindJPEG.cmake
index bb310d65dcb..bb310d65dcb 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindJPEG.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindJPEG.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindLIQ.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindLIQ.cmake
index 08713f51704..08713f51704 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindLIQ.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindLIQ.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPNG.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPNG.cmake
index a44affcfcc0..a44affcfcc0 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPNG.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPNG.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPTHREAD.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPTHREAD.cmake
index 0627c6d0a44..0627c6d0a44 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPTHREAD.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPTHREAD.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPackageHandleStandardArgs.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPackageHandleStandardArgs.cmake
index de124acce43..de124acce43 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindPackageHandleStandardArgs.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindPackageHandleStandardArgs.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindVPX.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindVPX.cmake
index 3a8c45ed196..3a8c45ed196 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindVPX.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindVPX.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindXPM.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindXPM.cmake
index 9b59feaa10e..9b59feaa10e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/FindXPM.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/FindXPM.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForHighBitCharacters.c b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForHighBitCharacters.c
index 2be51745ac8..2be51745ac8 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForHighBitCharacters.c
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForHighBitCharacters.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForHighBitCharacters.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForHighBitCharacters.cmake
index b1a1b908223..b1a1b908223 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForHighBitCharacters.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForHighBitCharacters.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForStandardHeaderwait.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForStandardHeaderwait.cmake
index d3df427f9c8..d3df427f9c8 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/TestForStandardHeaderwait.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/TestForStandardHeaderwait.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/gd.cmake b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/gd.cmake
index 1e846dd855d..1e846dd855d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/cmake/modules/gd.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/cmake/modules/gd.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/config/Makefile.am b/Build/source/libs/gd/libgd-2.1.0/config/Makefile.am
index 7ec5849fb68..7ec5849fb68 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/config/Makefile.am
+++ b/Build/source/libs/gd/libgd-2.1.0/config/Makefile.am
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/config/gdlib-config.in b/Build/source/libs/gd/libgd-2.1.0/config/gdlib-config.in
index 70af36b5359..70af36b5359 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/config/gdlib-config.in
+++ b/Build/source/libs/gd/libgd-2.1.0/config/gdlib-config.in
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/config/gdlib.pc.in b/Build/source/libs/gd/libgd-2.1.0/config/gdlib.pc.in
index b980a606902..b980a606902 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/config/gdlib.pc.in
+++ b/Build/source/libs/gd/libgd-2.1.0/config/gdlib.pc.in
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/configure.ac b/Build/source/libs/gd/libgd-2.1.0/configure.ac
index 0702d7c20b4..2f9f744df71 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/configure.ac
+++ b/Build/source/libs/gd/libgd-2.1.0/configure.ac
@@ -7,7 +7,7 @@ AC_PREREQ(2.54)
m4_define([gd_MAJOR],[2])dnl
m4_define([gd_MINOR],[1])dnl
m4_define([gd_REVISION],[0])dnl
-m4_define([gd_EXTRA],[rc1])dnl
+dnl m4_define([gd_EXTRA],[rc2])
m4_ifdef([gd_EXTRA],
[m4_define([gd_PKG_VERSION],[gd_MAJOR.gd_MINOR.gd_REVISION-gd_EXTRA])],
@@ -45,7 +45,7 @@ AC_SUBST(GDLIB_AGE)
FEATURES="GD_GIF GD_GIFANIM GD_OPENPOLYGON"
AC_SUBST(FEATURES)
-AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-xz -Wall -Werror])
AC_CONFIG_HEADERS([src/config.h:src/config.hin])
dnl newer automake wants this, but we still want to work with older
@@ -133,11 +133,13 @@ yes|"")
])
;;
*)
+ AC_MSG_CHECKING([libpng-config script])
LIBPNG_CONFIG=$with_png/bin/libpng-config
if test -e "$LIBPNG_CONFIG"; then
LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags`
- LIBPNG_LIBS=`$LIBPNG_CONFIG --libs`
+ LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags`
with_png=yes
+ AC_MSG_RESULT([$LIBPNG_CONFIG, cflags: $LIBPNG_CFLAGS, libs: $LIBPNG_LIBS])
else
AC_MSG_ERROR([png support requested, but not found at requested location: $LIBPNG_CONFIG])
fi
@@ -325,10 +327,13 @@ no) ;;
yes|"")
PKG_CHECK_MODULES([LIBVPX], vpx, [with_vpx=yes],
[
- if test "$with_vpx" = yes; then
- AC_MSG_ERROR([VPX support requested, but not found])
- fi
- with_vpx=no
+ PKG_CHECK_MODULES([LIBVPX], libvpx, [with_vpx=yes],
+ [
+ if test "$with_vpx" = yes; then
+ AC_MSG_ERROR([VPX support requested, but not found])
+ fi
+ with_vpx=no
+ ])
])
;;
*)
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/INSTALL b/Build/source/libs/gd/libgd-2.1.0/docs/INSTALL
index a1e89e18ad2..a1e89e18ad2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/INSTALL
+++ b/Build/source/libs/gd/libgd-2.1.0/docs/INSTALL
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.CMAKE b/Build/source/libs/gd/libgd-2.1.0/docs/README.CMAKE
index baf583c3ba6..baf583c3ba6 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.CMAKE
+++ b/Build/source/libs/gd/libgd-2.1.0/docs/README.CMAKE
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.JPN b/Build/source/libs/gd/libgd-2.1.0/docs/README.JPN
index 65db00b5534..65db00b5534 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.JPN
+++ b/Build/source/libs/gd/libgd-2.1.0/docs/README.JPN
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.TESTING b/Build/source/libs/gd/libgd-2.1.0/docs/README.TESTING
index a4c50efe3e6..a4c50efe3e6 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.TESTING
+++ b/Build/source/libs/gd/libgd-2.1.0/docs/README.TESTING
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.TXT b/Build/source/libs/gd/libgd-2.1.0/docs/README.TXT
index 39725dd62c1..39725dd62c1 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/docs/README.TXT
+++ b/Build/source/libs/gd/libgd-2.1.0/docs/README.TXT
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/examples/CMakeLists.txt
index e31e67d408a..e31e67d408a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/arc.c b/Build/source/libs/gd/libgd-2.1.0/examples/arc.c
index 8e862833855..8e862833855 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/arc.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/arc.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/copyrotated.c b/Build/source/libs/gd/libgd-2.1.0/examples/copyrotated.c
index 03e493d0ce0..03e493d0ce0 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/copyrotated.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/copyrotated.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/crop.c b/Build/source/libs/gd/libgd-2.1.0/examples/crop.c
index bafb6df849c..bafb6df849c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/crop.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/crop.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/flip.c b/Build/source/libs/gd/libgd-2.1.0/examples/flip.c
index 2399457b81b..2399457b81b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/flip.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/flip.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/gif.c b/Build/source/libs/gd/libgd-2.1.0/examples/gif.c
index d5103f086b3..d5103f086b3 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/gif.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/gif.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/nnquant.c b/Build/source/libs/gd/libgd-2.1.0/examples/nnquant.c
index 33ed523266e..33ed523266e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/nnquant.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/nnquant.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.pic b/Build/source/libs/gd/libgd-2.1.0/examples/noIcon.pic
index 8335d3a2a28..8335d3a2a28 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.pic
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/noIcon.pic
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.sgi b/Build/source/libs/gd/libgd-2.1.0/examples/noIcon.sgi
index 98aac523c10..98aac523c10 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.sgi
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/noIcon.sgi
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.tga b/Build/source/libs/gd/libgd-2.1.0/examples/noIcon.tga
index 7063fac97bf..7063fac97bf 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIcon.tga
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/noIcon.tga
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIconAlpha.tga b/Build/source/libs/gd/libgd-2.1.0/examples/noIconAlpha.tga
index 3af87b47b67..3af87b47b67 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/noIconAlpha.tga
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/noIconAlpha.tga
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/test_crop_threshold.png b/Build/source/libs/gd/libgd-2.1.0/examples/test_crop_threshold.png
index 4a9dff1a815..4a9dff1a815 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/test_crop_threshold.png
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/test_crop_threshold.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/tgaread.c b/Build/source/libs/gd/libgd-2.1.0/examples/tgaread.c
index a8e080782b2..a8e080782b2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/tgaread.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/tgaread.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/tiffread.c b/Build/source/libs/gd/libgd-2.1.0/examples/tiffread.c
index fe63ce00b2c..fe63ce00b2c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/tiffread.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/tiffread.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/windows.c b/Build/source/libs/gd/libgd-2.1.0/examples/windows.c
index 55976386f4e..55976386f4e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/examples/windows.c
+++ b/Build/source/libs/gd/libgd-2.1.0/examples/windows.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/m4/ax_pthread.m4 b/Build/source/libs/gd/libgd-2.1.0/m4/ax_pthread.m4
index 6d400ed4e8e..6d400ed4e8e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/m4/ax_pthread.m4
+++ b/Build/source/libs/gd/libgd-2.1.0/m4/ax_pthread.m4
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/m4/visibility.m4 b/Build/source/libs/gd/libgd-2.1.0/m4/visibility.m4
index 2ff6330aa42..2ff6330aa42 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/m4/visibility.m4
+++ b/Build/source/libs/gd/libgd-2.1.0/m4/visibility.m4
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/m4/w32.m4 b/Build/source/libs/gd/libgd-2.1.0/m4/w32.m4
index fbcc541d969..fbcc541d969 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/m4/w32.m4
+++ b/Build/source/libs/gd/libgd-2.1.0/m4/w32.m4
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/Makefile.netware b/Build/source/libs/gd/libgd-2.1.0/netware/Makefile.netware
index 0e82afd30ce..0e82afd30ce 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/Makefile.netware
+++ b/Build/source/libs/gd/libgd-2.1.0/netware/Makefile.netware
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/get_exp.awk b/Build/source/libs/gd/libgd-2.1.0/netware/get_exp.awk
index 5428bf63ca7..5428bf63ca7 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/get_exp.awk
+++ b/Build/source/libs/gd/libgd-2.1.0/netware/get_exp.awk
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/get_ver.awk b/Build/source/libs/gd/libgd-2.1.0/netware/get_ver.awk
index 8747a338a57..8747a338a57 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/get_ver.awk
+++ b/Build/source/libs/gd/libgd-2.1.0/netware/get_ver.awk
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/keepscreen.c b/Build/source/libs/gd/libgd-2.1.0/netware/keepscreen.c
index 0ff85628524..0ff85628524 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/keepscreen.c
+++ b/Build/source/libs/gd/libgd-2.1.0/netware/keepscreen.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/nwlibc.c b/Build/source/libs/gd/libgd-2.1.0/netware/nwlibc.c
index b981a554773..b981a554773 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/nwlibc.c
+++ b/Build/source/libs/gd/libgd-2.1.0/netware/nwlibc.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/tests/Makefile.netware b/Build/source/libs/gd/libgd-2.1.0/netware/tests/Makefile.netware
index 74cc234cba7..74cc234cba7 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/netware/tests/Makefile.netware
+++ b/Build/source/libs/gd/libgd-2.1.0/netware/tests/Makefile.netware
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/src/CMakeLists.txt
index 6228cba1797..daeaa26e774 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/src/CMakeLists.txt
@@ -22,14 +22,17 @@ SET (LIBGD_SRC_FILES
gd_io_stream.cxx
gd_io_stream.h
gd_io_dp.c
+ gd_interpolation.c
gd_gif_in.c
gd_gif_out.c
gd_io_file.c
gd_io_ss.c
gd_jpeg.c
+ gd_matrix.c
gd_nnquant.c
gd_nnquant.h
gd_png.c
+ gd_rotate.c
gd_tiff.c
gd_tga.c
gd_tga.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/COPYING b/Build/source/libs/gd/libgd-2.1.0/src/COPYING
index 90ef1c867ef..90ef1c867ef 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/COPYING
+++ b/Build/source/libs/gd/libgd-2.1.0/src/COPYING
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/Makefile.am b/Build/source/libs/gd/libgd-2.1.0/src/Makefile.am
index afda1100e5b..a0f2cd16665 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/Makefile.am
+++ b/Build/source/libs/gd/libgd-2.1.0/src/Makefile.am
@@ -37,7 +37,7 @@ if HAVE_LIBZ
check_PROGRAMS += gd2time
endif
-EXTRA_DIST = bdftogd demoin.png entities.html entities.tcl CMakeLists.txt config.h.cmake gd_io_stream.cxx gdpp.cxx
+EXTRA_DIST = bdftogd demoin.png entities.html entities.tcl CMakeLists.txt config.h.cmake gd_io_stream.cxx gdpp.cxx msinttypes/inttypes.h msinttypes/stdint.h
include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h entities.h gd_color_map.h gd_errors.h gdpp.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/annotate.c b/Build/source/libs/gd/libgd-2.1.0/src/annotate.c
index c8a706921dd..c66e3311306 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/annotate.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/annotate.c
@@ -74,6 +74,7 @@ int main(int argc, char *argv[])
im = gdImageCreateFromJpeg(in);
#else
fprintf(stderr, "No JPEG library support available.\n");
+ exit(1);
#endif
fclose(in);
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/bdftogd b/Build/source/libs/gd/libgd-2.1.0/src/bdftogd
index 66ffcc9ae88..66ffcc9ae88 100755
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/bdftogd
+++ b/Build/source/libs/gd/libgd-2.1.0/src/bdftogd
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/bmp.h b/Build/source/libs/gd/libgd-2.1.0/src/bmp.h
index cecde0383f5..cecde0383f5 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/bmp.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/bmp.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/circletexttest.c b/Build/source/libs/gd/libgd-2.1.0/src/circletexttest.c
index 2c51f5c8b9e..55e0970c1a3 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/circletexttest.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/circletexttest.c
@@ -5,7 +5,7 @@
#include <stdio.h>
#include "gd.h"
-int main(int argc, char *argv[])
+int main(void)
{
/* 2.0.22: can't depend on PNG either */
#ifndef HAVE_LIBPNG
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/config.h.cmake b/Build/source/libs/gd/libgd-2.1.0/src/config.h.cmake
index a8e6f00b64d..a8e6f00b64d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/config.h.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/src/config.h.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/config.hin b/Build/source/libs/gd/libgd-2.1.0/src/config.hin
index 54aeb524284..54aeb524284 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/config.hin
+++ b/Build/source/libs/gd/libgd-2.1.0/src/config.hin
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/demoin.png b/Build/source/libs/gd/libgd-2.1.0/src/demoin.png
index c3e57b2081e..c3e57b2081e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/demoin.png
+++ b/Build/source/libs/gd/libgd-2.1.0/src/demoin.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.h b/Build/source/libs/gd/libgd-2.1.0/src/entities.h
index cf24cb63e3d..cf24cb63e3d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/entities.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.html b/Build/source/libs/gd/libgd-2.1.0/src/entities.html
index 5c5d7b65a32..5c5d7b65a32 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.html
+++ b/Build/source/libs/gd/libgd-2.1.0/src/entities.html
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.tcl b/Build/source/libs/gd/libgd-2.1.0/src/entities.tcl
index 1f7c9e7e4af..1f7c9e7e4af 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/entities.tcl
+++ b/Build/source/libs/gd/libgd-2.1.0/src/entities.tcl
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/fontconfigtest.c b/Build/source/libs/gd/libgd-2.1.0/src/fontconfigtest.c
index 47c484922db..47c484922db 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/fontconfigtest.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/fontconfigtest.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/fontsizetest.c b/Build/source/libs/gd/libgd-2.1.0/src/fontsizetest.c
index 0cfd14792d0..55b9209d051 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/fontsizetest.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/fontsizetest.c
@@ -76,7 +76,7 @@ dotest (char *font, int w, int h, char *string, const char *filename)
}
int
-main (int argc, char **argv)
+main(void)
{
#if defined(HAVE_LIBPNG)
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/fontwheeltest.c b/Build/source/libs/gd/libgd-2.1.0/src/fontwheeltest.c
index 58eeb034109..b2bb258fdad 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/fontwheeltest.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/fontwheeltest.c
@@ -113,7 +113,7 @@ dotest (char *font, int size, double incr,
}
int
-main (int argc, char **argv)
+main(void)
{
#if defined(HAVE_LIBPNG)
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd.c b/Build/source/libs/gd/libgd-2.1.0/src/gd.c
index 45479369907..8c364d9e5fc 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd.c
@@ -2258,6 +2258,101 @@ BGD_DECLARE(void) gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2,
}
}
+BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src) {
+ gdImagePtr dst;
+ register int i, x;
+
+ if (src->trueColor) {
+ dst = gdImageCreateTrueColor(src->sx , src->sy);
+ } else {
+ dst = gdImageCreate(src->sx , src->sy);
+ }
+
+ if (dst == NULL) {
+ return NULL;
+ }
+
+ if (src->trueColor == 0) {
+ dst->colorsTotal = src->colorsTotal;
+ for (i = 0; i < gdMaxColors; i++) {
+ dst->red[i] = src->red[i];
+ dst->green[i] = src->green[i];
+ dst->blue[i] = src->blue[i];
+ dst->alpha[i] = src->alpha[i];
+ dst->open[i] = src->open[i];
+ }
+ for (i = 0; i < src->sy; i++) {
+ for (x = 0; x < src->sx; x++) {
+ dst->pixels[i][x] = dst->pixels[i][x];
+ }
+ }
+ } else {
+ for (i = 0; i < src->sy; i++) {
+ for (x = 0; x < src->sx; x++) {
+ dst->tpixels[i][x] = src->tpixels[i][x];
+ }
+ }
+ }
+
+ if (src->styleLength > 0) {
+ dst->styleLength = src->styleLength;
+ dst->stylePos = src->stylePos;
+ for (i = 0; i < src->styleLength; i++) {
+ dst->style[i] = src->style[i];
+ }
+ }
+
+ dst->interlace = src->interlace;
+
+ dst->alphaBlendingFlag = src->alphaBlendingFlag;
+ dst->saveAlphaFlag = src->saveAlphaFlag;
+ dst->AA = src->AA;
+ dst->AA_color = src->AA_color;
+ dst->AA_dont_blend = src->AA_dont_blend;
+
+ dst->cx1 = src->cx1;
+ dst->cy1 = src->cy1;
+ dst->cx2 = src->cx2;
+ dst->cy2 = src->cy2;
+
+ dst->res_x = src->res_x;
+ dst->res_y = src->res_x;
+
+ dst->paletteQuantizationMethod = src->paletteQuantizationMethod;
+ dst->paletteQuantizationSpeed = src->paletteQuantizationSpeed;
+ dst->paletteQuantizationMinQuality = src->paletteQuantizationMinQuality;
+ dst->paletteQuantizationMinQuality = src->paletteQuantizationMinQuality;
+
+ dst->interpolation_id = src->interpolation_id;
+ dst->interpolation = src->interpolation;
+
+ if (src->brush) {
+ dst->brush = gdImageClone(src->brush);
+ }
+
+ if (src->tile) {
+ dst->tile = gdImageClone(src->tile);
+ }
+
+ if (src->style) {
+ gdImageSetStyle(dst, src->style, src->styleLength);
+ }
+
+ for (i = 0; i < gdMaxColors; i++) {
+ dst->brushColorMap[i] = src->brushColorMap[i];
+ dst->tileColorMap[i] = src->tileColorMap[i];
+ }
+
+ if (src->polyAllocated > 0) {
+ dst->polyAllocated = src->polyAllocated;
+ for (i = 0; i < src->polyAllocated; i++) {
+ dst->polyInts[i] = src->polyInts[i];
+ }
+ }
+
+ return dst;
+}
+
BGD_DECLARE(void) gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX,
int srcY, int w, int h)
{
@@ -3240,8 +3335,10 @@ static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t
static void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int col)
{
/* keep them as 32bits */
- long x, y, inc;
+ long x, y, inc, frac;
long dx, dy,tmp;
+ int w, wid, wstart;
+ int thick = im->thick;
if (!im->trueColor) {
/* TBB: don't crash when the image is of the wrong type */
@@ -3262,6 +3359,17 @@ static void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int co
/* TBB: allow setting points */
gdImageSetAAPixelColor(im, x1, y1, col, 0xFF);
return;
+ } else {
+ double ag;
+ ag = (abs(dy) < abs(dx)) ? cos(atan2(dy, dx)) : sin(atan2(dy, dx));
+ if (ag != 0) {
+ wid = abs(thick / ag);
+ } else {
+ wid = 1;
+ }
+ if (wid == 0) {
+ wid = 1;
+ }
}
/* Axis aligned lines */
@@ -3284,15 +3392,24 @@ static void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int co
dx = x2 - x1;
dy = y2 - y1;
}
- x = x1 << 16;
- y = y1 << 16;
+ y = y1;
inc = (dy * 65536) / dx;
+ frac = 0;
/* TBB: set the last pixel for consistency (<=) */
- while ((x >> 16) <= x2) {
- gdImageSetAAPixelColor(im, x >> 16, y >> 16, col, (y >> 8) & 0xFF);
- gdImageSetAAPixelColor(im, x >> 16, (y >> 16) + 1, col, (~y >> 8) & 0xFF);
- x += (1 << 16);
- y += inc;
+ for (x = x1 ; x <= x2 ; x++) {
+ wstart = y - wid / 2;
+ for (w = wstart; w < wstart + wid; w++) {
+ gdImageSetAAPixelColor(im, x , w , col , (frac >> 8) & 0xFF);
+ gdImageSetAAPixelColor(im, x , w + 1 , col, (~frac >> 8) & 0xFF);
+ }
+ frac += inc;
+ if (frac >= 65536) {
+ frac -= 65536;
+ y++;
+ } else if (frac < 0) {
+ frac += 65536;
+ y--;
+ }
}
} else {
if (dy < 0) {
@@ -3305,15 +3422,24 @@ static void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int co
dx = x2 - x1;
dy = y2 - y1;
}
- x = x1 << 16;
- y = y1 << 16;
+ x = x1;
inc = (dx * 65536) / dy;
+ frac = 0;
/* TBB: set the last pixel for consistency (<=) */
- while ((y >> 16) <= y2) {
- gdImageSetAAPixelColor(im, x >> 16, y >> 16, col, (x >> 8) & 0xFF);
- gdImageSetAAPixelColor(im, (x >> 16) + 1, (y >> 16), col, (~x >> 8) & 0xFF);
- x += inc;
- y += (1 << 16);
+ for (y = y1 ; y <= y2 ; y++) {
+ wstart = x - wid / 2;
+ for (w = wstart; w < wstart + wid; w++) {
+ gdImageSetAAPixelColor(im, w , y , col, (frac >> 8) & 0xFF);
+ gdImageSetAAPixelColor(im, w + 1, y, col, (~frac >> 8) & 0xFF);
+ }
+ frac += inc;
+ if (frac >= 65536) {
+ frac -= 65536;
+ x++;
+ } else if (frac < 0) {
+ frac += 65536;
+ x--;
+ }
}
}
}
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd.h b/Build/source/libs/gd/libgd-2.1.0/src/gd.h
index fcc17810084..d8b7807d65f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd.h
@@ -889,6 +889,8 @@ BGD_DECLARE(void) gdImageCopyRotated (gdImagePtr dst,
int srcX, int srcY,
int srcWidth, int srcHeight, int angle);
+BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src);
+
BGD_DECLARE(void) gdImageSetBrush (gdImagePtr im, gdImagePtr brush);
BGD_DECLARE(void) gdImageSetTile (gdImagePtr im, gdImagePtr tile);
BGD_DECLARE(void) gdImageSetAntiAliased (gdImagePtr im, int c);
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2copypal.c b/Build/source/libs/gd/libgd-2.1.0/src/gd2copypal.c
index eaa67b55e6f..eaa67b55e6f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2copypal.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd2copypal.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2time.c b/Build/source/libs/gd/libgd-2.1.0/src/gd2time.c
index 3c9e8af2c7b..3c9e8af2c7b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2time.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd2time.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2togif.c b/Build/source/libs/gd/libgd-2.1.0/src/gd2togif.c
index 5a0be19b378..5a0be19b378 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2togif.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd2togif.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2topng.c b/Build/source/libs/gd/libgd-2.1.0/src/gd2topng.c
index 6c0626f3b30..6c0626f3b30 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd2topng.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd2topng.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_bmp.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_bmp.c
index 0fc021909f1..0fc021909f1 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_bmp.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_bmp.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_color.c
index 6d8a8466b8a..6d8a8466b8a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_color.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color.h b/Build/source/libs/gd/libgd-2.1.0/src/gd_color.h
index 08b06cee09b..08b06cee09b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_color.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_color_map.c
index ff48399a982..ff48399a982 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_color_map.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map.h b/Build/source/libs/gd/libgd-2.1.0/src/gd_color_map.h
index 6d2275e5647..6d2275e5647 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_color_map.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map_test.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_color_map_test.c
index 9755f5c86d7..26e08bd8516 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_map_test.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_color_map_test.c
@@ -7,7 +7,7 @@
#include "gd_color_map.h"
int
-main(int argc, char *argv[])
+main(void)
{
int r, g, b;
int i;
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_match.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_color_match.c
index 5f0fd0a86c2..5f0fd0a86c2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_color_match.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_color_match.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_crop.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_crop.c
index 02966336d18..02966336d18 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_crop.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_crop.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_errors.h b/Build/source/libs/gd/libgd-2.1.0/src/gd_errors.h
index 4ecee94b386..4ecee94b386 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_errors.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_errors.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_filter.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_filter.c
index 6735aabfe5b..6735aabfe5b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_filter.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_filter.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gd.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_gd.c
index 3cdfd58f461..3cdfd58f461 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gd.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_gd.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gd2.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_gd2.c
index e7207f9ac6e..e7207f9ac6e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gd2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_gd2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gif_in.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_gif_in.c
index 68cdd3209e9..68cdd3209e9 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gif_in.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_gif_in.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gif_out.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_gif_out.c
index c863172d64d..c863172d64d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_gif_out.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_gif_out.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_intern.h b/Build/source/libs/gd/libgd-2.1.0/src/gd_intern.h
index 2e60613e981..2e60613e981 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_intern.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_intern.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_interpolation.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_interpolation.c
index 383ef82b0e8..88dca85cc44 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_interpolation.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_interpolation.c
@@ -619,6 +619,10 @@ static double filter_welsh(const double x)
}
#endif
+#if defined(_MSC_VER) && !defined(inline)
+# define inline __inline
+#endif
+
/* Copied from upstream's libgd */
static inline int _color_blend (const int dst, const int src)
{
@@ -1702,8 +1706,8 @@ gdImagePtr gdImageRotateNearestNeighbour(gdImagePtr src, const float degrees, co
unsigned int j;
dst_offset_x = 0;
for (j = 0; j < new_width; j++) {
- gdFixed f_i = gd_itofx(i - new_height/2);
- gdFixed f_j = gd_itofx(j-new_width/2);
+ gdFixed f_i = gd_itofx((int)i - (int)new_height / 2);
+ gdFixed f_j = gd_itofx((int)j - (int)new_width / 2);
gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H;
gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W;
long m = gd_fxtoi(f_m);
@@ -1769,8 +1773,8 @@ gdImagePtr gdImageRotateGeneric(gdImagePtr src, const float degrees, const int b
unsigned int j;
dst_offset_x = 0;
for (j = 0; j < new_width; j++) {
- gdFixed f_i = gd_itofx(i - new_height/ 2);
- gdFixed f_j = gd_itofx(j -new_width / 2);
+ gdFixed f_i = gd_itofx((int)i - (int)new_height / 2);
+ gdFixed f_j = gd_itofx((int)j - (int)new_width / 2);
gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H;
gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W;
long m = gd_fxtoi(f_m);
@@ -1829,8 +1833,8 @@ gdImagePtr gdImageRotateBilinear(gdImagePtr src, const float degrees, const int
dst_offset_x = 0;
for (j=0; j < new_width; j++) {
- const gdFixed f_i = gd_itofx(i-new_height/2);
- const gdFixed f_j = gd_itofx(j-new_width/2);
+ const gdFixed f_i = gd_itofx((int)i - (int)new_height / 2);
+ const gdFixed f_j = gd_itofx((int)j - (int)new_width / 2);
const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H;
const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W;
const unsigned int m = gd_fxtoi(f_m);
@@ -1844,21 +1848,20 @@ gdImagePtr gdImageRotateBilinear(gdImagePtr src, const float degrees, const int
const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g);
const gdFixed f_w4 = gd_mulfx(f_f, f_g);
- /* The last condition is always true because the if ^^^ */
- /* if (n < src_w - 1) { */
- /* src_offset_x = m + 1; */
- /* src_offset_y = n; */
- /* } */
-
- /* if (m < src_h - 1) { */
- /* src_offset_x = m; */
- /* src_offset_y = n + 1; */
- /* } */
-
- /* if (!((n >= src_w - 1) || (m >= src_h - 1))) { */
- src_offset_x = m + 1;
- src_offset_y = n + 1;
- /* } */
+ if (n < src_w - 1) {
+ src_offset_x = n + 1;
+ src_offset_y = m;
+ }
+
+ if (m < src_h - 1) {
+ src_offset_x = n;
+ src_offset_y = m + 1;
+ }
+
+ if (!((n >= src_w - 1) || (m >= src_h - 1))) {
+ src_offset_x = n + 1;
+ src_offset_y = m + 1;
+ }
{
const int pixel1 = src->tpixels[src_offset_y][src_offset_x];
register int pixel2, pixel3, pixel4;
@@ -1957,8 +1960,8 @@ gdImagePtr gdImageRotateBicubicFixed(gdImagePtr src, const float degrees, const
dst_offset_x = 0;
for (j=0; j < new_width; j++) {
- const gdFixed f_i = gd_itofx(i-new_height/2);
- const gdFixed f_j = gd_itofx(j-new_width/2);
+ const gdFixed f_i = gd_itofx((int)i - (int)new_height / 2);
+ const gdFixed f_j = gd_itofx((int)j - (int)new_width / 2);
const gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H;
const gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W;
const int m = gd_fxtoi(f_m);
@@ -2192,19 +2195,40 @@ gdImagePtr gdImageRotateBicubicFixed(gdImagePtr src, const float degrees, const
BGD_DECLARE(gdImagePtr) gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor)
{
- const int angle_rounded = (int)floor(angle * 100);
-
+ /* round to two decimals and keep the 100x multiplication to use it in the common square angles
+ case later. Keep the two decimal precisions so smaller rotation steps can be done, useful for
+ slow animations, f.e. */
+ const int angle_rounded = fmod((int) floorf(angle * 100), 360 * 100);
+
if (bgcolor < 0) {
return NULL;
}
- /* no interpolation needed here */
+ /* 0 && 90 degrees multiple rotation, 0 rotation simply clones the return image and convert it
+ to truecolor, as we must return truecolor image. */
switch (angle_rounded) {
- case 9000:
+ case 0: {
+ gdImagePtr dst = gdImageClone(src);
+
+ if (dst == NULL) {
+ return NULL;
+ }
+ if (dst->trueColor == 0) {
+ gdImagePaletteToTrueColor(dst);
+ }
+ return dst;
+ }
+
+ case -2700:
+ case 9000:
return gdImageRotate90(src, 0);
- case 18000:
+
+ case -18000:
+ case 18000:
return gdImageRotate180(src, 0);
- case 27000:
+
+ case -9000:
+ case 27000:
return gdImageRotate270(src, 0);
}
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_io.c
index 03b83472120..03b83472120 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_io.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io.h b/Build/source/libs/gd/libgd-2.1.0/src/gd_io.h
index ed02d25735c..ed02d25735c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_io.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_dp.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_dp.c
index 8dbcc62e2aa..8dbcc62e2aa 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_dp.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_dp.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_file.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_file.c
index d3893e4cea2..d3893e4cea2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_file.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_file.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_ss.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_ss.c
index a0cf3918f91..a0cf3918f91 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_ss.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_ss.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_stream.cxx b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_stream.cxx
index 28021afc1ae..28021afc1ae 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_stream.cxx
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_stream.cxx
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_stream.h b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_stream.h
index 703548fec26..703548fec26 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_io_stream.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_io_stream.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_jpeg.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_jpeg.c
index 73a38126192..73a38126192 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_jpeg.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_jpeg.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_matrix.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_matrix.c
index 3147dea0fcd..3147dea0fcd 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_matrix.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_matrix.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_nnquant.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_nnquant.c
index c4b43d6ea35..c4b43d6ea35 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_nnquant.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_nnquant.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_nnquant.h b/Build/source/libs/gd/libgd-2.1.0/src/gd_nnquant.h
index b054fb1da44..b054fb1da44 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_nnquant.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_nnquant.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_png.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_png.c
index 3d381e9b3bd..3d381e9b3bd 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_png.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_png.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_rotate.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_rotate.c
index b119d2c4975..eb057e1148e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_rotate.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_rotate.c
@@ -348,6 +348,9 @@ gdImagePtr gdImageRotate45 (gdImagePtr src, double dAngle, int clrBack, int igno
int clrBackR, clrBackG, clrBackB, clrBackA;
/* See GEMS I for the algorithm details */
+ dRadAngle = dAngle * ROTATE_DEG2RAD; /* Angle in radians */
+ dSinE = sin (dRadAngle);
+ dTan = tan (dRadAngle / 2.0);
newx = (int)(src->sx + src->sy * fabs(dTan));
newy = src->sy;
@@ -380,10 +383,6 @@ gdImagePtr gdImageRotate45 (gdImagePtr src, double dAngle, int clrBack, int igno
}
}
- dRadAngle = dAngle * ROTATE_DEG2RAD; /* Angle in radians */
- dSinE = sin (dRadAngle);
- dTan = tan (dRadAngle / 2.0);
-
for (u = 0; u < dst1->sy; u++) {
if (dTan >= 0.0) {
dShear = ((double)(u + 0.5)) * dTan;
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_security.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_security.c
index 0051ebf4559..0051ebf4559 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_security.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_security.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_ss.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_ss.c
index 702a917e91d..702a917e91d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_ss.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_ss.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tga.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_tga.c
index 756248afcea..756248afcea 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tga.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_tga.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tga.h b/Build/source/libs/gd/libgd-2.1.0/src/gd_tga.h
index 5c535fd8c31..5c535fd8c31 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tga.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_tga.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tiff.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_tiff.c
index ec6dd113074..ec6dd113074 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_tiff.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_tiff.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_topal.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_topal.c
index 28b6503d063..28b6503d063 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_topal.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_topal.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_transform.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_transform.c
index 68013ef9319..68013ef9319 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_transform.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_transform.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_wbmp.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_wbmp.c
index ef1541863d7..ef1541863d7 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_wbmp.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_wbmp.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_webp.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_webp.c
index 79ebfa9d892..fae38610999 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_webp.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_webp.c
@@ -62,11 +62,13 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpPtr (int size, void *data)
return im;
}
+#define GD_WEBP_ALLOC_STEP (4*1024)
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx (gdIOCtx * infile)
{
int width, height, ret;
- unsigned char *filedata;
- unsigned char dummy[1024];
+ unsigned char *filedata = NULL;
+ unsigned char *read, *temp;
unsigned char *Y = NULL;
unsigned char *U = NULL;
unsigned char *V = NULL;
@@ -74,16 +76,22 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx (gdIOCtx * infile)
gdImagePtr im;
do {
- n = gdGetBuf(dummy, 1024, infile);
+ temp = gdRealloc(filedata, size+GD_WEBP_ALLOC_STEP);
+ if (temp) {
+ filedata = temp;
+ read = temp + size;
+ } else {
+ if (filedata) {
+ gdFree(filedata);
+ }
+ gd_error("WebP decode: realloc failed");
+ return NULL;
+ }
+
+ n = gdGetBuf(read, GD_WEBP_ALLOC_STEP, infile);
size += n;
- } while (n != EOF);
+ } while (n>0);
- filedata = gdMalloc(size);
- if (!filedata) {
- gd_error("WebP decode: alloc failed");
- return NULL;
- }
- gdGetBuf(filedata, size, infile);
ret = WebPDecode(filedata, size, &Y, &U, &V, &width, &height);
gdFree(filedata);
if (ret != webp_success) {
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_xbm.c b/Build/source/libs/gd/libgd-2.1.0/src/gd_xbm.c
index 612be47cc49..612be47cc49 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gd_xbm.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gd_xbm.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcache.c b/Build/source/libs/gd/libgd-2.1.0/src/gdcache.c
index b264d6ef859..b264d6ef859 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcache.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdcache.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcache.h b/Build/source/libs/gd/libgd-2.1.0/src/gdcache.h
index bf451dc6cc3..bf451dc6cc3 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcache.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdcache.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcmpgif.c b/Build/source/libs/gd/libgd-2.1.0/src/gdcmpgif.c
index 737f7ba90b8..737f7ba90b8 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdcmpgif.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdcmpgif.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gddemo.c b/Build/source/libs/gd/libgd-2.1.0/src/gddemo.c
index 28afd3c1d12..28afd3c1d12 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gddemo.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gddemo.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontg.c b/Build/source/libs/gd/libgd-2.1.0/src/gdfontg.c
index 37178602695..37178602695 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontg.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfontg.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontg.h b/Build/source/libs/gd/libgd-2.1.0/src/gdfontg.h
index 5d85812cf42..5d85812cf42 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontg.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfontg.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontl.c b/Build/source/libs/gd/libgd-2.1.0/src/gdfontl.c
index a987407aeca..a987407aeca 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontl.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfontl.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontl.h b/Build/source/libs/gd/libgd-2.1.0/src/gdfontl.h
index 2fc91ca6bff..2fc91ca6bff 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontl.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfontl.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontmb.c b/Build/source/libs/gd/libgd-2.1.0/src/gdfontmb.c
index 349b2dbde28..349b2dbde28 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontmb.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfontmb.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontmb.h b/Build/source/libs/gd/libgd-2.1.0/src/gdfontmb.h
index e6807db4eb8..e6807db4eb8 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontmb.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfontmb.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfonts.c b/Build/source/libs/gd/libgd-2.1.0/src/gdfonts.c
index f7c27250362..f7c27250362 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfonts.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfonts.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfonts.h b/Build/source/libs/gd/libgd-2.1.0/src/gdfonts.h
index b5127e971a6..b5127e971a6 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfonts.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfonts.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontt.c b/Build/source/libs/gd/libgd-2.1.0/src/gdfontt.c
index c9c6f4a31da..c9c6f4a31da 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontt.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfontt.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontt.h b/Build/source/libs/gd/libgd-2.1.0/src/gdfontt.h
index d61b01ff4a0..d61b01ff4a0 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfontt.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfontt.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdft.c b/Build/source/libs/gd/libgd-2.1.0/src/gdft.c
index 77622995c1b..cf3eafe0526 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdft.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdft.c
@@ -1487,7 +1487,7 @@ static char * font_pattern(char **fontpath, char *fontpattern)
return "could not alloc font path";
}
strncpy(*fontpath, (const char *)file, file_len);
- fontpath[file_len] = 0;
+ (*fontpath)[file_len] = 0;
}
FcPatternDestroy(font);
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfx.c b/Build/source/libs/gd/libgd-2.1.0/src/gdfx.c
index 13b32fe1c06..13b32fe1c06 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfx.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfx.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfx.h b/Build/source/libs/gd/libgd-2.1.0/src/gdfx.h
index cf83d3eb46e..cf83d3eb46e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdfx.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdfx.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdhelpers.c b/Build/source/libs/gd/libgd-2.1.0/src/gdhelpers.c
index 6ca96eabb58..33126cb77f9 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdhelpers.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdhelpers.c
@@ -61,25 +61,24 @@ gd_strtok_r (char *s, char *sep, char **state)
return result;
}
-inline void *
-gdCalloc (size_t nmemb, size_t size)
+void * gdCalloc (size_t nmemb, size_t size)
{
return calloc (nmemb, size);
}
-inline void *
+void *
gdMalloc (size_t size)
{
return malloc (size);
}
-inline void *
+void *
gdRealloc (void *ptr, size_t size)
{
return realloc (ptr, size);
}
-inline void *
+void *
gdReallocEx (void *ptr, size_t size)
{
void *newPtr = gdRealloc (ptr, size);
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdhelpers.h b/Build/source/libs/gd/libgd-2.1.0/src/gdhelpers.h
index 0a5df08dc9f..0a5df08dc9f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdhelpers.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdhelpers.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdkanji.c b/Build/source/libs/gd/libgd-2.1.0/src/gdkanji.c
index ab8c0df82df..ab8c0df82df 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdkanji.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdkanji.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdparttopng.c b/Build/source/libs/gd/libgd-2.1.0/src/gdparttopng.c
index 42d6df20368..42d6df20368 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdparttopng.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdparttopng.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdpp.cxx b/Build/source/libs/gd/libgd-2.1.0/src/gdpp.cxx
index 83bd73f6353..83bd73f6353 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdpp.cxx
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdpp.cxx
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdpp.h b/Build/source/libs/gd/libgd-2.1.0/src/gdpp.h
index 31e30468844..31e30468844 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdpp.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdpp.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtables.c b/Build/source/libs/gd/libgd-2.1.0/src/gdtables.c
index 7753b21a4b3..7753b21a4b3 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtables.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdtables.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtest.c b/Build/source/libs/gd/libgd-2.1.0/src/gdtest.c
index 17dfc1bc521..17dfc1bc521 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtest.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdtest.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtestft.c b/Build/source/libs/gd/libgd-2.1.0/src/gdtestft.c
index e72165bdb56..e72165bdb56 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtestft.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdtestft.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtopng.c b/Build/source/libs/gd/libgd-2.1.0/src/gdtopng.c
index d3341b43cad..d3341b43cad 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdtopng.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdtopng.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdxpm.c b/Build/source/libs/gd/libgd-2.1.0/src/gdxpm.c
index bad4be345b2..bad4be345b2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gdxpm.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gdxpm.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gifanimtest.c b/Build/source/libs/gd/libgd-2.1.0/src/gifanimtest.c
index 9288b6a5a41..da17b9e24f5 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/gifanimtest.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/gifanimtest.c
@@ -4,7 +4,7 @@
#include "gd.h"
-int main (int argc, char *argv[])
+int main(void)
{
gdImagePtr im;
gdImagePtr last, cim;
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/giftogd2.c b/Build/source/libs/gd/libgd-2.1.0/src/giftogd2.c
index e7d0c6b8250..e7d0c6b8250 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/giftogd2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/giftogd2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/jisx0208.h b/Build/source/libs/gd/libgd-2.1.0/src/jisx0208.h
index d49dddc010a..d49dddc010a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/jisx0208.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/jisx0208.h
diff --git a/Build/source/libs/gd/libgd-2.1.0/src/msinttypes/inttypes.h b/Build/source/libs/gd/libgd-2.1.0/src/msinttypes/inttypes.h
new file mode 100644
index 00000000000..4b3828a2162
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/src/msinttypes/inttypes.h
@@ -0,0 +1,305 @@
+// ISO C9x compliant inttypes.h for Microsoft Visual Studio
+// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
+//
+// Copyright (c) 2006 Alexander Chemeris
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// 2. Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+//
+// 3. The name of the author may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef _MSC_VER // [
+#error "Use this header only with Microsoft Visual C++ compilers!"
+#endif // _MSC_VER ]
+
+#ifndef _MSC_INTTYPES_H_ // [
+#define _MSC_INTTYPES_H_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif
+
+#include "stdint.h"
+
+// 7.8 Format conversion of integer types
+
+typedef struct {
+ intmax_t quot;
+ intmax_t rem;
+} imaxdiv_t;
+
+// 7.8.1 Macros for format specifiers
+
+#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) // [ See footnote 185 at page 198
+
+// The fprintf macros for signed integers are:
+#define PRId8 "d"
+#define PRIi8 "i"
+#define PRIdLEAST8 "d"
+#define PRIiLEAST8 "i"
+#define PRIdFAST8 "d"
+#define PRIiFAST8 "i"
+
+#define PRId16 "hd"
+#define PRIi16 "hi"
+#define PRIdLEAST16 "hd"
+#define PRIiLEAST16 "hi"
+#define PRIdFAST16 "hd"
+#define PRIiFAST16 "hi"
+
+#define PRId32 "I32d"
+#define PRIi32 "I32i"
+#define PRIdLEAST32 "I32d"
+#define PRIiLEAST32 "I32i"
+#define PRIdFAST32 "I32d"
+#define PRIiFAST32 "I32i"
+
+#define PRId64 "I64d"
+#define PRIi64 "I64i"
+#define PRIdLEAST64 "I64d"
+#define PRIiLEAST64 "I64i"
+#define PRIdFAST64 "I64d"
+#define PRIiFAST64 "I64i"
+
+#define PRIdMAX "I64d"
+#define PRIiMAX "I64i"
+
+#define PRIdPTR "Id"
+#define PRIiPTR "Ii"
+
+// The fprintf macros for unsigned integers are:
+#define PRIo8 "o"
+#define PRIu8 "u"
+#define PRIx8 "x"
+#define PRIX8 "X"
+#define PRIoLEAST8 "o"
+#define PRIuLEAST8 "u"
+#define PRIxLEAST8 "x"
+#define PRIXLEAST8 "X"
+#define PRIoFAST8 "o"
+#define PRIuFAST8 "u"
+#define PRIxFAST8 "x"
+#define PRIXFAST8 "X"
+
+#define PRIo16 "ho"
+#define PRIu16 "hu"
+#define PRIx16 "hx"
+#define PRIX16 "hX"
+#define PRIoLEAST16 "ho"
+#define PRIuLEAST16 "hu"
+#define PRIxLEAST16 "hx"
+#define PRIXLEAST16 "hX"
+#define PRIoFAST16 "ho"
+#define PRIuFAST16 "hu"
+#define PRIxFAST16 "hx"
+#define PRIXFAST16 "hX"
+
+#define PRIo32 "I32o"
+#define PRIu32 "I32u"
+#define PRIx32 "I32x"
+#define PRIX32 "I32X"
+#define PRIoLEAST32 "I32o"
+#define PRIuLEAST32 "I32u"
+#define PRIxLEAST32 "I32x"
+#define PRIXLEAST32 "I32X"
+#define PRIoFAST32 "I32o"
+#define PRIuFAST32 "I32u"
+#define PRIxFAST32 "I32x"
+#define PRIXFAST32 "I32X"
+
+#define PRIo64 "I64o"
+#define PRIu64 "I64u"
+#define PRIx64 "I64x"
+#define PRIX64 "I64X"
+#define PRIoLEAST64 "I64o"
+#define PRIuLEAST64 "I64u"
+#define PRIxLEAST64 "I64x"
+#define PRIXLEAST64 "I64X"
+#define PRIoFAST64 "I64o"
+#define PRIuFAST64 "I64u"
+#define PRIxFAST64 "I64x"
+#define PRIXFAST64 "I64X"
+
+#define PRIoMAX "I64o"
+#define PRIuMAX "I64u"
+#define PRIxMAX "I64x"
+#define PRIXMAX "I64X"
+
+#define PRIoPTR "Io"
+#define PRIuPTR "Iu"
+#define PRIxPTR "Ix"
+#define PRIXPTR "IX"
+
+// The fscanf macros for signed integers are:
+#define SCNd8 "d"
+#define SCNi8 "i"
+#define SCNdLEAST8 "d"
+#define SCNiLEAST8 "i"
+#define SCNdFAST8 "d"
+#define SCNiFAST8 "i"
+
+#define SCNd16 "hd"
+#define SCNi16 "hi"
+#define SCNdLEAST16 "hd"
+#define SCNiLEAST16 "hi"
+#define SCNdFAST16 "hd"
+#define SCNiFAST16 "hi"
+
+#define SCNd32 "ld"
+#define SCNi32 "li"
+#define SCNdLEAST32 "ld"
+#define SCNiLEAST32 "li"
+#define SCNdFAST32 "ld"
+#define SCNiFAST32 "li"
+
+#define SCNd64 "I64d"
+#define SCNi64 "I64i"
+#define SCNdLEAST64 "I64d"
+#define SCNiLEAST64 "I64i"
+#define SCNdFAST64 "I64d"
+#define SCNiFAST64 "I64i"
+
+#define SCNdMAX "I64d"
+#define SCNiMAX "I64i"
+
+#ifdef _WIN64 // [
+# define SCNdPTR "I64d"
+# define SCNiPTR "I64i"
+#else // _WIN64 ][
+# define SCNdPTR "ld"
+# define SCNiPTR "li"
+#endif // _WIN64 ]
+
+// The fscanf macros for unsigned integers are:
+#define SCNo8 "o"
+#define SCNu8 "u"
+#define SCNx8 "x"
+#define SCNX8 "X"
+#define SCNoLEAST8 "o"
+#define SCNuLEAST8 "u"
+#define SCNxLEAST8 "x"
+#define SCNXLEAST8 "X"
+#define SCNoFAST8 "o"
+#define SCNuFAST8 "u"
+#define SCNxFAST8 "x"
+#define SCNXFAST8 "X"
+
+#define SCNo16 "ho"
+#define SCNu16 "hu"
+#define SCNx16 "hx"
+#define SCNX16 "hX"
+#define SCNoLEAST16 "ho"
+#define SCNuLEAST16 "hu"
+#define SCNxLEAST16 "hx"
+#define SCNXLEAST16 "hX"
+#define SCNoFAST16 "ho"
+#define SCNuFAST16 "hu"
+#define SCNxFAST16 "hx"
+#define SCNXFAST16 "hX"
+
+#define SCNo32 "lo"
+#define SCNu32 "lu"
+#define SCNx32 "lx"
+#define SCNX32 "lX"
+#define SCNoLEAST32 "lo"
+#define SCNuLEAST32 "lu"
+#define SCNxLEAST32 "lx"
+#define SCNXLEAST32 "lX"
+#define SCNoFAST32 "lo"
+#define SCNuFAST32 "lu"
+#define SCNxFAST32 "lx"
+#define SCNXFAST32 "lX"
+
+#define SCNo64 "I64o"
+#define SCNu64 "I64u"
+#define SCNx64 "I64x"
+#define SCNX64 "I64X"
+#define SCNoLEAST64 "I64o"
+#define SCNuLEAST64 "I64u"
+#define SCNxLEAST64 "I64x"
+#define SCNXLEAST64 "I64X"
+#define SCNoFAST64 "I64o"
+#define SCNuFAST64 "I64u"
+#define SCNxFAST64 "I64x"
+#define SCNXFAST64 "I64X"
+
+#define SCNoMAX "I64o"
+#define SCNuMAX "I64u"
+#define SCNxMAX "I64x"
+#define SCNXMAX "I64X"
+
+#ifdef _WIN64 // [
+# define SCNoPTR "I64o"
+# define SCNuPTR "I64u"
+# define SCNxPTR "I64x"
+# define SCNXPTR "I64X"
+#else // _WIN64 ][
+# define SCNoPTR "lo"
+# define SCNuPTR "lu"
+# define SCNxPTR "lx"
+# define SCNXPTR "lX"
+#endif // _WIN64 ]
+
+#endif // __STDC_FORMAT_MACROS ]
+
+// 7.8.2 Functions for greatest-width integer types
+
+// 7.8.2.1 The imaxabs function
+#define imaxabs _abs64
+
+// 7.8.2.2 The imaxdiv function
+
+// This is modified version of div() function from Microsoft's div.c found
+// in %MSVC.NET%\crt\src\div.c
+#ifdef STATIC_IMAXDIV // [
+static
+#else // STATIC_IMAXDIV ][
+_inline
+#endif // STATIC_IMAXDIV ]
+imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom)
+{
+ imaxdiv_t result;
+
+ result.quot = numer / denom;
+ result.rem = numer % denom;
+
+ if (numer < 0 && result.rem > 0) {
+ // did division wrong; must fix up
+ ++result.quot;
+ result.rem -= denom;
+ }
+
+ return result;
+}
+
+// 7.8.2.3 The strtoimax and strtoumax functions
+#define strtoimax _strtoi64
+#define strtoumax _strtoui64
+
+// 7.8.2.4 The wcstoimax and wcstoumax functions
+#define wcstoimax _wcstoi64
+#define wcstoumax _wcstoui64
+
+
+#endif // _MSC_INTTYPES_H_ ]
diff --git a/Build/source/libs/gd/libgd-2.1.0/src/msinttypes/stdint.h b/Build/source/libs/gd/libgd-2.1.0/src/msinttypes/stdint.h
new file mode 100644
index 00000000000..d02608a5972
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/src/msinttypes/stdint.h
@@ -0,0 +1,247 @@
+// ISO C9x compliant stdint.h for Microsoft Visual Studio
+// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
+//
+// Copyright (c) 2006-2008 Alexander Chemeris
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// 2. Redistributions in binary form must reproduce the above copyright
+// notice, this list of conditions and the following disclaimer in the
+// documentation and/or other materials provided with the distribution.
+//
+// 3. The name of the author may be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef _MSC_VER // [
+#error "Use this header only with Microsoft Visual C++ compilers!"
+#endif // _MSC_VER ]
+
+#ifndef _MSC_STDINT_H_ // [
+#define _MSC_STDINT_H_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif
+
+#include <limits.h>
+
+// For Visual Studio 6 in C++ mode and for many Visual Studio versions when
+// compiling for ARM we should wrap <wchar.h> include with 'extern "C++" {}'
+// or compiler give many errors like this:
+// error C2733: second C linkage of overloaded function 'wmemchr' not allowed
+#ifdef __cplusplus
+extern "C" {
+#endif
+# include <wchar.h>
+#ifdef __cplusplus
+}
+#endif
+
+// Define _W64 macros to mark types changing their size, like intptr_t.
+#ifndef _W64
+# if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
+# define _W64 __w64
+# else
+# define _W64
+# endif
+#endif
+
+
+// 7.18.1 Integer types
+
+// 7.18.1.1 Exact-width integer types
+
+// Visual Studio 6 and Embedded Visual C++ 4 doesn't
+// realize that, e.g. char has the same size as __int8
+// so we give up on __intX for them.
+#if (_MSC_VER < 1300)
+ typedef signed char int8_t;
+ typedef signed short int16_t;
+ typedef signed int int32_t;
+ typedef unsigned char uint8_t;
+ typedef unsigned short uint16_t;
+ typedef unsigned int uint32_t;
+#else
+ typedef signed __int8 int8_t;
+ typedef signed __int16 int16_t;
+ typedef signed __int32 int32_t;
+ typedef unsigned __int8 uint8_t;
+ typedef unsigned __int16 uint16_t;
+ typedef unsigned __int32 uint32_t;
+#endif
+typedef signed __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+
+
+// 7.18.1.2 Minimum-width integer types
+typedef int8_t int_least8_t;
+typedef int16_t int_least16_t;
+typedef int32_t int_least32_t;
+typedef int64_t int_least64_t;
+typedef uint8_t uint_least8_t;
+typedef uint16_t uint_least16_t;
+typedef uint32_t uint_least32_t;
+typedef uint64_t uint_least64_t;
+
+// 7.18.1.3 Fastest minimum-width integer types
+typedef int8_t int_fast8_t;
+typedef int16_t int_fast16_t;
+typedef int32_t int_fast32_t;
+typedef int64_t int_fast64_t;
+typedef uint8_t uint_fast8_t;
+typedef uint16_t uint_fast16_t;
+typedef uint32_t uint_fast32_t;
+typedef uint64_t uint_fast64_t;
+
+// 7.18.1.4 Integer types capable of holding object pointers
+#ifdef _WIN64 // [
+ typedef signed __int64 intptr_t;
+ typedef unsigned __int64 uintptr_t;
+#else // _WIN64 ][
+ typedef _W64 signed int intptr_t;
+ typedef _W64 unsigned int uintptr_t;
+#endif // _WIN64 ]
+
+// 7.18.1.5 Greatest-width integer types
+typedef int64_t intmax_t;
+typedef uint64_t uintmax_t;
+
+
+// 7.18.2 Limits of specified-width integer types
+
+#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) // [ See footnote 220 at page 257 and footnote 221 at page 259
+
+// 7.18.2.1 Limits of exact-width integer types
+#define INT8_MIN ((int8_t)_I8_MIN)
+#define INT8_MAX _I8_MAX
+#define INT16_MIN ((int16_t)_I16_MIN)
+#define INT16_MAX _I16_MAX
+#define INT32_MIN ((int32_t)_I32_MIN)
+#define INT32_MAX _I32_MAX
+#define INT64_MIN ((int64_t)_I64_MIN)
+#define INT64_MAX _I64_MAX
+#define UINT8_MAX _UI8_MAX
+#define UINT16_MAX _UI16_MAX
+#define UINT32_MAX _UI32_MAX
+#define UINT64_MAX _UI64_MAX
+
+// 7.18.2.2 Limits of minimum-width integer types
+#define INT_LEAST8_MIN INT8_MIN
+#define INT_LEAST8_MAX INT8_MAX
+#define INT_LEAST16_MIN INT16_MIN
+#define INT_LEAST16_MAX INT16_MAX
+#define INT_LEAST32_MIN INT32_MIN
+#define INT_LEAST32_MAX INT32_MAX
+#define INT_LEAST64_MIN INT64_MIN
+#define INT_LEAST64_MAX INT64_MAX
+#define UINT_LEAST8_MAX UINT8_MAX
+#define UINT_LEAST16_MAX UINT16_MAX
+#define UINT_LEAST32_MAX UINT32_MAX
+#define UINT_LEAST64_MAX UINT64_MAX
+
+// 7.18.2.3 Limits of fastest minimum-width integer types
+#define INT_FAST8_MIN INT8_MIN
+#define INT_FAST8_MAX INT8_MAX
+#define INT_FAST16_MIN INT16_MIN
+#define INT_FAST16_MAX INT16_MAX
+#define INT_FAST32_MIN INT32_MIN
+#define INT_FAST32_MAX INT32_MAX
+#define INT_FAST64_MIN INT64_MIN
+#define INT_FAST64_MAX INT64_MAX
+#define UINT_FAST8_MAX UINT8_MAX
+#define UINT_FAST16_MAX UINT16_MAX
+#define UINT_FAST32_MAX UINT32_MAX
+#define UINT_FAST64_MAX UINT64_MAX
+
+// 7.18.2.4 Limits of integer types capable of holding object pointers
+#ifdef _WIN64 // [
+# define INTPTR_MIN INT64_MIN
+# define INTPTR_MAX INT64_MAX
+# define UINTPTR_MAX UINT64_MAX
+#else // _WIN64 ][
+# define INTPTR_MIN INT32_MIN
+# define INTPTR_MAX INT32_MAX
+# define UINTPTR_MAX UINT32_MAX
+#endif // _WIN64 ]
+
+// 7.18.2.5 Limits of greatest-width integer types
+#define INTMAX_MIN INT64_MIN
+#define INTMAX_MAX INT64_MAX
+#define UINTMAX_MAX UINT64_MAX
+
+// 7.18.3 Limits of other integer types
+
+#ifdef _WIN64 // [
+# define PTRDIFF_MIN _I64_MIN
+# define PTRDIFF_MAX _I64_MAX
+#else // _WIN64 ][
+# define PTRDIFF_MIN _I32_MIN
+# define PTRDIFF_MAX _I32_MAX
+#endif // _WIN64 ]
+
+#define SIG_ATOMIC_MIN INT_MIN
+#define SIG_ATOMIC_MAX INT_MAX
+
+#ifndef SIZE_MAX // [
+# ifdef _WIN64 // [
+# define SIZE_MAX _UI64_MAX
+# else // _WIN64 ][
+# define SIZE_MAX _UI32_MAX
+# endif // _WIN64 ]
+#endif // SIZE_MAX ]
+
+// WCHAR_MIN and WCHAR_MAX are also defined in <wchar.h>
+#ifndef WCHAR_MIN // [
+# define WCHAR_MIN 0
+#endif // WCHAR_MIN ]
+#ifndef WCHAR_MAX // [
+# define WCHAR_MAX _UI16_MAX
+#endif // WCHAR_MAX ]
+
+#define WINT_MIN 0
+#define WINT_MAX _UI16_MAX
+
+#endif // __STDC_LIMIT_MACROS ]
+
+
+// 7.18.4 Limits of other integer types
+
+#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) // [ See footnote 224 at page 260
+
+// 7.18.4.1 Macros for minimum-width integer constants
+
+#define INT8_C(val) val##i8
+#define INT16_C(val) val##i16
+#define INT32_C(val) val##i32
+#define INT64_C(val) val##i64
+
+#define UINT8_C(val) val##ui8
+#define UINT16_C(val) val##ui16
+#define UINT32_C(val) val##ui32
+#define UINT64_C(val) val##ui64
+
+// 7.18.4.2 Macros for greatest-width integer constants
+#define INTMAX_C INT64_C
+#define UINTMAX_C UINT64_C
+
+#endif // __STDC_CONSTANT_MACROS ]
+
+
+#endif // _MSC_STDINT_H_ ]
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/pngtogd.c b/Build/source/libs/gd/libgd-2.1.0/src/pngtogd.c
index f00fe8f7ac9..f00fe8f7ac9 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/pngtogd.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/pngtogd.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/pngtogd2.c b/Build/source/libs/gd/libgd-2.1.0/src/pngtogd2.c
index e474afb6612..e474afb6612 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/pngtogd2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/pngtogd2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/testac.c b/Build/source/libs/gd/libgd-2.1.0/src/testac.c
index 0d200f0630c..0d200f0630c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/testac.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/testac.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/testtr.c b/Build/source/libs/gd/libgd-2.1.0/src/testtr.c
index 7b12ebdaa83..b7b419f96c0 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/testtr.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/testtr.c
@@ -9,7 +9,7 @@
#define TRUE (!FALSE)
int
-main (int argc, char *argv[])
+main(void)
{
#ifdef HAVE_LIBFREETYPE
FILE *out;
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/wbmp.c b/Build/source/libs/gd/libgd-2.1.0/src/wbmp.c
index 6be39410c55..6be39410c55 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/wbmp.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/wbmp.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/wbmp.h b/Build/source/libs/gd/libgd-2.1.0/src/wbmp.h
index f163b4be410..f163b4be410 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/wbmp.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/wbmp.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/webpimg.c b/Build/source/libs/gd/libgd-2.1.0/src/webpimg.c
index cf73d642b65..cf73d642b65 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/webpimg.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/webpimg.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/webpimg.h b/Build/source/libs/gd/libgd-2.1.0/src/webpimg.h
index 8a05429a73c..8a05429a73c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/webpimg.h
+++ b/Build/source/libs/gd/libgd-2.1.0/src/webpimg.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/src/webpng.c b/Build/source/libs/gd/libgd-2.1.0/src/webpng.c
index 74231795d10..74231795d10 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/src/webpng.c
+++ b/Build/source/libs/gd/libgd-2.1.0/src/webpng.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest.gd2 b/Build/source/libs/gd/libgd-2.1.0/test/gdtest.gd2
index aaa124f567c..aaa124f567c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest.gd2
+++ b/Build/source/libs/gd/libgd-2.1.0/test/gdtest.gd2
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest.png b/Build/source/libs/gd/libgd-2.1.0/test/gdtest.png
index 1d480c6a4f4..1d480c6a4f4 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest.png
+++ b/Build/source/libs/gd/libgd-2.1.0/test/gdtest.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_200_300_150_100.png b/Build/source/libs/gd/libgd-2.1.0/test/gdtest_200_300_150_100.png
index 535474e474a..535474e474a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_200_300_150_100.png
+++ b/Build/source/libs/gd/libgd-2.1.0/test/gdtest_200_300_150_100.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_merge.png b/Build/source/libs/gd/libgd-2.1.0/test/gdtest_merge.png
index 4381bbfe2fc..4381bbfe2fc 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_merge.png
+++ b/Build/source/libs/gd/libgd-2.1.0/test/gdtest_merge.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_wbmp_to_png.png b/Build/source/libs/gd/libgd-2.1.0/test/gdtest_wbmp_to_png.png
index d6baf5491fe..d6baf5491fe 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/test/gdtest_wbmp_to_png.png
+++ b/Build/source/libs/gd/libgd-2.1.0/test/gdtest_wbmp_to_png.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/CMakeLists.txt
index 3f22f39aa37..5f8706fdb02 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/CMakeLists.txt
@@ -41,6 +41,7 @@ if (BUILD_TEST)
gdimagepixelate
gdimagepolygon
gdimagerectangle
+ gdimagerotate
gdimagescatterex
gdimagesetpixel
gdnewfilectx
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/Makefile.am b/Build/source/libs/gd/libgd-2.1.0/tests/Makefile.am
index 87ba88bd27d..de63743c850 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/Makefile.am
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/Makefile.am
@@ -41,6 +41,8 @@ EXTRA_PROGRAMS = \
gdimageline/bug00072 \
gdimageline/bug00077 \
gdimageline/bug00111 \
+ gdimageline/gdimageline_bug5 \
+ gdimageline/gdImageAALine_thickness \
gdimageopenpolygon/gdimageopenpolygon2 \
gdimageopenpolygon/gdimageopenpolygon1 \
gdimageopenpolygon/gdimageopenpolygon0 \
@@ -95,7 +97,9 @@ EXTRA_PROGRAMS = \
bmp/bmp_im2im \
gdimagescatterex/bug00208_1 \
gdimagescatterex/bug00208_2 \
- gdimagefilltoborder/bug00037
+ gdimagefilltoborder/bug00037 \
+ gdimagerotate/php_bug_64898 \
+ gdimagerotate/bug00067
if HAVE_LIBXPM
check_PROGRAMS += \
@@ -135,6 +139,8 @@ check_PROGRAMS += \
gdimageline/bug00072 \
gdimageline/bug00077 \
gdimageline/bug00111 \
+ gdimageline/gdimageline_bug5 \
+ gdimageline/gdImageAALine_thickness \
gdimageopenpolygon/gdimageopenpolygon2 \
gdimageopenpolygon/gdimageopenpolygon1 \
gdimageopenpolygon/gdimageopenpolygon0 \
@@ -178,7 +184,9 @@ check_PROGRAMS += \
bmp/bmp_im2im \
gdimagescatterex/bug00208_1 \
gdimagescatterex/bug00208_2 \
- gdimagefilltoborder/bug00037
+ gdimagefilltoborder/bug00037 \
+ gdimagerotate/php_bug_64898 \
+ gdimagerotate/bug00067
endif
if HAVE_LIBTIFF
@@ -301,7 +309,24 @@ EXTRA_DIST = \
bmp/CMakeLists.txt \
gdimagescatterex/CMakeLists.txt \
gdimagefilltoborder/CMakeLists.txt \
- freetype/CMakeLists.txt
+ freetype/CMakeLists.txt \
+ gdimagerotate/php_bug_64898.png \
+ gdimagerotate/php_bug_64898_exp.png \
+ gdimagerotate/remirh128.jpg \
+ gdimagerotate/bug00067_000_exp.png \
+ gdimagerotate/bug00067_015_exp.png \
+ gdimagerotate/bug00067_030_exp.png \
+ gdimagerotate/bug00067_045_exp.png \
+ gdimagerotate/bug00067_060_exp.png \
+ gdimagerotate/bug00067_075_exp.png \
+ gdimagerotate/bug00067_090_exp.png \
+ gdimagerotate/bug00067_105_exp.png \
+ gdimagerotate/bug00067_120_exp.png \
+ gdimagerotate/bug00067_135_exp.png \
+ gdimagerotate/bug00067_150_exp.png \
+ gdimagerotate/bug00067_165_exp.png \
+ gdimagerotate/bug00067_180_exp.png \
+ gdimageline/gdImageAALine_thickness_exp.png
CLEANFILES = \
a.png \
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/bmp/CMakeLists.txt
index 3e456f7ea02..3e456f7ea02 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/bmp/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/bmp_im2im.c b/Build/source/libs/gd/libgd-2.1.0/tests/bmp/bmp_im2im.c
index 2beb2db4206..2beb2db4206 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/bmp_im2im.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/bmp/bmp_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/bmp_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/bmp/bmp_null.c
index 08ed8377736..08ed8377736 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/bmp/bmp_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/bmp/bmp_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/freetype/CMakeLists.txt
index dbc580e140a..dbc580e140a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/freetype/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/DejaVuSans.ttf b/Build/source/libs/gd/libgd-2.1.0/tests/freetype/DejaVuSans.ttf
index 3299ee5572f..3299ee5572f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/DejaVuSans.ttf
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/freetype/DejaVuSans.ttf
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/bug00132.c b/Build/source/libs/gd/libgd-2.1.0/tests/freetype/bug00132.c
index 88cdfc695a3..88cdfc695a3 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/bug00132.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/freetype/bug00132.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/bug00132_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/freetype/bug00132_exp.png
index c45495e618f..c45495e618f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/freetype/bug00132_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/freetype/bug00132_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gd/CMakeLists.txt
index a744f6619ac..a744f6619ac 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/crafted_num_colors.gd b/Build/source/libs/gd/libgd-2.1.0/tests/gd/crafted_num_colors.gd
index 45c944cc29f..45c944cc29f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/crafted_num_colors.gd
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd/crafted_num_colors.gd
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_im2im.c b/Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_im2im.c
index a7a2226e719..a7a2226e719 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_im2im.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_null.c
index c0594662f1c..c0594662f1c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_num_colors.c b/Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_num_colors.c
index 7d919361925..7d919361925 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd/gd_num_colors.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd/gd_num_colors.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/CMakeLists.txt
index c9bd5e5876e..c9bd5e5876e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_gd2_exp.gd2 b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_gd2_exp.gd2
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_gd2_exp.gd2
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_gd2_exp.gd2
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_test.gd2 b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_test.gd2
index 1c64b46d9ae..1c64b46d9ae 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_test.gd2
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_test.gd2
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_test_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_test_exp.png
index b4bc3fad9f4..b4bc3fad9f4 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/conv_test_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/conv_test_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/empty.gd2 b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/empty.gd2
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/empty.gd2
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/empty.gd2
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_empty_file.c b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_empty_file.c
index 289debc541e..289debc541e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_empty_file.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_empty_file.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_im2im.c b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_im2im.c
index 7745fa5973e..7745fa5973e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_im2im.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_null.c
index 6c8fc96caae..6c8fc96caae 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_read.c b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_read.c
index 2e78e9a6d23..2e78e9a6d23 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gd2/gd2_read.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gd2/gd2_read.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/CMakeLists.txt
index 82cc9b8e1c1..82cc9b8e1c1 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/bug00079.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/bug00079.c
index b2843a74873..b2843a74873 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/bug00079.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/bug00079.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/bug00079_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/bug00079_exp.png
index 1abfbbfbc51..1abfbbfbc51 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagearc/bug00079_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagearc/bug00079_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorclosest/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorclosest/CMakeLists.txt
index 1b2f83edc8c..1b2f83edc8c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorclosest/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorclosest/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorclosest/gdimagecolorclosest.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorclosest/gdimagecolorclosest.c
index 4754a2c28be..4754a2c28be 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorclosest/gdimagecolorclosest.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorclosest/gdimagecolorclosest.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolordeallocate/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolordeallocate/CMakeLists.txt
index 996bd24ca9e..996bd24ca9e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolordeallocate/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolordeallocate/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolordeallocate/gdimagecolordeallocate.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolordeallocate/gdimagecolordeallocate.c
index c671bd323de..c671bd323de 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolordeallocate/gdimagecolordeallocate.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolordeallocate/gdimagecolordeallocate.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorexact/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorexact/CMakeLists.txt
index a724d130891..a724d130891 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorexact/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorexact/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorexact/gdimagecolorexact.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorexact/gdimagecolorexact.c
index 9d754ca9614..9d754ca9614 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorexact/gdimagecolorexact.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorexact/gdimagecolorexact.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorreplace/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorreplace/CMakeLists.txt
index f88a8a07b37..f88a8a07b37 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorreplace/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorreplace/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorreplace/gdimagecolorreplace.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorreplace/gdimagecolorreplace.c
index 9694bd4ae5a..9694bd4ae5a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorreplace/gdimagecolorreplace.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorreplace/gdimagecolorreplace.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorresolve/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorresolve/CMakeLists.txt
index 2ab9444a6ce..2ab9444a6ce 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorresolve/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorresolve/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorresolve/gdimagecolorresolve.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorresolve/gdimagecolorresolve.c
index 1a0d6884e7e..1a0d6884e7e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolorresolve/gdimagecolorresolve.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolorresolve/gdimagecolorresolve.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolortransparent/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolortransparent/CMakeLists.txt
index 9e6c82f0a09..9e6c82f0a09 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolortransparent/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolortransparent/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolortransparent/gdimagecolortransparent.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolortransparent/gdimagecolortransparent.c
index aca380b2c6f..aca380b2c6f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecolortransparent/gdimagecolortransparent.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecolortransparent/gdimagecolortransparent.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/CMakeLists.txt
index 209257aab63..209257aab63 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00007.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00007.c
index f3106f3a2f4..f3106f3a2f4 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00007.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00007.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00081.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00081.c
index 0e28f4ca409..0e28f4ca409 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00081.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00081.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00081_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00081_exp.png
index c5587f78a40..c5587f78a40 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopy/bug00081_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopy/bug00081_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/CMakeLists.txt
index 4a0e08346d9..4a0e08346d9 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/bug00020.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/bug00020.c
index f1c2467fc47..f1c2467fc47 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/bug00020.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/bug00020.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/bug00020_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/bug00020_exp.png
index f0a9c161b14..f0a9c161b14 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagecopyrotated/bug00020_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagecopyrotated/bug00020_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/CMakeLists.txt
index c0fe79914b6..c0fe79914b6 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_1.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_1.c
index 2a440f20ede..2a440f20ede 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_1.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_1.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_1_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_1_exp.png
index a5435f278bc..a5435f278bc 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_1_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_2.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_2.c
index 06cf8311195..06cf8311195 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_2_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_2_exp.png
index 2a3f0fb2c65..2a3f0fb2c65 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_2_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_2_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_3.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_3.c
index 454d5be3612..454d5be3612 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_3.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_3.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_3_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_3_exp.png
index b8b7a2b319d..b8b7a2b319d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_3_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_3_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_4.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_4.c
index 4b11d84bdc9..4b11d84bdc9 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_4.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_4.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_4_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_4_exp.png
index d751a74d7a0..d751a74d7a0 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefill/bug00002_4_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefill/bug00002_4_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/CMakeLists.txt
index 8d047e787d7..8d047e787d7 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00010.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00010.c
index df0c66dbc64..df0c66dbc64 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00010.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00010.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00010_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00010_exp.png
index 871ca671987..871ca671987 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00010_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00010_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00191.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00191.c
index 7db64151726..7db64151726 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00191.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00191.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00191.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00191.png
index dbb7439e2b5..dbb7439e2b5 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledellipse/bug00191.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledellipse/bug00191.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/CMakeLists.txt
index be8ab7c4aa3..be8ab7c4aa3 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/bug00100.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/bug00100.c
index ae2e084fe41..ae2e084fe41 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/bug00100.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/bug00100.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/bug00100.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/bug00100.png
index 439224e2334..439224e2334 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/bug00100.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/bug00100.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c
index 5ca877c630c..5ca877c630c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c
index 950035e2b4b..950035e2b4b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c
index 628665a1919..628665a1919 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png
index 80f91a2814b..80f91a2814b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c
index 0db5c8519e1..0db5c8519e1 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png
index 72311d83a29..72311d83a29 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/CMakeLists.txt
index 9a82b99ea01..9a82b99ea01 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00004.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00004.c
index 594e29637d7..594e29637d7 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00004.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00004.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00078.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00078.c
index adf244ebca2..adf244ebca2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00078.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00078.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c
index 24f5ceb9327..24f5ceb9327 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilltoborder/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilltoborder/CMakeLists.txt
index 966bff0657b..966bff0657b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilltoborder/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilltoborder/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilltoborder/bug00037.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilltoborder/bug00037.c
index 646adbd0f79..646adbd0f79 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagefilltoborder/bug00037.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagefilltoborder/bug00037.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/CMakeLists.txt
index fb3212eba71..fb3212eba71 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00072.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00072.c
index c3a3137e539..c3a3137e539 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00072.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00072.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00072_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00072_exp.png
index 6439e061f1d..6439e061f1d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00072_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00072_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00077.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00077.c
index d69e88177f2..d69e88177f2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00077.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00077.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00077_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00077_exp.png
index bfa097a5c56..bfa097a5c56 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00077_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00077_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00111.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00111.c
index 4277534874d..4277534874d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00111.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00111.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00111_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00111_exp.png
index ecd44b25d66..ecd44b25d66 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/bug00111_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/bug00111_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdImageAALine_thickness.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdImageAALine_thickness.c
new file mode 100644
index 00000000000..6db2c72f57c
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdImageAALine_thickness.c
@@ -0,0 +1,28 @@
+#include <stdio.h>
+#include "gd.h"
+#include "gdtest.h"
+
+int main(int argc, char **argv)
+{
+ gdImagePtr im;
+ char path[2048];
+ const char *file_exp = "gdimageline/gdImageAALine_thickness_exp.png";
+
+ im = gdImageCreateTrueColor(100, 100);
+ gdImageFilledRectangle(im, 0, 0, 99, 99,
+ gdImageColorExactAlpha(im, 255, 255, 255, 0));
+
+ gdImageSetThickness(im, 5);
+ gdImageSetAntiAliased(im, gdImageColorExactAlpha(im, 0, 0, 0, 0));
+ gdImageLine(im, 0,0, 99, 99, gdAntiAliased);
+
+ sprintf(path, "%s/%s", GDTEST_TOP_DIR, file_exp);
+
+ if (!gdAssertImageEqualsToFile(path, im)) {
+ printf("comparing rotated image to %s failed.\n", path);
+ gdImageDestroy(im);
+ return 1;
+ }
+
+ gdImageDestroy(im);
+}
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdImageAALine_thickness_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdImageAALine_thickness_exp.png
new file mode 100644
index 00000000000..26e02bc3661
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdImageAALine_thickness_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa.c
index b0bea3a4d5c..b0bea3a4d5c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_a_0_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_a_0_exp.png
index 83f893453ed..83f893453ed 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_a_0_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_a_0_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_a_1_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_a_1_exp.png
index c4edcfa36ec..c4edcfa36ec 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_a_1_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_a_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_b_0_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_b_0_exp.png
index 130d6c36cc7..130d6c36cc7 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_b_0_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_b_0_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_b_1_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_b_1_exp.png
index 678800658d3..678800658d3 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_b_1_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_b_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_c_0_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_c_0_exp.png
index 6d03ae6652e..6d03ae6652e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_c_0_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_c_0_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_c_1_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_c_1_exp.png
index 6e1a38aa7e1..6e1a38aa7e1 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_c_1_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_c_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_d_0_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_d_0_exp.png
index c6f9e27e4fc..c6f9e27e4fc 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_d_0_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_d_0_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_d_1_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_d_1_exp.png
index 709c186c26a..709c186c26a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_d_1_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_d_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_outofrange.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_outofrange.c
index 5c1ed05ab03..5c1ed05ab03 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageline/gdimageline_aa_outofrange.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_aa_outofrange.c
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_bug5.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_bug5.c
new file mode 100644
index 00000000000..ef57f6c1cb2
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageline/gdimageline_bug5.c
@@ -0,0 +1,39 @@
+#include <stdio.h>
+#include "gd.h"
+#include "gdtest.h"
+
+int main() {
+ /* Declare the image */
+ gdImagePtr im;
+
+ /* Declare output files */
+ /* FILE *pngout; */
+ int black, white;
+
+ im = gdImageCreateTrueColor(63318, 771);
+
+ /* Allocate the color white (red, green and blue all maximum). */
+ white = gdImageColorAllocate(im, 255, 255, 255);
+ /* Allocate the color white (red, green and blue all maximum). */
+ black = gdImageColorAllocate(im, 0, 0, 0);
+
+ /* white background */
+ gdImageFill(im, 1, 1, white);
+
+ gdImageSetAntiAliased(im, black);
+
+ /* This line fails! */
+ gdImageLine(im, 28562, 631, 34266, 750, gdAntiAliased);
+
+ /* Open a file for writing. "wb" means "write binary", important under MSDOS, harmless under Unix. */
+ /* pngout = fopen("test.png", "wb"); */
+
+ /* Output the image to the disk file in PNG format. */
+ /* gdImagePng(im, pngout); */
+
+ /* Close the files. */
+ /* fclose(pngout); */
+
+ /* Destroy the image in memory. */
+ gdImageDestroy(im);
+}
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/CMakeLists.txt
index 09a22678077..09a22678077 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon0.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon0.c
index d9bf1bd962a..d9bf1bd962a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon0.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon0.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon0.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon0.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon0.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon0.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon1.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon1.c
index 07ee29dff49..07ee29dff49 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon1.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon1.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon1.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon1.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon1.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon2.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon2.c
index ab097d83cad..ab097d83cad 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon2.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon2.png
index 80f91a2814b..80f91a2814b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon2.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon3.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon3.c
index 027bfacd20b..027bfacd20b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon3.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon3.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon3.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon3.png
index 9d63d6ac9ba..9d63d6ac9ba 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimageopenpolygon/gdimageopenpolygon3.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimageopenpolygon/gdimageopenpolygon3.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepixelate/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepixelate/CMakeLists.txt
index 1f1182581eb..1f1182581eb 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepixelate/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepixelate/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepixelate/gdimagepixelate.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepixelate/gdimagepixelate.c
index 2a0a4692269..2a0a4692269 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepixelate/gdimagepixelate.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepixelate/gdimagepixelate.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/CMakeLists.txt
index 92802ec6253..92802ec6253 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon0.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon0.c
index 20fa423c056..20fa423c056 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon0.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon0.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon0.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon0.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon0.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon0.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon1.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon1.c
index 6f2ad57dfcc..6f2ad57dfcc 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon1.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon1.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon1.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon1.png
index 845c5f6930b..845c5f6930b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon1.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon2.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon2.c
index 8142c3ba873..8142c3ba873 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon2.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon2.png
index 80f91a2814b..80f91a2814b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon2.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon3.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon3.c
index 55d71f27a9c..55d71f27a9c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon3.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon3.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon3.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon3.png
index aaff882a8fb..aaff882a8fb 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagepolygon/gdimagepolygon3.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagepolygon/gdimagepolygon3.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/CMakeLists.txt
index 223b381128b..223b381128b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/bug00003.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/bug00003.c
index 4ee4ddbcb5d..4ee4ddbcb5d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/bug00003.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/bug00003.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/bug00106_gdimagerectangle.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/bug00106_gdimagerectangle.c
index 21bf88b7440..21bf88b7440 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagerectangle/bug00106_gdimagerectangle.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerectangle/bug00106_gdimagerectangle.c
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067.c
new file mode 100644
index 00000000000..4a6595988b9
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067.c
@@ -0,0 +1,67 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include "gd.h"
+
+#include "gdtest.h"
+
+int main()
+{
+ gdImagePtr im, exp;
+ char path[2048];
+ const char *file_im = "gdimagerotate/remirh128.jpg";
+ const char *file_exp = "gdimagerotate/bug00067";
+ FILE *fp;
+ int color;
+ int error = 0;
+ int angle;
+
+ sprintf(path, "%s/%s", GDTEST_TOP_DIR, file_im);
+
+ fp = fopen(path, "rb");
+
+ if (!fp) {
+ gdTestErrorMsg("opening Jpeg %s for reading failed.\n", path);
+ return 1;
+ }
+
+ im = gdImageCreateFromJpeg(fp);
+
+ fclose(fp);
+
+ if (!im) {
+ gdTestErrorMsg("loading %s failed.\n", path);
+ return 1;
+ }
+
+ color = gdImageColorAllocate(im, 0, 0, 0);
+
+ if (color < 0) {
+ gdTestErrorMsg("allocation color from image failed.\n");
+ gdImageDestroy(im);
+ return 1;
+ }
+
+ for (angle = 0; angle <= 180; angle += 15) {
+
+ exp = gdImageRotateInterpolated(im, angle, color);
+
+ if (!exp) {
+ gdTestErrorMsg("rotating image failed for %03d.\n", angle);
+ gdImageDestroy(im);
+ return 1;
+ }
+
+ sprintf(path, "%s/%s_%03d_exp.png", GDTEST_TOP_DIR, file_exp, angle);
+
+ if (!gdAssertImageEqualsToFile(path, exp)) {
+ gdTestErrorMsg("comparing rotated image to %s failed.\n", path);
+ error += 1;
+ }
+
+ gdImageDestroy(exp);
+ }
+
+ gdImageDestroy(im);
+
+ return error;
+}
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_000_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_000_exp.png
new file mode 100644
index 00000000000..d06b5fe58fb
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_000_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_015_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_015_exp.png
new file mode 100644
index 00000000000..a0f8ce2efae
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_015_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_030_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_030_exp.png
new file mode 100644
index 00000000000..aad7f4ccb67
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_030_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_045_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_045_exp.png
new file mode 100644
index 00000000000..75916a51649
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_045_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_060_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_060_exp.png
new file mode 100644
index 00000000000..f24364a062f
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_060_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_075_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_075_exp.png
new file mode 100644
index 00000000000..f8dcf449086
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_075_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_090_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_090_exp.png
new file mode 100644
index 00000000000..a971447c7b2
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_090_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_105_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_105_exp.png
new file mode 100644
index 00000000000..2cf641d85a8
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_105_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_120_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_120_exp.png
new file mode 100644
index 00000000000..1890f92545c
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_120_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_135_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_135_exp.png
new file mode 100644
index 00000000000..34ccb0aa054
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_135_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_150_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_150_exp.png
new file mode 100644
index 00000000000..330d030a7fa
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_150_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_165_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_165_exp.png
new file mode 100644
index 00000000000..df5b6400bc2
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_165_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_180_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_180_exp.png
new file mode 100644
index 00000000000..d4f65983615
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/bug00067_180_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898.c
new file mode 100644
index 00000000000..9bbd98b5313
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898.c
@@ -0,0 +1,58 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include "gd.h"
+
+#include "gdtest.h"
+
+int main()
+{
+ gdImagePtr im, exp;
+ char path[2048];
+ const char *file_im = "gdimagerotate/php_bug_64898.png";
+ const char *file_exp = "gdimagerotate/php_bug_64898_exp.png";
+ FILE *fp;
+ int color;
+
+ sprintf(path, "%s/%s", GDTEST_TOP_DIR, file_im);
+
+ fp = fopen(path, "rb");
+
+ if (!fp) {
+ gdTestErrorMsg("opening PNG %s for reading failed.\n", path);
+ return 1;
+ }
+
+ im = gdImageCreateTrueColor(141, 200);
+
+ if (!im) {
+ gdTestErrorMsg("loading %s failed.\n", path);
+ return 1;
+ }
+
+ gdImageFilledRectangle(im, 0, 0, 140, 199, 0x00ffffff);
+
+/* Try default interpolation method, but any non-optimized fails */
+/* gdImageSetInterpolationMethod(im, GD_BICUBIC_FIXED); */
+
+ exp = gdImageRotateInterpolated(im, 45, 0x0);
+
+ if (!exp) {
+ gdTestErrorMsg("rotating image failed.\n");
+ gdImageDestroy(im);
+ return 1;
+ }
+
+ sprintf(path, "%s/%s", GDTEST_TOP_DIR, file_exp);
+
+ if (!gdAssertImageEqualsToFile(path, exp)) {
+ printf("comparing rotated image to %s failed.\n", path);
+ gdImageDestroy(im);
+ gdImageDestroy(exp);
+ return 1;
+ }
+
+ gdImageDestroy(exp);
+ gdImageDestroy(im);
+
+ return 0;
+}
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898.png
new file mode 100644
index 00000000000..089680a248c
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898_exp.png
new file mode 100644
index 00000000000..a03bdb8e9d6
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/php_bug_64898_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/remirh128.jpg b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/remirh128.jpg
new file mode 100644
index 00000000000..bd5e3c77e3c
--- /dev/null
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagerotate/remirh128.jpg
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/CMakeLists.txt
index 3e51d344065..3e51d344065 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208.png
index eac854aeaeb..eac854aeaeb 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_1.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_1.c
index 4dc8b63e737..4dc8b63e737 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_1.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_1.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_1.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_1.png
index 21ef1240db4..21ef1240db4 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_1.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_2.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_2.c
index 90361569df2..90361569df2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_2.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_2.png
index feb1ede3594..feb1ede3594 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagescatterex/bug00208_2.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagescatterex/bug00208_2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagesetpixel/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagesetpixel/CMakeLists.txt
index e5b9b2a0dd3..e5b9b2a0dd3 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagesetpixel/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagesetpixel/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagesetpixel/bug00186.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagesetpixel/bug00186.c
index efa07b27ec8..efa07b27ec8 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagesetpixel/bug00186.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagesetpixel/bug00186.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringft/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringft/CMakeLists.txt
index 7ff29cb7662..7ff29cb7662 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringft/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringft/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringft/gdimagestringft_bbox.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringft/gdimagestringft_bbox.c
index 01fd73a33c1..01fd73a33c1 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringft/gdimagestringft_bbox.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringft/gdimagestringft_bbox.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringftex/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringftex/CMakeLists.txt
index 7252bd24c92..7252bd24c92 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringftex/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringftex/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c
index f91485b7717..f91485b7717 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdnewfilectx/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdnewfilectx/CMakeLists.txt
index 75de828d94a..75de828d94a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdnewfilectx/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdnewfilectx/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdnewfilectx/gdnewfilectx_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdnewfilectx/gdnewfilectx_null.c
index 0da8295ab5c..0da8295ab5c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdnewfilectx/gdnewfilectx_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdnewfilectx/gdnewfilectx_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdtest/CMakeLists.txt
index 5f89bc91b75..5f89bc91b75 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdtest/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/gdtest.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdtest/gdtest.c
index b832af527b4..d84b7896d7a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/gdtest.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdtest/gdtest.c
@@ -196,7 +196,7 @@ int gdTestImageCompareToFile(const char* file, unsigned int line, const char* me
expected = gdTestImageFromPng(expected_file);
if (!expected) {
- _gdTestErrorMsg(file, line, "Cannot open PNG <%s>", expected_file, file, line);
+ _gdTestErrorMsg(file, line, "Cannot open PNG <%s>", expected_file);
res = 0;
} else {
res = gdTestImageCompareToImage(file, line, message, expected, actual);
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/gdtest.h b/Build/source/libs/gd/libgd-2.1.0/tests/gdtest/gdtest.h
index 81bded5a0f6..81bded5a0f6 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/gdtest.h
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdtest/gdtest.h
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/test_config.h.cmake b/Build/source/libs/gd/libgd-2.1.0/tests/gdtest/test_config.h.cmake
index 59d2f0cf7ed..59d2f0cf7ed 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtest/test_config.h.cmake
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdtest/test_config.h.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/CMakeLists.txt
index 90e15da34ea..90e15da34ea 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/bug00032.c b/Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/bug00032.c
index 0e711533f10..0e711533f10 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/bug00032.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/bug00032.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/bug00032_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/bug00032_exp.png
index 2bee38eebad..2bee38eebad 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gdtiled/bug00032_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gdtiled/bug00032_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/gif/CMakeLists.txt
index a155559cc12..a155559cc12 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005.c
index 1911e6a17a9..1911e6a17a9 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_0.gif b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_0.gif
index 753156014d4..753156014d4 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_0.gif
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_0.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_1.gif b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_1.gif
index 76ce1e398ec..76ce1e398ec 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_1.gif
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_1.gif
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2.c
index de7d3d17f97..de7d3d17f97 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2.gif b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2.gif
index 3f9e6c5e400..3f9e6c5e400 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2.gif
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2_exp.png
index 708b8adf00d..708b8adf00d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_2_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_2_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_3.gif b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_3.gif
index 178d27e3574..178d27e3574 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00005_3.gif
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00005_3.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00006.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00006.c
index 57d7ad01611..57d7ad01611 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00006.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00006.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00060.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00060.c
index 721d3bc401d..721d3bc401d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00060.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00060.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00060.gif b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00060.gif
index c8821748057..c8821748057 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00060.gif
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00060.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066.c
index be24066ca2e..be24066ca2e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066.gif b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066.gif
index cdf5f29a82e..cdf5f29a82e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066.gif
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066_exp.png
index 9f535adc168..9f535adc168 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00066_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00066_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00181.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00181.c
index 27d6481175e..27d6481175e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00181.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00181.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00227.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00227.c
index 861006e7447..861006e7447 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/bug00227.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/bug00227.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/gif_im2im.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/gif_im2im.c
index a5b0adbdb85..a5b0adbdb85 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/gif_im2im.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/gif_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/gif_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/gif/gif_null.c
index 463d31ebaf6..463d31ebaf6 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/gif/gif_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/gif/gif_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/CMakeLists.txt
index d68028b2d94..d68028b2d94 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/conv_test.jpeg b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/conv_test.jpeg
index 7283d1a4754..7283d1a4754 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/conv_test.jpeg
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/conv_test.jpeg
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/conv_test_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/conv_test_exp.png
index 1210f479aa6..1210f479aa6 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/conv_test_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/conv_test_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/empty.jpeg b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/empty.jpeg
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/empty.jpeg
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/empty.jpeg
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_empty_file.c b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_empty_file.c
index 844dbf43d3e..844dbf43d3e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_empty_file.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_empty_file.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_im2im.c b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_im2im.c
index 89a72be7ffd..89a72be7ffd 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_im2im.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_null.c
index 3b2caa68744..3b2caa68744 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_read.c b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_read.c
index 64130ce125a..64130ce125a 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_read.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_read.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_resolution.c b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_resolution.c
index 386f5f3fee4..386f5f3fee4 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/jpeg/jpeg_resolution.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/jpeg/jpeg_resolution.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/png/CMakeLists.txt
index dd0b4c4145e..dd0b4c4145e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00011.c b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00011.c
index 865c87ea5cd..865c87ea5cd 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00011.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00011.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00033.c b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00033.c
index f7e90f0824c..f7e90f0824c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00033.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00033.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00033.png b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00033.png
index 73a7d6a3e77..73a7d6a3e77 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00033.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00033.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00086.c b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00086.c
index ef9d43b2b56..ef9d43b2b56 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00086.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00086.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088.c b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088.c
index 78495aa4410..78495aa4410 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_1.png b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_1.png
index 3f9a5c7d408..3f9a5c7d408 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_1.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_1_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_1_exp.png
index 25ee05a93c9..25ee05a93c9 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_1_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_2.png b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_2.png
index fa58ffe61c9..fa58ffe61c9 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_2.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_2_exp.png b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_2_exp.png
index a21c8408679..a21c8408679 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00088_2_exp.png
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00088_2_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00193.c b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00193.c
index 67acf545f67..67acf545f67 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/bug00193.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/bug00193.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/emptyfile b/Build/source/libs/gd/libgd-2.1.0/tests/png/emptyfile
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/emptyfile
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/emptyfile
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_im2im.c b/Build/source/libs/gd/libgd-2.1.0/tests/png/png_im2im.c
index bac5e13aeb7..bac5e13aeb7 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_im2im.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/png_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/png/png_null.c
index d3b5e6a963b..d3b5e6a963b 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/png_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_resolution.c b/Build/source/libs/gd/libgd-2.1.0/tests/png/png_resolution.c
index aed7545ba51..aed7545ba51 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/png/png_resolution.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/png/png_resolution.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/test_config.h.in b/Build/source/libs/gd/libgd-2.1.0/tests/test_config.h.in
index bfa8127889f..bfa8127889f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/test_config.h.in
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/test_config.h.in
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tga/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/tga/CMakeLists.txt
index a88872a2c6d..a88872a2c6d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tga/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/tga/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tga/tga_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/tga/tga_null.c
index f61078c32f5..f61078c32f5 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tga/tga_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/tga/tga_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/tiff/CMakeLists.txt
index aefdaf7e032..aefdaf7e032 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/tiff/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/tiff_im2im.c b/Build/source/libs/gd/libgd-2.1.0/tests/tiff/tiff_im2im.c
index 4b6136d4b92..4b6136d4b92 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/tiff_im2im.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/tiff/tiff_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/tiff_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/tiff/tiff_null.c
index ccaade7498f..ccaade7498f 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/tiff/tiff_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/tiff/tiff_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/wbmp/CMakeLists.txt
index aac4f69ad44..aac4f69ad44 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/wbmp/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/wbmp_im2im.c b/Build/source/libs/gd/libgd-2.1.0/tests/wbmp/wbmp_im2im.c
index 826c7fa953c..826c7fa953c 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/wbmp_im2im.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/wbmp/wbmp_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/wbmp_null.c b/Build/source/libs/gd/libgd-2.1.0/tests/wbmp/wbmp_null.c
index d70f38d01bf..d70f38d01bf 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/wbmp/wbmp_null.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/wbmp/wbmp_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/CMakeLists.txt b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/CMakeLists.txt
index f90d3c6caec..f90d3c6caec 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00166.c b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00166.c
index 2ffd6af25a2..2ffd6af25a2 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00166.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00166.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00166.xpm b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00166.xpm
index 90c6cd387e7..90c6cd387e7 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00166.xpm
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00166.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185.c b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185.c
index 2dda809cc96..2dda809cc96 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185.xpm b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185.xpm
index bb7cd7975a8..bb7cd7975a8 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185.xpm
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185_damaged.xpm b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185_damaged.xpm
index b0c7d61be5e..b0c7d61be5e 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/bug00185_damaged.xpm
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/bug00185_damaged.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/color_name.c b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/color_name.c
index 22481785a83..22481785a83 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/color_name.c
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/color_name.c
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/color_name.xpm b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/color_name.xpm
index 4733789245d..4733789245d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/tests/xpm/color_name.xpm
+++ b/Build/source/libs/gd/libgd-2.1.0/tests/xpm/color_name.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/windows/Makefile.w32 b/Build/source/libs/gd/libgd-2.1.0/windows/Makefile.w32
index 22e0256b82d..22e0256b82d 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/windows/Makefile.w32
+++ b/Build/source/libs/gd/libgd-2.1.0/windows/Makefile.w32
diff --git a/Build/source/libs/gd/libgd-2.1.0-rc1/windows/libgd.rc b/Build/source/libs/gd/libgd-2.1.0/windows/libgd.rc
index dfe6ff0aa78..dfe6ff0aa78 100644
--- a/Build/source/libs/gd/libgd-2.1.0-rc1/windows/libgd.rc
+++ b/Build/source/libs/gd/libgd-2.1.0/windows/libgd.rc
diff --git a/Build/source/libs/gd/version.ac b/Build/source/libs/gd/version.ac
index 0c4521bc685..6319c59b114 100644
--- a/Build/source/libs/gd/version.ac
+++ b/Build/source/libs/gd/version.ac
@@ -8,4 +8,4 @@ dnl
dnl --------------------------------------------------------
dnl
dnl m4-include this file to define the current gd version
-m4_define([gd_version], [2.1.0-rc1])
+m4_define([gd_version], [2.1.0])
diff --git a/Build/source/texk/dvipdfm-x/xsrc/spc_color.c b/Build/source/texk/dvipdfm-x/xsrc/spc_color.c
index 53b3550627a..ae1d85cf8f1 100644
--- a/Build/source/texk/dvipdfm-x/xsrc/spc_color.c
+++ b/Build/source/texk/dvipdfm-x/xsrc/spc_color.c
@@ -47,12 +47,6 @@
* implicitely.
*/
-int
-spc_color_at_end_document (void)
-{
- return 0;
-}
-
static int
spc_handler_color_push (struct spc_env *spe, struct spc_arg *args)
{