head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.8 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.6 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.4 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.2 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.2.0.30 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.28 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.26 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.24 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.22 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.20 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.18 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.16 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.14 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.12 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.10 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.8 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.6 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.4 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.2 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.1.0.10 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.8 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.6 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @// @; 1.3 date 2025.05.14.13.05.52; author adam; state Exp; branches; next 1.2; commitid HEBKM4TONp3blSUF; 1.2 date 2021.07.08.21.26.12; author markd; state Exp; branches; next 1.1; commitid vgy952IdOfOLie0D; 1.1 date 2020.05.14.16.42.14; author nia; state Exp; branches; next ; commitid 3Tph3M06xg54ee8C; desc @@ 1.3 log @freeimage[plus]: allow building on Darwin @ text @$NetBSD: patch-Source_FreeImage_PluginEXR.cpp,v 1.2 2021/07/08 21:26:12 markd Exp $ Unbundle image libraries. Imath::Int64 is deprecated, use uint64_t. --- Source/FreeImage/PluginEXR.cpp.orig 2015-03-03 23:07:08.000000000 +0000 +++ Source/FreeImage/PluginEXR.cpp @@@@ -28,16 +28,17 @@@@ #pragma warning (disable : 4800) // ImfVersion.h - 'const int' : forcing value to bool 'true' or 'false' (performance warning) #endif -#include "../OpenEXR/IlmImf/ImfIO.h" -#include "../OpenEXR/Iex/Iex.h" -#include "../OpenEXR/IlmImf/ImfOutputFile.h" -#include "../OpenEXR/IlmImf/ImfInputFile.h" -#include "../OpenEXR/IlmImf/ImfRgbaFile.h" -#include "../OpenEXR/IlmImf/ImfChannelList.h" -#include "../OpenEXR/IlmImf/ImfRgba.h" -#include "../OpenEXR/IlmImf/ImfArray.h" -#include "../OpenEXR/IlmImf/ImfPreviewImage.h" -#include "../OpenEXR/Half/half.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // ========================================================== @@@@ -66,11 +67,11 @@@@ public: return ((unsigned)n != _io->read_proc(c, 1, n, _handle)); } - virtual Imath::Int64 tellg() { + virtual uint64_t tellg() { return _io->tell_proc(_handle); } - virtual void seekg(Imath::Int64 pos) { + virtual void seekg(uint64_t pos) { _io->seek_proc(_handle, (unsigned)pos, SEEK_SET); } @@@@ -100,11 +101,11 @@@@ public: } } - virtual Imath::Int64 tellp() { + virtual uint64_t tellp() { return _io->tell_proc(_handle); } - virtual void seekp(Imath::Int64 pos) { + virtual void seekp(uint64_t pos) { _io->seek_proc(_handle, (unsigned)pos, SEEK_SET); } }; @ 1.2 log @freeimage: build with openexr3 @ text @d1 1 a1 1 $NetBSD: patch-Source_FreeImage_PluginEXR.cpp,v 1.1 2020/05/14 16:42:14 nia Exp $ d5 3 a7 1 --- Source/FreeImage/PluginEXR.cpp.orig 2015-03-04 00:07:08.000000000 +0000 d37 28 @ 1.1 log @freeimage: Force use of unbundled libraries. Most Linux distributions have been forcing this for a while, because the reference image libraries are often full of bugs and slow to do releases, so everyone (including us) is carrying lots of local patches for security fixes. Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 1 @@@@ -28,16 +28,16 @@@@ d30 2 a31 1 +#include @