summaryrefslogtreecommitdiff
path: root/graphics/exact-image/files/patch-libpng15
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2019-05-03 17:50:35 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2019-05-03 17:50:35 +0000
commitb9c99afb1425e74b9ad37f45fa7af0c59aa38ac0 (patch)
tree894fbd096d639d60a103d1eb688c9b28cb7fe6f3 /graphics/exact-image/files/patch-libpng15
parentx11-wm/sway: update to 1.1.r1 (diff)
- Update to version 0.9.2 and make it build on both amd64 and i386 by
defining __LONG_LONG_SUPPORTED macro, which allows to pull llabs(3) for 64-bit numbers; was not a problem on amd64 because sizeof(long) == 8 there and thus no `long long' help needed - Bump required C++ standard to C++03; it's not quite ready for later ones due to the this: bardecode/code25i.hh:34:29: error: in-class initializer for static data member of type 'const double' requires 'constexpr' specifier - GC no-op `post-extract' target, patches that were applied upstream, and no longer relevant libungif -> libgif fixups in the Makefile
Notes
Notes: svn path=/head/; revision=500748
Diffstat (limited to 'graphics/exact-image/files/patch-libpng15')
-rw-r--r--graphics/exact-image/files/patch-libpng1534
1 files changed, 0 insertions, 34 deletions
diff --git a/graphics/exact-image/files/patch-libpng15 b/graphics/exact-image/files/patch-libpng15
deleted file mode 100644
index 44c94726e35c..000000000000
--- a/graphics/exact-image/files/patch-libpng15
+++ /dev/null
@@ -1,34 +0,0 @@
---- codecs/png.cc
-+++ codecs/png.cc
-@@ -16,6 +16,7 @@
- */
-
- #include <stdlib.h>
-+#include <zlib.h>
- #include <png.h>
-
- #include <iostream>
-@@ -104,7 +105,7 @@
- image.w = width;
- image.h = height;
- image.bps = bit_depth;
-- image.spp = info_ptr->channels;
-+ image.spp = png_get_channels(png_ptr, info_ptr);
-
- png_uint_32 res_x, res_y;
- res_x = png_get_x_pixels_per_meter(png_ptr, info_ptr);
-@@ -120,10 +121,13 @@
- // png_set_packswap(png_ptr);
-
- /* Expand paletted colors into true RGB triplets */
-+
-+ int num_trans;
-+
- if (color_type == PNG_COLOR_TYPE_PALETTE) {
- png_set_palette_to_rgb(png_ptr);
- image.bps = 8;
-- if (info_ptr->num_trans)
-+ if (num_trans)
- image.spp = 4;
- else
- image.spp = 3;