summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2018-10-02 13:13:37 +0000
committerryoon <ryoon@pkgsrc.org>2018-10-02 13:13:37 +0000
commita93eab33f78a8cdf1e5d27e036e9ff78aa8a35a4 (patch)
treec8850ef57a81e2b4652341aa5b9e0db3c40c4df6
parent555883833dcf72877a6968be9f24278e77b4abcc (diff)
downloadpkgsrc-a93eab33f78a8cdf1e5d27e036e9ff78aa8a35a4.tar.gz
Fix build with recent graphics/openexr
-rw-r--r--graphics/gegl/distinfo3
-rw-r--r--graphics/gegl/patches/patch-operations_external_exr-save.cc37
2 files changed, 39 insertions, 1 deletions
diff --git a/graphics/gegl/distinfo b/graphics/gegl/distinfo
index 52a494397e8..a4639c6c9b9 100644
--- a/graphics/gegl/distinfo
+++ b/graphics/gegl/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.20 2018/08/28 13:32:45 ryoon Exp $
+$NetBSD: distinfo,v 1.21 2018/10/02 13:13:37 ryoon Exp $
SHA1 (gegl-0.4.8.tar.bz2) = 52d7b2f362ddab5641d1487b2b7f192c58722fb9
RMD160 (gegl-0.4.8.tar.bz2) = 1e774d1f55a27f6c98bbbb05d0716a96a8916f61
SHA512 (gegl-0.4.8.tar.bz2) = 20d2700cc74bce02e3e1b477f5e4dbd6546bb74625de235baaaa31e24f506930927af53de3d0880c0b16f93a10cec993c58a12adba59dec7dda0e389261799aa
Size (gegl-0.4.8.tar.bz2) = 7017022 bytes
SHA1 (patch-aa) = 0f46061f7b0c213abfe422124839eec29780d039
+SHA1 (patch-operations_external_exr-save.cc) = 2792d5e6867ad7d6378a28e7f137ad9d3fbcc781
diff --git a/graphics/gegl/patches/patch-operations_external_exr-save.cc b/graphics/gegl/patches/patch-operations_external_exr-save.cc
new file mode 100644
index 00000000000..43ba8286bd5
--- /dev/null
+++ b/graphics/gegl/patches/patch-operations_external_exr-save.cc
@@ -0,0 +1,37 @@
+$NetBSD: patch-operations_external_exr-save.cc,v 1.1 2018/10/02 13:13:37 ryoon Exp $
+
+* Fix build with recent graphics/openexr
+https://github.com/GNOME/gegl/commit/c1c3541caab485384087bbbcf1c83ef2d5bd4d43#diff-195f645c7a649bfaf41965be02fe86c4
+
+--- operations/external/exr-save.cc.orig 2018-07-11 22:15:19.000000000 +0000
++++ operations/external/exr-save.cc
+@@ -145,10 +145,10 @@ write_tiled_exr (const float *pixe
+ &blue[0], &blue[1],
+ NULL, NULL, NULL);
+ {
+- Imf::Chromaticities c1 (Imath_2_2::V2f(red[0],red[1]),
+- Imath_2_2::V2f(green[0],green[1]),
+- Imath_2_2::V2f(blue[0],blue[1]),
+- Imath_2_2::V2f(wp[0],wp[1]));
++ Imf::Chromaticities c1 (Imath::V2f(red[0],red[1]),
++ Imath::V2f(green[0],green[1]),
++ Imath::V2f(blue[0],blue[1]),
++ Imath::V2f(wp[0],wp[1]));
+ Imf::addChromaticities (header, c1);
+ }
+ }
+@@ -184,10 +184,10 @@ write_scanline_exr (const float *p
+ &green[0], &green[1],
+ &blue[0], &blue[1],
+ NULL, NULL, NULL);
+- Imf::Chromaticities c1 (Imath_2_2::V2f(red[0],red[1]),
+- Imath_2_2::V2f(green[0],green[1]),
+- Imath_2_2::V2f(blue[0],blue[1]),
+- Imath_2_2::V2f(wp[0],wp[1]));
++ Imf::Chromaticities c1 (Imath::V2f(red[0],red[1]),
++ Imath::V2f(green[0],green[1]),
++ Imath::V2f(blue[0],blue[1]),
++ Imath::V2f(wp[0],wp[1]));
+ Imf::addChromaticities (header, c1);
+ }
+