Ticket #30147: patch-redland.diff

File patch-redland.diff, 2.4 KB (added by pixilla (Bradley Giesbrecht), 13 years ago)

Fix redland headers.

  • src/librdf.h

    diff -ur a/src/librdf.h b/src/librdf.h
    a b  
    2828
    2929#ifndef LIBRDF_OBJC_FRAMEWORK
    3030/* raptor */
    31 #include <raptor.h>
     31#include <raptor2/raptor2.h>
    3232/* rasqal: uses raptor */
    3333#include <rasqal.h>
    3434/* librdf: uses rasqal and raptor */
  • src/librdf.h.in

    diff -ur a/src/librdf.h.in b/src/librdf.h.in
    a b  
    2828
    2929#ifndef LIBRDF_OBJC_FRAMEWORK
    3030/* raptor */
    31 #include <raptor.h>
     31#include <raptor2/raptor2.h>
    3232/* rasqal: uses raptor */
    3333#include <rasqal.h>
    3434/* librdf: uses rasqal and raptor */
  • src/rdf_log.h

    diff -ur a/src/rdf_log.h b/src/rdf_log.h
    a b  
    3030extern "C" {
    3131#endif
    3232
    33 #include <raptor.h>
     33#include <raptor2/raptor2.h>
    3434
    3535/**
    3636 * librdf_log_level:
  • src/rdf_serializer.h

    diff -ur a/src/rdf_serializer.h b/src/rdf_serializer.h
    a b  
    3636extern "C" {
    3737#endif
    3838
    39 #include <raptor.h>
     39#include <raptor2/raptor2.h>
    4040
    4141/* class methods */
    4242REDLAND_API
  • src/rdf_serializer_internal.h

    diff -ur a/src/rdf_serializer_internal.h b/src/rdf_serializer_internal.h
    a b  
    3232extern "C" {
    3333#endif
    3434
    35 #include <raptor.h>
     35#include <raptor2/raptor2.h>
    3636
    3737struct librdf_serializer_factory_s
    3838{
  • utils/rdfproc.c

    diff -ur a/utils/rdfproc.c b/utils/rdfproc.c
    a b  
    4646#include <unistd.h>
    4747
    4848#include <redland.h>
    49 #include <raptor.h>
     49#include <raptor2/raptor2.h>
    5050
    5151#ifdef NEED_OPTIND_DECLARATION
    5252extern int optind;
  • utils/redland-virtuoso-test.c

    diff -ur a/utils/redland-virtuoso-test.c b/utils/redland-virtuoso-test.c
    a b  
    7676#include <unistd.h>
    7777
    7878#include <redland.h>
    79 #include <raptor.h>
     79#include <raptor2/raptor2.h>
    8080
    8181
    8282int add_triple(librdf_world *world, librdf_node *context, librdf_model* model, const char *s, const char *p, const char *o);