[Pkg-ocaml-maint-commits] r3662 - in /trunk/packages/extlib/trunk/debian: changelog patches/00list patches/build_with_debug_info.dpatch

zack at users.alioth.debian.org zack at users.alioth.debian.org
Tue Apr 10 07:52:16 UTC 2007


Author: zack
Date: Tue Apr 10 07:52:15 2007
New Revision: 3662

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3662
Log:
ship debugging info

Added:
    trunk/packages/extlib/trunk/debian/patches/build_with_debug_info.dpatch   (with props)
Modified:
    trunk/packages/extlib/trunk/debian/changelog
    trunk/packages/extlib/trunk/debian/patches/00list

Modified: trunk/packages/extlib/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/extlib/trunk/debian/changelog?rev=3662&op=diff
==============================================================================
--- trunk/packages/extlib/trunk/debian/changelog (original)
+++ trunk/packages/extlib/trunk/debian/changelog Tue Apr 10 07:52:15 2007
@@ -1,3 +1,10 @@
+extlib (1.5-7) unstable; urgency=low
+
+  * compile objects with debugging information, patch from Ivan Jager
+    (Closes: #415194)
+
+ -- Stefano Zacchiroli <zack at debian.org>  Mon, 09 Apr 2007 15:29:33 +0200
+
 extlib (1.5-6) unstable; urgency=low
 
   * debian/rules

Modified: trunk/packages/extlib/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/extlib/trunk/debian/patches/00list?rev=3662&op=diff
==============================================================================
--- trunk/packages/extlib/trunk/debian/patches/00list (original)
+++ trunk/packages/extlib/trunk/debian/patches/00list Tue Apr 10 07:52:15 2007
@@ -1,1 +1,2 @@
 03_install.dpatch
+build_with_debug_info.dpatch

Added: trunk/packages/extlib/trunk/debian/patches/build_with_debug_info.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/extlib/trunk/debian/patches/build_with_debug_info.dpatch?rev=3662&op=file
==============================================================================
--- trunk/packages/extlib/trunk/debian/patches/build_with_debug_info.dpatch (added)
+++ trunk/packages/extlib/trunk/debian/patches/build_with_debug_info.dpatch Tue Apr 10 07:52:15 2007
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build_with_debug_info.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: compile ocaml objects with debugging information
+
+ at DPATCH@
+diff -urNad trunk~/install.ml trunk/install.ml
+--- trunk~/install.ml	2006-01-29 11:03:39.000000000 +0100
++++ trunk/install.ml	2007-04-09 15:30:57.000000000 +0200
+@@ -160,7 +160,7 @@
+ 	if !autodoc && not (Sys.file_exists doc_dir) then run (sprintf "mkdir %s" doc_dir);
+ 	run (sprintf "ocamlc -c %s" (m_list ".mli"));
+ 	if !autobyte then begin
+-		List.iter (fun m -> run (sprintf "ocamlc -c %s.ml" m)) modules;
++		List.iter (fun m -> run (sprintf "ocamlc -g -c %s.ml" m)) modules;
+ 		run (sprintf "ocamlc -a -o extLib.cma %s extLib.ml" (m_list ".cmo"));
+ 		List.iter (fun m -> remove (m ^ ".cmo")) modules;
+ 		remove "extLib.cmo";

Propchange: trunk/packages/extlib/trunk/debian/patches/build_with_debug_info.dpatch
------------------------------------------------------------------------------
    svn:executable = *




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