Authors: Andreas Tille <tille@debian.org>
Las-Update: Tue, 29 Nov 2016 16:39:02 +0100
Description: Enable use of Debian packaged libyaml
  upstream r-ext.h has:
       #include "yaml.h"
       #include "yaml_private.h"
  should be
       #include <yaml.h>
       #include "yaml_private.h"
  since libyaml-dev ships only /usr/include/yaml.h

--- a/src/Makevars
+++ b/src/Makevars
@@ -1 +1,2 @@
 PKG_CPPFLAGS = -I. -DNDEBUG
+PKG_LIBS = -lyaml
--- a/src/implicit.c
+++ b/src/implicit.c
@@ -1,6 +1,6 @@
 /* Generated by re2c 0.16 */
 #line 1 "implicit.re"
-#include "yaml.h"
+#include <yaml.h>
 
 yaml_char_t *
 find_implicit_tag(str, len)
--- a/src/r-ext.h
+++ b/src/r-ext.h
@@ -9,7 +9,7 @@
 #include "R_ext/Parse.h"
 #include "R_ext/Print.h"
 #include "R_ext/PrtUtil.h"
-#include "yaml.h"
+#include <yaml.h>
 #include "yaml_private.h"
 
 #define REAL_BUF_SIZE 256
