[Pkg-ocaml-maint-commits] r1875 - trunk/packages/cduce/trunk/debian/patches

Thomas Petazzoni tpetazzo-guest at costa.debian.org
Mon Oct 31 21:03:35 UTC 2005


Author: tpetazzo-guest
Date: 2005-10-31 21:03:35 +0000 (Mon, 31 Oct 2005)
New Revision: 1875

Added:
   trunk/packages/cduce/trunk/debian/patches/ocamliface-relative-path-fix.dpatch
Modified:
   trunk/packages/cduce/trunk/debian/patches/00list
Log:
Fix for the CDuce 0.4.0 compilation issue regarding the use of relative path to indicate the location of OCaml sources

Modified: trunk/packages/cduce/trunk/debian/patches/00list
===================================================================
--- trunk/packages/cduce/trunk/debian/patches/00list	2005-10-31 20:48:36 UTC (rev 1874)
+++ trunk/packages/cduce/trunk/debian/patches/00list	2005-10-31 21:03:35 UTC (rev 1875)
@@ -0,0 +1 @@
+ocamliface-relative-path-fix

Added: trunk/packages/cduce/trunk/debian/patches/ocamliface-relative-path-fix.dpatch
===================================================================
--- trunk/packages/cduce/trunk/debian/patches/ocamliface-relative-path-fix.dpatch	2005-10-31 20:48:36 UTC (rev 1874)
+++ trunk/packages/cduce/trunk/debian/patches/ocamliface-relative-path-fix.dpatch	2005-10-31 21:03:35 UTC (rev 1875)
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## ocamliface-relative-path-fix.dpatch by  <thomas at crazy.kos.nx>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/ocamliface/Makefile trunk/ocamliface/Makefile
+--- trunk~/ocamliface/Makefile	2005-10-31 11:55:08.000000000 +0100
++++ trunk/ocamliface/Makefile	2005-10-31 22:02:02.000000000 +0100
+@@ -8,6 +8,7 @@
+ STDLIB=$(shell ocamlc -where)
+ CMI_MAGIC=$(shell grep cmi_magic ocaml-3.08.4/utils/config.mlp)
+ 
++OCAML_SRC=../$(OCAML_SRC)
+ 
+ ifeq ($(FORPACK),true)
+   FORPACKOPT1=-for-pack Cduce_lib.Caml_cduce
+@@ -63,4 +64,4 @@
+ 
+ COMPILE_FILES_ML=$(filter %.ml,$(COMPILE_FILES))
+ OBJECTS=$(COMPILE_FILES_ML:.ml=.cmo)
+-XOBJECTS=$(COMPILE_FILES_ML:.ml=.cmx)
+\ Pas de fin de ligne à la fin du fichier.
++XOBJECTS=$(COMPILE_FILES_ML:.ml=.cmx)


Property changes on: trunk/packages/cduce/trunk/debian/patches/ocamliface-relative-path-fix.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-ocaml-maint-commits mailing list