[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623230: libbitstring-ocaml-dev: META variable preprocessor conflicts with other syntax extensions



Package: libbitstring-ocaml-dev
Version: 2.0.2-2+b1
Severity: normal
Tags: patch

Hi,

The ocaml-bitstring META file defines the variable preprocessor, and
in doing so conflicts with other packages using syntax extensions when
using ocamlfind.

This issue was fixed upstream
(http://code.google.com/p/bitstring/source/detail?r=185) but there has
been no upstream release since. Attached is a patch you can add to
debian/patches to fix the issue.

Thanks for considering,

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (499, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libbitstring-ocaml-dev depends on:
ii  camlp4 [camlp4-3.12.0]        3.12.0-2   Pre Processor Pretty Printer for O
ii  libbitstring-ocaml [libbitstr 2.0.2-2+b1 Erlang-style bitstrings for OCaml
ii  ocaml-nox [ocaml-nox-3.12.0]  3.12.0-2   ML implementation with a class-bas

libbitstring-ocaml-dev recommends no packages.

libbitstring-ocaml-dev suggests no packages.

-- no debconf information
--- Begin Message ---
Upstream patch : http://code.google.com/p/bitstring/source/detail?r=185
---
 META.in |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/META.in b/META.in
index 699ba44..049bbb4 100644
--- a/META.in
+++ b/META.in
@@ -16,8 +16,7 @@ package "persistent" (
 package "syntax" (
   version = "@PACKAGE_VERSION@"
   description = "Syntax extension: bitstring operators"
-  requires = "bitstring.persistent"
+  requires = "bitstring.persistent, camlp4"
   archive(syntax,preprocessor) = "pa_bitstring.cmo"
   archive(syntax,toploop) = "pa_bitstring.cmo"
-  preprocessor = "camlp4of"
 )
-- 

--- End Message ---

Reply to: