aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ocaml-bitstring-fix-configure.patch
blob: c358bf3d6b3e9cd67da222703a7d0494f518ba2a (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
From 0aaddfceeea3e89df196ab1846da54d09713a512 Mon Sep 17 00:00:00 2001
From: Julien Lepiller <julien@lepiller.eu>
Date: Thu, 15 Dec 2016 21:17:31 +0100
Subject: [PATCH] fix configure

---
 Makefile.in | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index d040f4c..85e0b38 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -32,6 +32,7 @@ BISECT_REPORT	= @BISECT_REPORT@
 BYTESWAP_H	= @BYTESWAP_H@

 OCAMLLIB	= @OCAMLLIB@
+BISECTLIB	= $(shell if test -z $${BISECTLIB}; then echo $(OCAMLLIB); else echo $${BISECTLIB}; fi)
 top_srcdir	= @top_srcdir@

 pkg_cil		= @OCAML_PKG_cil@
@@ -47,9 +48,9 @@ OCAMLOPTPACKAGES = $(OCAMLCPACKAGES)
 OCAMLOPTLIBS	= -linkpkg

 ifneq ($(enable_coverage),no)
-OCAMLCFLAGS     += -I +bisect -pp 'camlp4o $(OCAMLLIB)/bisect/instrument.cma'
+OCAMLCFLAGS     += -I +bisect -pp 'camlp4o $(BISECTLIB)/bisect/instrument.cma'
 OCAMLCLIBS	+= -I +bisect bisect.cma
-OCAMLOPTFLAGS   += -I +bisect -pp 'camlp4o $(OCAMLLIB)/bisect/instrument.cma'
+OCAMLOPTFLAGS   += -I +bisect -pp 'camlp4o $(BISECTLIB)/bisect/instrument.cma'
 OCAMLOPTLIBS	+= -I +bisect bisect.cmxa
 endif

@@ -110,7 +111,7 @@ bitstring_persistent.cmi: bitstring_persistent.mli
	  -I +camlp4 -pp camlp4of -c $<

 pa_bitstring.cmo: pa_bitstring.ml bitstring.cma bitstring_persistent.cma
-	$(OCAMLFIND) ocamlc bitstring.cma -I +camlp4 dynlink.cma camlp4lib.cma \
+	$(OCAMLFIND) ocamlc $(OCAMLCFLAGS) bitstring.cma -I +camlp4 dynlink.cma camlp4lib.cma \
	  -pp camlp4of -c $< -o $@

 bitstring-objinfo: bitstring_objinfo.cmo bitstring.cma bitstring_persistent.cma
@@ -133,7 +134,7 @@ byteswap.h: byteswap.in.h
 ifeq ($(enable_coverage),no)
 PP	= -pp 'camlp4o bitstring.cma bitstring_persistent.cma pa_bitstring.cmo'
 else
-PP	= -pp 'camlp4o $(OCAMLLIB)/bisect/bisect.cma bitstring.cma bitstring_persistent.cma pa_bitstring.cmo'
+PP	= -pp 'camlp4o $(BISECTLIB)/bisect/bisect.cma bitstring.cma bitstring_persistent.cma pa_bitstring.cmo'
 endif

 check: test
--
2.11.0
dd just....* gnu/packages/rust-apps.scm (just): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Andrew Jose 2023-09-09gnu: rust-analyzer: Update required dependencies version....Use pinned versions of different dependencies required by rust-analyzer@2022-01-10. * gnu/packages/crates-io.scm (rust-salsa-0.17): Require RUST-INDEXMAP-1.7. (rust-serde-path-to-error-0.1): Require RUST-SERDE-JSON-1.0.73. (rust-serde-repr-0.1): Require RUST-QUOTE-1.0.10, RUST-PROC-MACRO2-1.0.34, RUST-SERDE-JSON-1.0.73, RUST-TRYBUILD-1.0.19. * gnu/packages/rust-apps.scm (rust-analyzer): Adjust versions similarly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Distopico 2023-09-09gnu: rust-analyzer: Fix build of version 2022-01-10....* gnu/packages/rust-apps.scm (rust-analyzer): Update dependency rust-notify-5-pre.13. This fixes the build of `rust-analyzer@2022-01-10`, which required a pinned version of `rust-notify` (`rust-notify-5-pre.13`) to compile and rust >= 1.64. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Distopico 2023-08-14gnu: Add maturin....* gnu/packages/rust-apps.scm (maturin): New variable. * gnu/packages/patches/maturin-no-cross-compile.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner 2023-08-14gnu: fd: Adjust for newer rust-clap-4....* gnu/packages/rust-apps.scm (fd)[arguments]: Add a phase to remove a feature-flag which was removed from the dependant project. Efraim Flashner 2023-08-14gnu: Remove rust-cbindgen-0.20....* gnu/packages/rust-apps.scm (rust-cbindgen-0.20): Delete variable. Efraim Flashner 2023-08-14gnu: Remove rust-cbindgen-0.17....* gnu/packages/rust-apps.scm (rust-cbindgen-0.17): Delete variable. Efraim Flashner 2023-08-14gnu: Remove rust-cbindgen-0.15....* gnu/packages/rust-apps.scm (rust-cbindgen-0.15): Delete variable. Efraim Flashner 2023-08-14gnu: Remove rust-cbindgen-0.14....* gnu/packages/rust-apps.scm (rust-cbindgen-0.14): Delete variable. Efraim Flashner 2023-08-14gnu: Remove rust-cbindgen-0.12....* gnu/packages/rust-apps.scm (rust-cbindgen-0.12): Delete variable. Efraim Flashner 2023-08-14gnu: rust-cargo-c: Update to 0.9.18....* gnu/packages/rust-apps.scm (rust-cargo-c): Update to 0.9.18. [cargo-inputs]: Replace rust-cargo-0.68 with 0.69, rust-toml-0.6 with 0.7. Efraim Flashner