pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/gegl



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Oct  2 13:13:37 UTC 2018

Modified Files:
        pkgsrc/graphics/gegl: distinfo
Added Files:
        pkgsrc/graphics/gegl/patches: patch-operations_external_exr-save.cc

Log Message:
Fix build with recent graphics/openexr


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/graphics/gegl/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/gegl/patches/patch-operations_external_exr-save.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/gegl/distinfo
diff -u pkgsrc/graphics/gegl/distinfo:1.20 pkgsrc/graphics/gegl/distinfo:1.21
--- pkgsrc/graphics/gegl/distinfo:1.20  Tue Aug 28 13:32:45 2018
+++ pkgsrc/graphics/gegl/distinfo       Tue Oct  2 13:13:37 2018
@@ -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

Added files:

Index: pkgsrc/graphics/gegl/patches/patch-operations_external_exr-save.cc
diff -u /dev/null pkgsrc/graphics/gegl/patches/patch-operations_external_exr-save.cc:1.1
--- /dev/null   Tue Oct  2 13:13:37 2018
+++ pkgsrc/graphics/gegl/patches/patch-operations_external_exr-save.cc  Tue Oct  2 13:13:37 2018
@@ -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