From b9c99afb1425e74b9ad37f45fa7af0c59aa38ac0 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 3 May 2019 17:50:35 +0000 Subject: - 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 --- graphics/exact-image/files/patch-libpng15 | 34 ------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 graphics/exact-image/files/patch-libpng15 (limited to 'graphics/exact-image/files/patch-libpng15') 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 -+#include - #include - - #include -@@ -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; -- cgit v1.2.3