Commit 7ab11378 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis

hs-bibutils: Patch to work with bibutils-6.2

parent 094ce1bb
haskell-hs-bibutils (6.6.0.0-2) unstable; urgency=medium
* Patch to build with ghc-8.4
* Patch to build with bibutils-6.2
-- Dmitry Bogatov <KAction@gnu.org> Thu, 04 Oct 2018 22:15:12 +0000
-- Ilias Tsitsimpis <iliastsi@debian.org> Thu, 11 Oct 2018 17:33:52 +0300
haskell-hs-bibutils (6.6.0.0-1) unstable; urgency=medium
......
Index: b/src/Text/Bibutils.hsc
===================================================================
--- a/src/Text/Bibutils.hsc
+++ b/src/Text/Bibutils.hsc
@@ -418,6 +418,10 @@ newtype BiblioIn = BiblioIn { unBiblio
newtype BiblioOut = BiblioOut { unBiblioOut :: CInt }
deriving ( Eq )
+#ifndef BIBL_NBIBOUT
+#define BIBL_NBIBOUT (BIBL_FIRSTOUT+7)
+#endif
+
#{enum BiblioOut, BiblioOut
, mods_out = BIBL_MODSOUT
, bibtex_out = BIBL_BIBTEXOUT
Index: haskell-hs-bibutils/src/Text/Bibutils.hsc
===================================================================
--- haskell-hs-bibutils.orig/src/Text/Bibutils.hsc
+++ haskell-hs-bibutils/src/Text/Bibutils.hsc
@@ -93,7 +93,6 @@ module Text.Bibutils
, isi_out
, word2007_out
, adsab_out
- , nbib_out
-- * Options for Specific Output Formats
, FormatOpt
@@ -426,7 +425,6 @@ newtype BiblioOut = BiblioOut { unBiblio
, isi_out = BIBL_ISIOUT
, word2007_out = BIBL_WORD2007OUT
, adsab_out = BIBL_ADSABSOUT
- , nbib_out = BIBL_NBIBOUT
}
newtype FormatOpt = FormatOpt { unFormatOpt :: CInt }
fix_cabal.patch
bibutils-include-path
patch-to-build-with-ghc-8.4.patch
patch-to-build-with-bibutils-6.2.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment