diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/libs/gd/libgd-PATCHES/patch-03-ceill | 12 | ||||
-rw-r--r-- | Build/source/libs/gd/libgd-PATCHES/patch-04-double-semicolon | 45 |
2 files changed, 0 insertions, 57 deletions
diff --git a/Build/source/libs/gd/libgd-PATCHES/patch-03-ceill b/Build/source/libs/gd/libgd-PATCHES/patch-03-ceill deleted file mode 100644 index 574ccf0a805..00000000000 --- a/Build/source/libs/gd/libgd-PATCHES/patch-03-ceill +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur libgd-2.1.1.orig/src/gd_bmp.c libgd-2.1.1/src/gd_bmp.c ---- libgd-2.1.1.orig/src/gd_bmp.c 2015-01-06 10:16:03.000000000 +0100 -+++ libgd-2.1.1/src/gd_bmp.c 2015-01-14 10:50:17.032906106 +0100 -@@ -792,7 +792,7 @@ - } - - /* The line must be divisible by 4, else its padded with NULLs */ -- padding = ((int)ceill(0.1 * info->width)) % 4; -+ padding = ((int)ceil(0.1 * info->width)) % 4; - if (padding) { - padding = 4 - padding; - } diff --git a/Build/source/libs/gd/libgd-PATCHES/patch-04-double-semicolon b/Build/source/libs/gd/libgd-PATCHES/patch-04-double-semicolon deleted file mode 100644 index bd6cbb16e41..00000000000 --- a/Build/source/libs/gd/libgd-PATCHES/patch-04-double-semicolon +++ /dev/null @@ -1,45 +0,0 @@ -diff -ur libgd-2.1.1.orig/src/gd.c libgd-2.1.1/src/gd.c ---- libgd-2.1.1.orig/src/gd.c 2015-01-06 10:16:03.000000000 +0100 -+++ libgd-2.1.1/src/gd.c 2015-01-15 08:43:16.599168819 +0100 -@@ -2060,7 +2060,7 @@ - int alphablending_bak; - - /* stack of filled segments */ -- /* struct seg stack[FILL_MAX],*sp = stack;; */ -+ /* struct seg stack[FILL_MAX],*sp = stack; */ - struct seg *stack; - struct seg *sp; - -@@ -3631,7 +3631,7 @@ - for (x = 0; x < sx; x++) { - const unsigned char c = *(src_row + x); - if (c == src->transparent) { -- *(dst_row + x) = gdTrueColorAlpha(0, 0, 0, 127);; -+ *(dst_row + x) = gdTrueColorAlpha(0, 0, 0, 127); - } else { - *(dst_row + x) = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]); - } -diff -ur libgd-2.1.1.orig/src/gd_interpolation.c libgd-2.1.1/src/gd_interpolation.c ---- libgd-2.1.1.orig/src/gd_interpolation.c 2015-01-06 10:16:03.000000000 +0100 -+++ libgd-2.1.1/src/gd_interpolation.c 2015-01-15 08:43:16.599168819 +0100 -@@ -1047,7 +1047,7 @@ - { - const unsigned int src_width = src->sx; - const unsigned int src_height = src->sy; -- gdImagePtr tmp_im = NULL;; -+ gdImagePtr tmp_im = NULL; - gdImagePtr dst = NULL; - - /* First, handle the trivial case. */ -diff -ur libgd-2.1.1.orig/src/gd_matrix.c libgd-2.1.1/src/gd_matrix.c ---- libgd-2.1.1.orig/src/gd_matrix.c 2015-01-06 10:16:03.000000000 +0100 -+++ libgd-2.1.1/src/gd_matrix.c 2015-01-15 08:43:16.599168819 +0100 -@@ -248,7 +248,7 @@ - BGD_DECLARE(int) gdAffineShearVertical(double dst[6], const double angle) - { - dst[0] = 1; -- dst[1] = tan(angle * M_PI / 180.0);; -+ dst[1] = tan(angle * M_PI / 180.0); - dst[2] = 0; - dst[3] = 1; - dst[4] = 0; |