d8fab0
diff -up gegl-0.2.0/configure.ac.libopenraw gegl-0.2.0/configure.ac
d8fab0
--- gegl-0.2.0/configure.ac.libopenraw	2016-12-03 08:11:31.968387802 +0100
d8fab0
+++ gegl-0.2.0/configure.ac	2016-12-03 08:12:19.398987931 +0100
d8fab0
@@ -790,7 +790,7 @@ AC_ARG_WITH(libopenraw, [  --without-lib
d8fab0
 
d8fab0
 have_libopenraw="no"
d8fab0
 if test "x$with_libopenraw" != "xno"; then
d8fab0
-  PKG_CHECK_MODULES(OPENRAW, libopenraw-1.0 >= openraw_required_version,
d8fab0
+  PKG_CHECK_MODULES(OPENRAW, libopenraw-0.1 >= openraw_required_version,
d8fab0
     have_libopenraw="yes",
d8fab0
     have_libopenraw="no  (openraw library not found)")
d8fab0
 fi
d8fab0
diff -up gegl-0.2.0/configure.libopenraw gegl-0.2.0/configure
d8fab0
--- gegl-0.2.0/configure.libopenraw	2016-12-03 08:11:33.954412931 +0100
d8fab0
+++ gegl-0.2.0/configure	2016-12-03 08:12:15.506938686 +0100
d8fab0
@@ -20760,12 +20760,12 @@ if test -n "$OPENRAW_CFLAGS"; then
d8fab0
     pkg_cv_OPENRAW_CFLAGS="$OPENRAW_CFLAGS"
d8fab0
  elif test -n "$PKG_CONFIG"; then
d8fab0
     if test -n "$PKG_CONFIG" && \
d8fab0
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-1.0 >= 0.0.5\""; } >&5
d8fab0
-  ($PKG_CONFIG --exists --print-errors "libopenraw-1.0 >= 0.0.5") 2>&5
d8fab0
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-0.1 >= 0.0.5\""; } >&5
d8fab0
+  ($PKG_CONFIG --exists --print-errors "libopenraw-0.1 >= 0.0.5") 2>&5
d8fab0
   ac_status=$?
d8fab0
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d8fab0
   test $ac_status = 0; }; then
d8fab0
-  pkg_cv_OPENRAW_CFLAGS=`$PKG_CONFIG --cflags "libopenraw-1.0 >= 0.0.5" 2>/dev/null`
d8fab0
+  pkg_cv_OPENRAW_CFLAGS=`$PKG_CONFIG --cflags "libopenraw-0.1 >= 0.0.5" 2>/dev/null`
d8fab0
 		      test "x$?" != "x0" && pkg_failed=yes
d8fab0
 else
d8fab0
   pkg_failed=yes
d8fab0
@@ -20777,12 +20777,12 @@ if test -n "$OPENRAW_LIBS"; then
d8fab0
     pkg_cv_OPENRAW_LIBS="$OPENRAW_LIBS"
d8fab0
  elif test -n "$PKG_CONFIG"; then
d8fab0
     if test -n "$PKG_CONFIG" && \
d8fab0
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-1.0 >= 0.0.5\""; } >&5
d8fab0
-  ($PKG_CONFIG --exists --print-errors "libopenraw-1.0 >= 0.0.5") 2>&5
d8fab0
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenraw-0.1 >= 0.0.5\""; } >&5
d8fab0
+  ($PKG_CONFIG --exists --print-errors "libopenraw-0.1 >= 0.0.5") 2>&5
d8fab0
   ac_status=$?
d8fab0
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
d8fab0
   test $ac_status = 0; }; then
d8fab0
-  pkg_cv_OPENRAW_LIBS=`$PKG_CONFIG --libs "libopenraw-1.0 >= 0.0.5" 2>/dev/null`
d8fab0
+  pkg_cv_OPENRAW_LIBS=`$PKG_CONFIG --libs "libopenraw-0.1 >= 0.0.5" 2>/dev/null`
d8fab0
 		      test "x$?" != "x0" && pkg_failed=yes
d8fab0
 else
d8fab0
   pkg_failed=yes
d8fab0
@@ -20803,9 +20803,9 @@ else
d8fab0
         _pkg_short_errors_supported=no
d8fab0
 fi
d8fab0
         if test $_pkg_short_errors_supported = yes; then
d8fab0
-	        OPENRAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libopenraw-1.0 >= 0.0.5" 2>&1`
d8fab0
+	        OPENRAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libopenraw-0.1 >= 0.0.5" 2>&1`
d8fab0
         else
d8fab0
-	        OPENRAW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libopenraw-1.0 >= 0.0.5" 2>&1`
d8fab0
+	        OPENRAW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libopenraw-0.1 >= 0.0.5" 2>&1`
d8fab0
         fi
d8fab0
 	# Put the nasty error message in config.log where it belongs
d8fab0
 	echo "$OPENRAW_PKG_ERRORS" >&5
d8fab0
diff -up gegl-0.2.0/operations/external/openraw.c.libopenraw gegl-0.2.0/operations/external/openraw.c
d8fab0
--- gegl-0.2.0/operations/external/openraw.c.libopenraw	2016-12-03 08:28:14.284333843 +0100
d8fab0
+++ gegl-0.2.0/operations/external/openraw.c	2016-12-03 08:29:01.495751180 +0100
d8fab0
@@ -116,7 +116,7 @@ load_buffer (GeglOperation *operation)
d8fab0
       goto clean_file;
d8fab0
     }
d8fab0
 
d8fab0
-  if(or_rawdata_format (rawdata) != OR_DATA_TYPE_CFA)
d8fab0
+  if(or_rawdata_format (rawdata) != OR_DATA_TYPE_RAW)
d8fab0
     {
d8fab0
       goto clean_file;
d8fab0
     }