$NetBSD: patch-ba,v 1.1 2013/07/22 16:22:01 drochner Exp $

fix build with libraw-0.15

--- src/photos/GRaw.vala.orig	2013-04-03 00:54:23.000000000 +0000
+++ src/photos/GRaw.vala
@@ -21,12 +21,6 @@ public enum Colorspace {
     XYZ = 5
 }
 
-public enum DocMode {
-    STANDARD = 0,
-    GRAYSCALE = 1,
-    GRAYSCALE_NO_WHITE_BALANCE = 2
-}
-
 public errordomain Exception {
     UNSPECIFIED,
     UNSUPPORTED_FILE,
@@ -167,10 +161,6 @@ public class Processor {
         throw_exception("adjust_sizes_info_only", proc.adjust_sizes_info_only());
     }
     
-    public void document_mode_processing() throws Exception {
-        throw_exception("document_mode_processing", proc.document_mode_processing());
-    }
-    
     public unowned LibRaw.ImageOther get_image_other() {
         return proc.get_image_other();
     }
@@ -244,7 +234,6 @@ public class Processor {
         // threshold
         output_params->half_size = half_size;
         // four_color_rgb
-        output_params->document_mode = GRaw.DocMode.STANDARD;
         output_params->highlight = GRaw.HighlightMode.CLIP;
         output_params->use_auto_wb = true;
         output_params->use_camera_wb = true;
