Description: fix include paths When using the pkg-config file of libbibutils, the includes are to be searched for in bibutils/ Author: Joachim Breitner --- haskell-hs-bibutils-4.12.orig/src/Text/Bibutils.hsc +++ haskell-hs-bibutils-4.12/src/Text/Bibutils.hsc @@ -403,9 +403,9 @@ newtype BiblioOut = BiblioOut { unBiblio newtype FormatOpt = FormatOpt { unFormatOpt :: CInt } -#include "bibtexout.h" -#include "modsout.h" -#include "wordout.h" +#include "bibutils/bibtexout.h" +#include "bibutils/modsout.h" +#include "bibutils/wordout.h" #{enum FormatOpt, FormatOpt , bibout_finalcomma = BIBOUT_FINALCOMMA @@ -441,8 +441,8 @@ newtype Charset = Charset { charset :: C combineFormatOpts :: [FormatOpt] -> FormatOpt combineFormatOpts = FormatOpt . foldr ((.|.) . unFormatOpt) 0 -#include "bibutils.h" -#include "bibl.h" +#include "bibutils/bibutils.h" +#include "bibutils/bibl.h" #let alignment t = "%lu", (unsigned long)offsetof(struct {char x__; t (y__); }, y__) foreign import ccall unsafe "bibl_init"