From 44221167ec567d6732501cf9fe75a2c322468f7c Mon Sep 17 00:00:00 2001 From: Rmys Date: Mon, 1 Nov 2021 08:26:40 +0200 Subject: [PATCH] gd-2.3.3 --- ...81eadb1d58d5c0c7bbc1125ee4674256df08.patch | 26 +++++++++++++++++++ multimedia/misc/gd/pspec.xml | 17 ++++++++++-- 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 multimedia/misc/gd/files/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch diff --git a/multimedia/misc/gd/files/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch b/multimedia/misc/gd/files/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch new file mode 100644 index 0000000000..aa6929ccbd --- /dev/null +++ b/multimedia/misc/gd/files/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch @@ -0,0 +1,26 @@ +From bdc281eadb1d58d5c0c7bbc1125ee4674256df08 Mon Sep 17 00:00:00 2001 +From: Pierre Joye +Date: Wed, 25 Aug 2021 15:28:32 +0700 +Subject: [PATCH] Fix #318, these macros are not used as planed, we have + separate functions for each + +--- + src/gd.h | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/src/gd.h b/src/gd.h +index 5728a25e..51b96610 100644 +--- a/src/gd.h ++++ b/src/gd.h +@@ -1604,11 +1604,6 @@ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im); + BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im); + BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im); + +-#define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */ +-#define GD_FLIP_HORIZONTAL 1 +-#define GD_FLIP_VERTICAL 2 +-#define GD_FLIP_BOTH 3 +- + /** + * Group: Crop + * diff --git a/multimedia/misc/gd/pspec.xml b/multimedia/misc/gd/pspec.xml index 680044eb78..4fdc9baeba 100644 --- a/multimedia/misc/gd/pspec.xml +++ b/multimedia/misc/gd/pspec.xml @@ -15,11 +15,15 @@ app:console A fast library for creating graphic images The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program. - https://github.com/libgd/libgd/releases/download/gd-2.3.2/libgd-2.3.2.tar.gz + https://github.com/libgd/libgd/releases/download/gd-2.3.3/libgd-2.3.3.tar.gz + + bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch + tiff-devel webp-devel zlib-devel + libheif-devel libpng-devel libvpx-devel freetype-devel @@ -41,6 +45,7 @@ webp tiff zlib + libheif libpng libvpx freetype @@ -62,6 +67,7 @@ webp-devel tiff-devel zlib-devel + libheif-devel libpng-devel freetype-devel fontconfig-devel @@ -83,6 +89,13 @@ + + 2021-11-01 + 2.3.3 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2021-06-14 2.3.2 @@ -133,4 +146,4 @@ ertugrulerata@gmail.com - \ No newline at end of file +