summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Glondu <steph@glondu.net>2011-04-18 17:41:19 +0200
committerStephane Glondu <steph@glondu.net>2011-04-18 17:43:58 +0200
commit03bce48f0596d4c28ba449c3e9c1c5aea227c66a (patch)
tree57418fbddf8869c39633e8ddbc2e70c791ad57ba
parent6f6ae5f2e295eb4155a18ac5e47e6ef244e88f18 (diff)
Fix preprocessor options in META (Closes: #623230)
-rw-r--r--debian/patches/0004-Fix-preprocessor-options-for-the-syntax-META-file.patch27
-rw-r--r--debian/patches/series1
2 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/0004-Fix-preprocessor-options-for-the-syntax-META-file.patch b/debian/patches/0004-Fix-preprocessor-options-for-the-syntax-META-file.patch
new file mode 100644
index 0000000..349e9d2
--- /dev/null
+++ b/debian/patches/0004-Fix-preprocessor-options-for-the-syntax-META-file.patch
@@ -0,0 +1,27 @@
+From: Nicolas Dandrimont <Nicolas.Dandrimont@crans.org>
+Date: Mon, 18 Apr 2011 16:17:36 +0200
+Subject: Fix preprocessor options for the syntax META file
+
+Origin: upstream, http://code.google.com/p/bitstring/source/detail?r=185
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623230
+Signed-off-by: Nicolas Dandrimont <Nicolas.Dandrimont@crans.org>
+Signed-off-by: Stephane Glondu <steph@glondu.net>
+---
+ 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"
+ )
+--
diff --git a/debian/patches/series b/debian/patches/series
index 36d495b..eae36fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-Fix-camlp4of.opt-detection-in-configure.patch
0002-Allow-byte-only-compilation.patch
0003-Fix-META-file-for-bitstring.syntax.patch
+0004-Fix-preprocessor-options-for-the-syntax-META-file.patch