From: Samuel Mimram Date: Wed, 4 Jan 2006 19:52:25 +0000 (+0000) Subject: Install ocamldumpobj. X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~673 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=424dc9cf956b10851415d74735f269160ef2863e;p=ocaml.git Install ocamldumpobj. --- diff --git a/debian/changelog b/debian/changelog index 35b31997..c2594ba4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ ocaml (3.09.1-1) UNRELEASED; urgency=low * Removing possibly leftover /usr/lib/ocaml/ld.conf, closes: #300846. * Added a watch file. * Updated objinfo.dpatch. + * Added dumpobj.dpatch to install ocamldumpobj. [ Julien Cristau ] * New upstream release diff --git a/debian/patches/00list b/debian/patches/00list index de6b7552..04b4ec79 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -1,5 +1,6 @@ versioned_libdir objinfo +dumpobj man-ocamlmklib kbsd-gnu alpha_ld_no-relax diff --git a/debian/patches/dumpobj.dpatch b/debian/patches/dumpobj.dpatch new file mode 100755 index 00000000..2be24b25 --- /dev/null +++ b/debian/patches/dumpobj.dpatch @@ -0,0 +1,68 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## dumpobj.dpatch by Samuel Mimram +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Ship ocamldumpobj and add a manpage for it. + +@DPATCH@ +diff -urNad ocaml-3.09.1~/man/ocamlc.m ocaml-3.09.1/man/ocamlc.m +--- ocaml-3.09.1~/man/ocamlc.m 2006-01-04 20:35:35.000000000 +0100 ++++ ocaml-3.09.1/man/ocamlc.m 2006-01-04 20:37:08.000000000 +0100 +@@ -243,7 +243,8 @@ + .SH SEE ALSO + .BR ocaml (1), + .BR ocamlrun (1), +-.BR ocamlobjinfo (1). ++.BR ocamlobjinfo (1), ++.BR ocamldumpobj (1). + .br + .I The Objective Caml user's manual, + chapter "Batch compilation". +diff -urNad ocaml-3.09.1~/man/ocamldumpobj.m ocaml-3.09.1/man/ocamldumpobj.m +--- ocaml-3.09.1~/man/ocamldumpobj.m 1970-01-01 01:00:00.000000000 +0100 ++++ ocaml-3.09.1/man/ocamldumpobj.m 2006-01-04 20:44:49.000000000 +0100 +@@ -0,0 +1,20 @@ ++.TH OCAMLDUMOBJ 1 "January 4, 2006" ++.SH NAME ++ocamldumpobj \- disassembler for OCaml executable and .cmo object files ++ ++.SH SYNOPSIS ++.B ocamldumpobj ++.RI file\ ... ++ ++.SH DESCRIPTION ++Disassembler for executable and .cmo object files compiled by OCaml. ++ ++.SH SEE ALSO ++.BR ocamlc (1), ++.BR ocamlopt (1), ++.BR ocamlobjinfo (1). ++.br ++ ++.SH AUTHOR ++This manual page was written by Samuel Mimram , ++for the Debian GNU/Linux system (but may be used by others). +diff -urNad ocaml-3.09.1~/man/ocamlopt.m ocaml-3.09.1/man/ocamlopt.m +--- ocaml-3.09.1~/man/ocamlopt.m 2006-01-04 20:35:35.000000000 +0100 ++++ ocaml-3.09.1/man/ocamlopt.m 2006-01-04 20:39:46.000000000 +0100 +@@ -226,7 +226,8 @@ + + .SH SEE ALSO + .BR ocamlc (1), +-.BR ocamlobjinfo (1). ++.BR ocamlobjinfo (1), ++.BR ocamldumpobj (1). + .br + .I The Objective Caml user's manual, + chapter "Native-code compilation". +diff -urNad ocaml-3.09.1~/tools/Makefile ocaml-3.09.1/tools/Makefile +--- ocaml-3.09.1~/tools/Makefile 2006-01-04 20:35:35.000000000 +0100 ++++ ocaml-3.09.1/tools/Makefile 2006-01-04 20:36:07.000000000 +0100 +@@ -71,6 +71,7 @@ + cp ocamlcp $(BINDIR)/ocamlcp$(EXE) + cp profiling.cmi profiling.cmo $(LIBDIR) + cp objinfo $(BINDIR)/ocamlobjinfo$(EXE) ++ cp dumpobj $(BINDIR)/ocamldumpobj$(EXE) + + clean:: + rm -f ocamlprof ocamlcp