pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gegl Fix build with recent graphics/openexr



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f824d397581d
branches:  trunk
changeset: 313547:f824d397581d
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Oct 02 13:13:37 2018 +0000

description:
Fix build with recent graphics/openexr

diffstat:

 graphics/gegl/distinfo                                      |   3 +-
 graphics/gegl/patches/patch-operations_external_exr-save.cc |  37 +++++++++++++
 2 files changed, 39 insertions(+), 1 deletions(-)

diffs (54 lines):

diff -r e52cd6378d51 -r f824d397581d graphics/gegl/distinfo
--- a/graphics/gegl/distinfo    Tue Oct 02 12:58:09 2018 +0000
+++ b/graphics/gegl/distinfo    Tue Oct 02 13:13:37 2018 +0000
@@ -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 -r e52cd6378d51 -r f824d397581d graphics/gegl/patches/patch-operations_external_exr-save.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gegl/patches/patch-operations_external_exr-save.cc       Tue Oct 02 13:13:37 2018 +0000
@@ -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);
+   }
+ 



Home | Main Index | Thread Index | Old Index