--- dmalloc-5.5.1.orig/debian/control +++ dmalloc-5.5.1/debian/control @@ -0,0 +1,42 @@ +Source: dmalloc +Section: devel +Priority: extra +Maintainer: Daniel Rus Morales +Build-Depends: debhelper (>= 5), dpatch, autoconf, texinfo +Standards-Version: 3.7.2 + +Package: libdmalloc5 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: libdmalloc4 +Replaces: libdmalloc4 +Suggests: gcc, gdb +Description: debug memory allocation library + Drop in replacement for the system's `malloc', `realloc', `calloc', `free' and + other memory management routines while providing powerful debugging facilities + configurable at runtime. + . + These facilities include such things as memory-leak tracking, fence-post write + detection, file/line number reporting, and general logging of statistics. + . + Homepage: + . + This package contains only the shared libraries, the development files and + documentation is in the libdmalloc-dev package. + +Package: libdmalloc-dev +Section: libdevel +Architecture: any +Depends: libdmalloc5 (= ${binary:Version}) +Description: debug memory allocation library (development files and doc) + Drop in replacement for the system's `malloc', `realloc', `calloc', `free' and + other memory management routines while providing powerful debugging facilities + configurable at runtime. + . + These facilities include such things as memory-leak tracking, fence-post write + detection, file/line number reporting, and general logging of statistics. + . + Homepage: + . + This package contains the static libraries and documentation. --- dmalloc-5.5.1.orig/debian/patches/03-threads.dpatch +++ dmalloc-5.5.1/debian/patches/03-threads.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02-threads.dpatch by Markus Stenberg +## 02-threads.dpatch by Daniel Rus Morales +## +## DP: If --enable-threads is used, LOCK_THREADS doesn't get updated +## DP: (Closes: #276457). +## DP: Adjust old 02-threads to new upstream 5.5.1 sources. + +@DPATCH@ + +--- dmalloc-5.5.1.orig/settings.dist 2007-03-25 21:16:43.000000000 +0200 ++++ dmalloc-5.5.1/settings.dist 2007-04-27 20:56:49.000000000 +0200 +@@ -409,7 +409,7 @@ + */ + + #ifndef LOCK_THREADS +-#define LOCK_THREADS 0 ++#define LOCK_THREADS 1 + #endif + + #if LOCK_THREADS --- dmalloc-5.5.1.orig/debian/patches/02-Makefile.in.dpatch +++ dmalloc-5.5.1/debian/patches/02-Makefile.in.dpatch @@ -0,0 +1,333 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02-Makefile.in.dpatch by Daniel Rus Morales +## +## DP: Changes for building shared libraries with PIC object files and the +## DP: correct soname and libname. + +@DPATCH@ + +--- dmalloc-5.5.1.orig/Makefile.in 2007-03-25 21:16:44.000000000 +0200 ++++ dmalloc-5.5.1/Makefile.in 2007-05-02 16:01:35.000000000 +0200 +@@ -42,7 +42,7 @@ + + # thread version of the library + LIB_TH = lib$(MODULE)th.a +-LIB_TH_SL = lib$(MODULE)th.@shlibext@ ++LIB_TH_SL = lib$(MODULE)th.@shlibext@.5.5.1 + @TH_ON@BUILD_ALL_1 = threads + @TH_ON@INSTALL_LIB_1 = installth + @SL_ON@BUILD_THREADS_1 = $(LIB_TH_SL) +@@ -51,8 +51,8 @@ + @TH_ON@@SL_ON@INSTALL_LIB_2 = installthsl + + # C++ version of the library +-LIB_CXX = lib$(MODULE)xx.a +-LIB_CXX_SL = lib$(MODULE)xx.@shlibext@ ++LIB_CXX = lib$(MODULE)cxx.a ++LIB_CXX_SL = lib$(MODULE)cxx.@shlibext@.5.5.1 + @CXX_ON@BUILD_ALL_3 = $(LIB_CXX) + @CXX_ON@INSTALL_LIB_3 = installcxx + @SL_ON@BUILD_CXX_3 = $(LIB_CXX_SL) +@@ -62,7 +62,7 @@ + + # threads + C++ + LIB_TH_CXX = lib$(MODULE)thcxx.a +-LIB_TH_CXX_SL = lib$(MODULE)thcxx.@shlibext@ ++LIB_TH_CXX_SL = lib$(MODULE)thcxx.@shlibext@.5.5.1 + @TH_ON@@CXX_ON@BUILD_ALL_5 = $(LIB_TH_CXX) + @TH_ON@@CXX_ON@INSTALL_LIB_5 = installthcxx + @TH_ON@BUILD_CXX_5 = $(LIB_TH_CXX) +@@ -77,7 +77,7 @@ + @CXX_ON@@SL_ON@INSTALL_THREADS_6 = installthcxxsl + + # shared versions of the libraries +-LIB_SL = lib$(MODULE).@shlibext@ ++LIB_SL = lib$(MODULE).@shlibext@.5.5.1 + @SL_ON@BUILD_ALL_7 = $(LIB_SL) + @SL_ON@INSTALL_LIB_7 = installsl + @SL_ON@BUILD_TH_CXX_7 = $(LIB_TH_CXX_SL) +@@ -129,7 +129,8 @@ + INFOFILE = $(MODULE).info + HTMLFILE = $(MODULE).html + TEXIFILE = $(MODULE).texi +-DOCFILES = $(HTMLFILE) $(TEXIFILE) ++PDFFILE = $(MODULE).pdf ++DOCFILES = $(HTMLFILE) $(TEXIFILE) $(PDFFILE) + + CCFLAGS = @CFLAGS@ + LDFLAGS = @LDFLAGS@ +@@ -146,9 +147,13 @@ + + HFLS = dmalloc.h + OBJS = arg_check.o compat.o dmalloc_rand.o dmalloc_tab.o env.o heap.o ++OBJS_SL = arg_check_sl.o compat_sl.o dmalloc_rand_sl.o dmalloc_tab_sl.o env_sl.o heap_sl.o + NORMAL_OBJS = chunk.o error.o malloc.o ++NORMAL_OBJS_SL = chunk_sl.o error_sl.o malloc_sl.o + THREAD_OBJS = chunk_th.o error_th.o malloc_th.o ++THREAD_OBJS_SL = chunk_th_sl.o error_th_sl.o malloc_th_sl.o + CXX_OBJS = dmallocc.o ++CXX_OBJS_SL = dmallocc_sl.o + + CFLAGS = $(CCFLAGS) + TEST = $(MODULE)_t +@@ -161,9 +166,9 @@ + + clean : + rm -f $(A_OUT) core *.o *.t +- rm -f $(LIBRARY) $(LIB_TH) $(LIB_CXX) $(LIB_TH_CXX) $(TEST) $(TEST_FC) +- rm -f $(LIB_TH_SL) $(LIB_CXX_SL) $(LIB_TH_CXX_SL) $(LIB_SL) ++ rm -f $(TEST) $(TEST_FC) + rm -f $(UTIL) dmalloc.h ++ rm -f lib$(MODULE)*.* + + realclean : clean + +@@ -182,43 +187,43 @@ + $(INSTALL_DATA) $(HFLS) $(includedir) + + installthsl : $(LIB_TH_SL) +- $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_TH_SL) $(libdir) ++ $(srcdir)/mkinstalldirs $(shlibdir) ++ $(INSTALL) $(LIB_TH_SL) $(shlibdir) + + installth : $(INSTALL_THREADS) + $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_TH) $(libdir) ++ $(INSTALL) $(LIB_TH) $(libdir) + @CXX_OFF@ @echo "Enter 'make installthcxx' to install the threaded C++ library" + @SL_OFF@ @echo "Enter 'make installthsl' to install the threaded shared-library" + + installthcxxsl : $(LIB_TH_CXX_SL) + $(srcdir)/mkinstalldirs $(shlibdir) +- $(INSTALL_PROGRAM) $(LIB_TH_CXX_SL) $(shlibdir) ++ $(INSTALL) $(LIB_TH_CXX_SL) $(shlibdir) + + installthcxx : $(INSTALL_TH_CXX) + $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_TH_CXX) $(libdir) ++ $(INSTALL) $(LIB_TH_CXX) $(libdir) + @SL_OFF@ @echo "Enter 'make installthcxxsl' to install the threaded C++ shared-library" + + installcxxsl : $(LIB_CXX_SL) +- $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_CXX_SL) $(libdir) ++ $(srcdir)/mkinstalldirs $(shlibdir) ++ $(INSTALL) $(LIB_CXX_SL) $(shlibdir) + + installcxx : $(INSTALL_CXX) + $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIB_CXX) $(libdir) ++ $(INSTALL) $(LIB_CXX) $(libdir) + @TH_OFF@ @echo "Enter 'make installthcxx' to install the threaded C++ library" + @SL_OFF@ @echo "Enter 'make installcxxsl' to install the C++ shared-library" + + installsl : $(LIB_SL) + $(srcdir)/mkinstalldirs $(shlibdir) +- $(INSTALL_PROGRAM) $(LIB_SL) $(shlibdir) ++ $(INSTALL) $(LIB_SL) $(shlibdir) + @CXX_OFF@ @echo "Enter 'make installcxxsl' to install the C++ shared-library" + @TH_OFF@ @echo "Enter 'make installthsl' to install thread shared-library" + + installlib : $(INSTALL_LIB) + $(srcdir)/mkinstalldirs $(libdir) +- $(INSTALL_PROGRAM) $(LIBRARY) $(libdir) ++ $(INSTALL) $(LIBRARY) $(libdir) + @RANLIB@ $(libdir)/$(LIBRARY) + @SL_OFF@ @echo "Enter 'make installsl' to install $(LIB_SL) in $(shlibdir)" + @CXX_OFF@ @echo "Enter 'make installcxx' to install the C++ library" +@@ -232,6 +237,7 @@ + $(srcdir)/mkinstalldirs $(docdir) + $(INSTALL_DATA) $(srcdir)/docs/$(HTMLFILE) $(docdir) + $(INSTALL_DATA) $(srcdir)/docs/$(TEXIFILE) $(docdir) ++ $(INSTALL_DATA) $(srcdir)/docs/$(PDFFILE) $(docdir) + + install : installincs installlib $(UTIL) + $(srcdir)/mkinstalldirs $(bindir) +@@ -259,10 +265,8 @@ + # NOTE: you may have to edit the configure.ac script to get this to + # work on your operating system. Please send feedback to the author + # via: http://256.com/gray/email.html +-$(LIB_SL) : $(LIBRARY) +- rm -f $@ $@.t +- @shlinkargs@ $(LIBRARY) @SL_LINK_OBJS@ $(OBJS) $(NORMAL_OBJS) +- mv $@.t $@ ++$(LIB_SL) : $(OBJS_SL) $(NORMAL_OBJS_SL) ++ $(CC) -shared -Wl,-soname,libdmalloc.so.5 -o $@ $(OBJS_SL) $(NORMAL_OBJS_SL) + + $(LIBRARY) : $(OBJS) $(NORMAL_OBJS) + ar cr $@ $? +@@ -272,34 +276,26 @@ + ar cr $@ $? + @RANLIB@ $@ + +-$(LIB_TH_SL) : $(LIB_TH) +- rm -f $@ $@.t +- @shlinkargs@ $(LIB_TH) @SL_LINK_OBJS@ $(OBJS) $(THREAD_OBJS) +- mv $@.t $@ ++$(LIB_TH_SL) : $(OBJS_SL) $(THREAD_OBJS_SL) ++ $(CC) -shared -Wl,-soname,libdmallocth.so.5 -o $@ $(OBJS_SL) $(THREAD_OBJS_SL) + + $(LIB_CXX) : $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS) + ar cr $@ $? + @RANLIB@ $@ + +-$(LIB_CXX_SL) : $(LIB_CXX) +- rm -f $@ $@.t +- @shlinkargs@ $(LIB_CXX) @SL_LINK_OBJS@ $(OBJS) $(NORMAL_OBJS) \ +- $(CXX_OBJS) +- mv $@.t $@ ++$(LIB_CXX_SL) : $(OBJS_SL) $(NORMAL_OBJS_SL) $(CXX_OBJS_SL) ++ $(CC) -shared -Wl,-soname,libdmalloccxx.so.5 -o $@ $(OBJS_SL) $(NORMAL_OBJS_SL) $(CXX_OBJS_SL) + + $(LIB_TH_CXX) : $(OBJS) $(THREAD_OBJS) $(CXX_OBJS) + ar cr $@ $? + @RANLIB@ $@ + +-$(LIB_TH_CXX_SL) : $(LIB_TH_CXX) +- rm -f $@ $@.t +- @shlinkargs@ $(LIB_TH_CXX) @SL_LINK_OBJS@ $(OBJS) $(THREAD_OBJS) \ +- $(CXX_OBJS) +- mv $@.t $@ ++$(LIB_TH_CXX_SL) : $(OBJS_SL) $(THREAD_OBJS_SL) $(CXX_OBJS_SL) ++ $(CC) -shared -Wl,-soname,libdmallocthcxx.so.5 -o $@ $(OBJS_SL) $(THREAD_OBJS_SL) $(CXX_OBJS_SL) + +-threadssl : $(LIB_TH_SL) ++threadssl : $(LIB_TH_SL)$(ver) + +-threadscxxsl : $(LIB_TH_CXX_SL) ++threadscxxsl : $(LIB_TH_CXX_SL)$(ver) + + threadscxx : $(BUILD_TH_CXX) + @SL_OFF@ @echo "Enter 'make threadscxxsl' to build the threaded C++ shared-library" +@@ -308,7 +304,7 @@ + @CXX_OFF@ @echo "Enter 'make threadscxx' to build the threaded C++ library" + @SL_OFF@ @echo "Enter 'make threadssl' to build the threaded shared library" + +-cxxsl : $(LIB_CXX_SL) ++cxxsl : $(LIB_CXX_SL)$(ver) + + cxx : $(BUILD_CXX) + @SL_OFF@ @echo "Enter 'make cxxsl' to build the cxx shared library" +@@ -376,7 +372,10 @@ + rm -f $@ + $(CXX) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INCS) -c $(srcdir)/dmallocc.cc \ + -o ./$@ +- ++dmallocc_sl.o : $(srcdir)/dmallocc.cc ++ rm -f $@ ++ $(CXX) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $(srcdir)/dmallocc.cc \ ++ -o ./$@ + .texi.info : + makeinfo --no-split $< + +@@ -404,38 +403,109 @@ + + arg_check.o: arg_check.c conf.h settings.h dmalloc.h chunk.h debug_tok.h \ + dmalloc_loc.h error.h arg_check.h ++arg_check_sl.o: arg_check.c conf.h settings.h dmalloc.h chunk.h debug_tok.h \ ++ dmalloc_loc.h error.h arg_check.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + chunk.o: chunk.c conf.h settings.h dmalloc.h chunk.h chunk_loc.h \ + dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ + error_val.h heap.h ++chunk_sl.o: chunk.c conf.h settings.h dmalloc.h chunk.h chunk_loc.h \ ++ dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ ++ error_val.h heap.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + compat.o: compat.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h ++compat_sl.o: compat.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc.o: dmalloc.c conf.h settings.h dmalloc_argv.h dmalloc.h compat.h \ + debug_tok.h dmalloc_loc.h env.h error_val.h version.h ++dmalloc_sl.o: dmalloc.c conf.h settings.h dmalloc_argv.h dmalloc.h compat.h \ ++ debug_tok.h dmalloc_loc.h env.h error_val.h version.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_argv.o: dmalloc_argv.c conf.h settings.h dmalloc_argv.h \ + dmalloc_argv_loc.h compat.h ++dmalloc_argv_sl.o: dmalloc_argv.c conf.h settings.h dmalloc_argv.h \ ++ dmalloc_argv_loc.h compat.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_fc_t.o: dmalloc_fc_t.c conf.h settings.h dmalloc.h dmalloc_argv.h \ + dmalloc_rand.h debug_tok.h dmalloc_loc.h error_val.h ++dmalloc_fc_t_sl.o: dmalloc_fc_t.c conf.h settings.h dmalloc.h dmalloc_argv.h \ ++ dmalloc_rand.h debug_tok.h dmalloc_loc.h error_val.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_rand.o: dmalloc_rand.c dmalloc_rand.h ++dmalloc_rand_sl.o: dmalloc_rand.c dmalloc_rand.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_t.o: dmalloc_t.c conf.h settings.h compat.h dmalloc.h \ + dmalloc_argv.h dmalloc_rand.h arg_check.h debug_tok.h dmalloc_loc.h \ + error_val.h heap.h ++dmalloc_t_sl.o: dmalloc_t.c conf.h settings.h compat.h dmalloc.h \ ++ dmalloc_argv.h dmalloc_rand.h arg_check.h debug_tok.h dmalloc_loc.h \ ++ error_val.h heap.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + dmalloc_tab.o: dmalloc_tab.c conf.h settings.h chunk.h compat.h dmalloc.h \ + dmalloc_loc.h error.h error_val.h dmalloc_tab.h dmalloc_tab_loc.h ++dmalloc_tab_sl.o: dmalloc_tab.c conf.h settings.h chunk.h compat.h dmalloc.h \ ++ dmalloc_loc.h error.h error_val.h dmalloc_tab.h dmalloc_tab_loc.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + env.o: env.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h \ + debug_tok.h env.h error.h ++env_sl.o: env.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h \ ++ debug_tok.h env.h error.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + error.o: error.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ + dmalloc_loc.h env.h error.h error_val.h version.h ++error_sl.o: error.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ ++ dmalloc_loc.h env.h error.h error_val.h version.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + heap.o: heap.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ + dmalloc_loc.h error.h error_val.h heap.h ++heap_sl.o: heap.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ ++ dmalloc_loc.h error.h error_val.h heap.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + malloc.o: malloc.c conf.h settings.h dmalloc.h chunk.h compat.h \ + debug_tok.h dmalloc_loc.h env.h error.h error_val.h heap.h \ + malloc_funcs.h return.h ++malloc_sl.o: malloc.c conf.h settings.h dmalloc.h chunk.h compat.h \ ++ debug_tok.h dmalloc_loc.h env.h error.h error_val.h heap.h \ ++ malloc_funcs.h return.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + protect.o: protect.c conf.h settings.h dmalloc.h dmalloc_loc.h error.h \ + heap.h protect.h ++protect_sl.o: protect.c conf.h settings.h dmalloc.h dmalloc_loc.h error.h \ ++ heap.h protect.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + chunk_th.o: chunk.c conf.h settings.h dmalloc.h chunk.h chunk_loc.h \ + dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ + error_val.h heap.h ++chunk_th_sl.o: chunk.c conf.h settings.h dmalloc.h chunk.h chunk_loc.h \ ++ dmalloc_loc.h compat.h debug_tok.h dmalloc_rand.h dmalloc_tab.h error.h \ ++ error_val.h heap.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + error_th.o: error.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ + dmalloc_loc.h env.h error.h error_val.h version.h ++error_th_sl.o: error.c conf.h settings.h dmalloc.h chunk.h compat.h debug_tok.h \ ++ dmalloc_loc.h env.h error.h error_val.h version.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ + malloc_th.o: malloc.c conf.h settings.h dmalloc.h chunk.h compat.h \ + debug_tok.h dmalloc_loc.h env.h error.h error_val.h heap.h \ + malloc_funcs.h return.h ++malloc_th_sl.o: malloc.c conf.h settings.h dmalloc.h chunk.h compat.h \ ++ debug_tok.h dmalloc_loc.h env.h error.h error_val.h heap.h \ ++ malloc_funcs.h return.h ++ rm -f $@ ++ $(CC) $(CFLAGS) -fPIC $(CPPFLAGS) $(DEFS) $(INCS) -c $< -o ./$@ --- dmalloc-5.5.1.orig/debian/patches/04-inline-asm.dpatch +++ dmalloc-5.5.1/debian/patches/04-inline-asm.dpatch @@ -0,0 +1,19 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 04-inline-asm.dpatch by Phil Blundell +## +## DP: Fixes bad inline asm (Closes: #343061). + +@DPATCH@ + +diff -Naur dmalloc-5.4.2.orig/return.h dmalloc-5.4.2/return.h +--- dmalloc-5.4.2.orig/return.h 2004-10-19 14:51:21.000000000 +0000 ++++ dmalloc-5.4.2/return.h 2005-12-12 12:21:33.215666072 +0000 +@@ -301,7 +301,7 @@ + * For ARM based machines with gcc/gas 3.3.3 -- Silvester Erdeg. + */ + #ifdef __arm__ +-#define GET_RET_ADDR(file) asm("str lr, %0" : "=g" (file) : /* no inputs */ ) ++#define GET_RET_ADDR(file) do { register int lr asm("lr"); file =(char *)lr; } while (0) + #endif + + /*************************************/ --- dmalloc-5.5.1.orig/debian/patches/00list +++ dmalloc-5.5.1/debian/patches/00list @@ -0,0 +1,3 @@ +01-configure.ac +02-Makefile.in +03-threads --- dmalloc-5.5.1.orig/debian/patches/01-configure.ac.dpatch +++ dmalloc-5.5.1/debian/patches/01-configure.ac.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-configure.ac.dpatch by Daniel Rus Morales +## +## DP: Removes explicit checking of CXX that indeed avoids the --enable-cxx +## DP: user option. + +@DPATCH@ + +--- dmalloc-5.5.1.orig/configure.ac 2007-03-25 21:16:44.000000000 +0200 ++++ dmalloc-5.5.1/configure.ac 2007-05-02 10:00:28.000000000 +0200 +@@ -55,12 +55,6 @@ + AC_PROG_CC + AC_PROG_CXX + +-# see if we actually have a CXX program +-if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then +- AC_MSG_WARN(could not find C++ compiler $ac_cv_prog_CXX) +- enable_cxx=no +-fi +- + # hopefully we have a stdc c-compiler + if test "$ac_cv_prog_cc_stdc" = "no" ; then + AC_MSG_WARN() --- dmalloc-5.5.1.orig/debian/libdmalloc5.docs +++ dmalloc-5.5.1/debian/libdmalloc5.docs @@ -0,0 +1 @@ +NEWS --- dmalloc-5.5.1.orig/debian/changelog +++ dmalloc-5.5.1/debian/changelog @@ -0,0 +1,282 @@ +dmalloc (5.5.1-1) unstable; urgency=low + + * New maintainer (Closes: #407637). + * New upstream release. + * debian/patches/01-configure.ac.dpatch: new dpatch file. + * debian/patches/02-Makefile.in.dpatch: new dpatch file. + * debian/patches/02-threads.dpatch: renamed to 03-threads.dpatch, to be the + 3rd patch applied. + * debian/patches/03-info.dpatch: removed, fixed in upstream. + * debian/patches/00list: delete entry for 03-info and 04-inline-asm. + Upstream source related with 04-inline-asm patch has changed. + + -- Daniel Rus Morales Sat, 5 May 2007 10:36:54 +0200 + +dmalloc (5.4.2-8) unstable; urgency=medium + + * QA upload. + * debian/libdmalloc-dev.doc-base: Add Index field to info stanza. + Closes: #418799. + * debian/rules: Don't copy config.{guess,sub} from autotools-dev + since configure doesn't actually use them. + * debian/watch: Update upstream URL. + * Change priority to extra, catching up with the override file. + + -- Matej Vela Thu, 12 Apr 2007 08:38:54 +0200 + +dmalloc (5.4.2-7) unstable; urgency=low + + * Orphaning package. + + -- Daniel Baumann Sat, 20 Jan 2007 11:02:00 +0100 + +dmalloc (5.4.2-6) unstable; urgency=low + + * Minor cleanups. + + -- Daniel Baumann Fri, 19 Jan 2007 12:02:00 +0100 + +dmalloc (5.4.2-5) unstable; urgency=low + + * New email address. + * Bumped policy version. + * Broken out remaining patches from diff.gz into dedicated dpatches. + * Removed texinfo from doc-base. + + -- Daniel Baumann Tue, 15 Aug 2006 20:44:00 +0200 + +dmalloc (5.4.2-4) unstable; urgency=low + + * Don't compress examples, moving contrib to examples, keep permissions + (Closes: #349499). + + -- Daniel Baumann Fri, 24 Feb 2006 11:50:00 +0100 + +dmalloc (5.4.2-3) unstable; urgency=low + + * Added patch to fix bad inline asm (Closes: #343061). + + -- Daniel Baumann Mon, 12 Dec 2005 13:20:00 +0100 + +dmalloc (5.4.2-2) unstable; urgency=low + + * New maintainer (Closes: #317427). + * Changed priority to optional. + * Changed package name of libdmalloc4-dev to libdmalloc-dev. + * Removed old dmalloc transitional package. + * Bumped policy version. + * debian/ redone. + + -- Daniel Baumann Tue, 26 Jul 2005 17:49:00 +0200 + +dmalloc (5.4.2-1) unstable; urgency=low + + * New upstream release + * settings.dist: #define LOCK_THREADS 1 (Closes: #276457) + * debian/watch: better match and added ftp2.sf.net + + -- Luk Claes Sat, 6 Nov 2004 13:04:26 +0100 + +dmalloc (5.3.0-5) unstable; urgency=high + + * Provide a smooth upgrade path (Closes: #271119) + + -- Luk Claes Tue, 14 Sep 2004 09:01:46 +0200 + +dmalloc (5.3.0-4) unstable; urgency=high + * Urgency high because of uninstallable in sarge + * debian/control: removed Conflicts (Closes: #267743) + * debian/control: dmalloc in oldlibs + * debian/rules: dmalloc in binary-indep (Closes: #265019) + + -- Luk Claes Mon, 30 Aug 2004 14:52:22 +0200 + +dmalloc (5.3.0-3) unstable; urgency=low + + * No changes. This is to sort out the fubar made while uploading + without -sa the first time + (Closes: #238633) - fixed in -2 + + -- Luk Claes Wed, 28 Jul 2004 13:22:32 +0100 + +dmalloc (5.3.0-2) unstable; urgency=low + + * Fixed grammatical and spelling errors in dmalloc.texi + (Closes: #238633) + + -- Luk Claes Thu, 20 May 2004 16:11:27 +0200 + +dmalloc (5.3.0-1) unstable; urgency=low + + * New upstream release + * Split in libdmalloc4 and libdmalloc4-dev + * Rectified paths in manpage + * Documentation in the right places (Closes: #229201) + * Fixed autoconf stuff + * Exported CFLAGS in debian/rules + * Added me to debian/copyright + * Corrected debian/watch + + -- Luk Claes Tue, 10 Feb 2004 10:19:39 +0100 + +dmalloc (5.2.3-1) unstable; urgency=low + + * New upstream release (Closes: #216622). + * Updated to standards version 3.6.1 + * ANSI compliant __STDC__ handling + + -- Luk Claes Mon, 20 Oct 2003 09:39:35 +0200 + +dmalloc (5.2.1-3) unstable; urgency=low + + * Shareld libs in correct format (Closes: #206453). + + -- Luk Claes Thu, 21 Aug 2003 19:16:46 +0200 + +dmalloc (5.2.1-2) unstable; urgency=low + + * New maintainer (Closes: #202571) + * Shared lib compiled with -fPIC (Closes: #202777) + * Readded dmalloc manpage as it is required by policy an users want it (Closes: #62692) + * Updated to standards version 3.6.0 + + -- Luk Claes Mon, 11 Aug 2003 17:05:16 +0200 + +dmalloc (5.2.1-1) unstable; urgency=low + + * New upstream release (Closes: #199257) + * dmalloc_logpath is fixed in this release (Closes: #113688) + * Remove dmalloc man page, dmalloc doesnt have an official man page, + the offical documentation is in texi format. + + -- Glenn McGrath Mon, 21 Jul 2003 14:27:29 +0000 + +dmalloc (4.8.2-7) unstable; urgency=low + + * Fix doc-base (Closes: #149541) + * Bump standards version to 3.5.8 + * Build depend on higher debhelper version to prevent lintian warning + + -- Glenn McGrath Mon, 30 Dec 2002 18:37:01 +1100 + +dmalloc (4.8.2-6) unstable; urgency=low + + * Recompile against a newer glibc + * Remove pthread avoidance code for GNU/Hurd, GNU/Hurd has pthreads now! + + -- Glenn McGrath Sun, 24 Nov 2002 11:28:18 +1100 + +dmalloc (4.8.2-5) unstable; urgency=low + + * Rename docbase title (Closes: #146998) + * Fix man page (Closes: #138291) + + -- Glenn McGrath Thu, 16 May 2002 16:06:25 +1000 + +dmalloc (4.8.2-4) unstable; urgency=low + + * Fix docbase section, remove extra space (Closes: #133218) + + -- Glenn McGrath Thu, 14 Feb 2002 15:12:21 +1100 + +dmalloc (4.8.2-3) unstable; urgency=low + + * Use gcc as a linker in preference to ld (Closes: #131871) + * I am now the debian dmalloc maintainer + + -- Glenn McGrath Tue, 5 Feb 2002 15:55:31 +1100 + +dmalloc (4.8.2-2) unstable; urgency=low + + * pass CFLAGS ./configure to compile with -fPIC (closes #131222) + + -- Glenn McGrath Fri, 1 Feb 2002 00:32:18 +1100 + +dmalloc (4.8.2-1) unstable; urgency=low + + * New upstream version (Closes #76773) + * Version 4.8.x includes DMALLOC_VERIFY_NOERROR (Closes #89711) + * Declare build dependencies (Closes #122429) + * Use doc-base instead of dhelp (Closes #63928) + * Fix doc-base html declaration (Closes #85203) + * Include dmalloc_loc.h for c++ example (Closes #89768) + + -- Glenn McGrath Sat, 26 Jan 2002 04:06:44 +1100 + +dmalloc (4.6.0-2) unstable; urgency=low + + * Fixed compilation error for architectures that are not supported for + GET_RET_ADDR() (Closes#66394) + -- Luis Francisco Gonzalez Sun, 2 Jul 2000 16:07:20 +0100 + +dmalloc (4.6.0-1) unstable; urgency=low + + * New upstream source + + -- Luis Francisco Gonzalez Mon, 26 Jun 2000 21:21:35 +0100 + +dmalloc (4.3.0-1) unstable; urgency=low + + * New upstream source + * Bumped up standards + * Moved docs to /usr/share + + -- Luis Francisco Gonzalez Wed, 22 Dec 1999 21:40:51 +0000 + +dmalloc (4.2.0-2.1) unstable; urgency=low + + * NMU + * link ordering glibc2.1 stuff, closes: #49376 + + -- Brian M. Almeida Sat, 20 Nov 1999 13:33:13 -0500 + +dmalloc (4.2.0-2) unstable; urgency=low + + * Fixed symbols problem. Fixes Bug#40371 + + -- Luis Francisco Gonzalez Thu, 8 Jul 1999 17:20:44 +0100 + +dmalloc (4.2.0-1) unstable; urgency=low + + * New upstream version. Fixes Bug#32115 + + -- Luis Francisco Gonzalez Mon, 7 Jun 1999 22:39:00 +0100 + +dmalloc (3.3.1-3) frozen unstable; urgency=low + + * Fixed the manpage for dmalloc ".SH NAME". Fixes Bug#20387 + + -- Luis Francisco Gonzalez Sun, 29 Mar 1998 18:12:33 +0100 + +dmalloc (3.3.1-2) frozen unstable; urgency=low + + * Moved build process to shared and static directories to force recompile + of object files. (Bug#20023). + + -- Luis Francisco Gonzalez Sun, 22 Mar 1998 15:52:52 +0000 + +dmalloc (3.3.1-1) unstable; urgency=low + + * New upstream source + * Added a symlink from libdmalloc.so.3 to libdmalloc.so + * Added Conflicts, Replaces in order to upgrade from the previous dmalloc + packages (Bug#16372) and (Bug#17921). + * Explicitly linked against libc (Bug#16526) + * Changed the maintainer address to + + -- Luis Francisco Gonzalez Fri, 27 Feb 1998 18:54:35 +0000 + +dmalloc (3.2.1-2) unstable; urgency=low + + * Corrected some problems with the library names. + * Changed dmalloc.h to dmalloc1-dev. + * Added the content of the contrib directory to usr/doc/dmalloc/contrib. + + -- Luis Francisco Gonzalez Tue, 25 Nov 1997 17:41:54 +0000 + +dmalloc (3.2.1-1) unstable; urgency=low + + * New upstream source + * New maintainer + + -- Luis Francisco Gonzalez Mon, 10 Nov 1997 11:38:57 +0000 --- dmalloc-5.5.1.orig/debian/libdmalloc-dev.doc-base +++ dmalloc-5.5.1/debian/libdmalloc-dev.doc-base @@ -0,0 +1,16 @@ +Document: dmalloc +Title: Debian dmalloc Manual +Author: Gray Watson +Abstract: This manual describes dmalloc, the debugging memmory allocator +Section: Apps/Programming + +Format: info +Index: /usr/share/info/dmalloc.info.gz +Files: /usr/share/info/dmalloc.info.gz + +Format: HTML +Index: /usr/share/doc/libdmalloc-dev/dmalloc.html +Files: /usr/share/doc/libdmalloc-dev/*.html + +Format: PDF +Files: /usr/share/doc/libdmalloc-dev/dmalloc.pdf.gz --- dmalloc-5.5.1.orig/debian/libdmalloc-dev.examples +++ dmalloc-5.5.1/debian/libdmalloc-dev.examples @@ -0,0 +1,2 @@ +contrib +dmallocrc --- dmalloc-5.5.1.orig/debian/libdmalloc-dev.install +++ dmalloc-5.5.1/debian/libdmalloc-dev.install @@ -0,0 +1,4 @@ +/usr/bin +/usr/include/* +/usr/lib/*.a +/usr/lib/*.so --- dmalloc-5.5.1.orig/debian/watch +++ dmalloc-5.5.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://dmalloc.com/releases/dmalloc-(.*)\.tgz --- dmalloc-5.5.1.orig/debian/libdmalloc-dev.info +++ dmalloc-5.5.1/debian/libdmalloc-dev.info @@ -0,0 +1 @@ +docs/dmalloc.info --- dmalloc-5.5.1.orig/debian/libdmalloc5.install +++ dmalloc-5.5.1/debian/libdmalloc5.install @@ -0,0 +1 @@ +/usr/lib/*.so.* --- dmalloc-5.5.1.orig/debian/libdmalloc-dev.docs +++ dmalloc-5.5.1/debian/libdmalloc-dev.docs @@ -0,0 +1,8 @@ +README +RELEASE.html +NEWS +docs/NOTES +docs/TODO +docs/dmalloc.html +docs/dmalloc.texi +docs/dmalloc.pdf --- dmalloc-5.5.1.orig/debian/libdmalloc-dev.manpages +++ dmalloc-5.5.1/debian/libdmalloc-dev.manpages @@ -0,0 +1 @@ +debian/manpage/* --- dmalloc-5.5.1.orig/debian/manpage/dmalloc.1 +++ dmalloc-5.5.1/debian/manpage/dmalloc.1 @@ -0,0 +1,232 @@ +.TH DMALLOC 1 +.SH NAME +dmalloc \- program used to set the environment for debugging using the +dmalloc debugging library. +.SH SYNOPSIS +.B dmalloc +.I [options] +.SH "DESCRIPTION" +This manual page documents the +.BR dmalloc +command. +It was written for the Debian GNU/Linux distribution based, almost verbatim, +on the original documentation provided by the library in GNU Info format; +see below. +.PP +The +.B dmalloc +program is designed to assist in the setting of the +environment variable +.B DMALLOC_OPTIONS. +It is designed to print the shell commands necessary to make the +appropriate changes to the environment. Unfortunately, it cannot make +the changes on its own so the output from dmalloc should be sent +through the `eval' shell command which will do the commands. + +With shells that have aliasing or macro capabilities: csh, bash, ksh, +tcsh, zsh, etc., setting up an alias to dmalloc to do the eval call is +recommended. Csh/tcsh users (for example) should put the following in +their `.cshrc' file: + +alias dmalloc 'eval `\\dmalloc \-C \!*`' + +Bash and Zsh users on the other hand should put the following in +their `.zshrc' file: + +function dmalloc { eval `command dmalloc \-b $*` } + +This allows the user to execute the dmalloc command as `dmalloc +arguments'. + +The most basic usage for the program is +.B `dmalloc [\-bC] tag'. + The +.B `\-b' +or +.B `\-C' +(either but not both flags used at a time) are for +generating Bourne or C shell type commands respectively. dmalloc will +try and use the +.B `SHELL' +environment variable to determine whether +bourne or C shell commands should be generated but you may want to +explicitly specify the correct flag. + +The +.I tag +argument to dmalloc should match a line from the user's +run-time configuration file or should be one of the built-in tags. +If no tag is specified and no other option-commands +used, dmalloc will display the current settings of the environment +variable. It is useful to specify one of the verbose options when doing +this. + +To find out the usage for the debug malloc program try +.B dmalloc \-\-usage\-long. +The standardized usage message that will be displayed is +one of the many features of the argv library included with this package. +It is available via ftp from `ftp.letters.com' in the `/src/argv' +directory. See `argv.info' there for more information. + +.SH OPTIONS +.TP +.B \-a +.I address +Set the `addr' part of the +.B DMALLOC_OPTIONS +variable to address (or alternatively address:number). +.TP +.B \-b +Output Bourne shell type commands. +.TP +.B \-C +Output C shell type commands. +.TP +.B \-c +Clear/unset all of the settings not specified with other arguments. +Clear will never unset the `debug' setting. Use +.B \-d 0 +or a tag to `none' to achieve this. +.TP +.B \-d +.I bitmask +Set the `debug' part of the +.B DMALLOC_OPTIONS +env variable to the +bitmask value which should be in hex. This is overridden (and +unnecessary) if a tag is specified. +.TP +.B \-D +List all of the debug-tokens. Useful for finding a token to be +used with the +.B \-p +or +.B \-m +options. Use with +.B \-v +or +.B \-V +verbose options. +.TP +.B \-e +.I errno +Print the dmalloc error string that corresponds to the error number +errno. +.TP +.B \-f +.I filename +Use this configuration file instead of the RC file +.I ~/.dmallocrc. +.TP +.B \-i +.I number +Set the checking interval to number. +.TP +.B \-k +Keep the settings when using a tag. This overrides +.B \-r . +.TP +.B \-l +.I filename +Set the log-file to filename. +.TP +.B \-L +Output the debug-value not in hex but by individual debug-tokens +in long form. +.TP +.B \-m +.I token(s) +Remove (minus) the debug capabilities of token(s) from the current +debug setting or from the selected tag (or +.B \-d +value). Multiple +.B \-m's +can be specified. +.TP +.B \-n +Without changing the environment, output the commands resulting +from the supplied options. +.TP +.B \-p +.I token(s) +Add (plus) the debug capabilities of token(s) to the current debug +setting or to the selected tag (or +.B \-d +value). Multiple +.B \-p's +can be +specified. +.TP +.B \-r +Remove (unset) all settings when using a tag. This is useful when +you are returning to a standard development tag and want the +logfile, address, and interval settings to be cleared +automatically. If you want this behavior by default, this can be +put into the dmalloc alias. +.TP +.B \-s +.I number +Set the `start' part of the +.B DMALLOC_OPTIONS +env variable to +number (alternatively `file:line'). +.TP +.B \-S +Output the debug-value not in hex but by individual debug-tokens +in short form. +.TP +.B \-t +List all of the tags in the rc-file. Use with +.B \-v +or +.B \-V +verbose options. +.TP +.B \-v +Give verbose output. Especially useful when dumping current +settings or listing all of the tags. +.PP +If no arguments are specified, dmalloc dumps out the current settings +that you have for the environment variable. For example: + + Debug-Flags '0x40005c7' (runtime) + Address 0x1f008, count = 3 + Interval 100 + Logpath 'malloc' + Start-File not-set + +With a +.B \-v +option and no arguments, dmalloc dumps out the current +settings in a verbose manner. For example: + + Debug-Flags '0x40005c7' (runtime) + log-stats, log-non-free, log-blocks, log-unknown, + log-bad-space, check-fence, catch-null + Address 0x1f008, count = 10 + Interval 100 + Logpath 'malloc' + Start-File not-set + +.SH "SEE ALSO" +The documetation for the library is in GNU Info format. Please check the +file +.IR /usr/share/info/dmalloc.info.gz +for more details. + +.SH FILES +.TP +.I /usr/share/info/dmalloc.info.gz +The real documentation for the dmalloc library. +.TP +.I ~/.dmallocrc +User's configuration file. +.SH AUTHOR +This manual page was written by Luis Francisco Gonz\['a]lez , +for the Debian GNU/Linux system (but may be used by others). +The library was written by +.B Gray Watson. +Please see the copyright +file in +.I /usr/share/doc/libdmalloc-dev +for details. --- dmalloc-5.5.1.orig/debian/copyright +++ dmalloc-5.5.1/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Daniel Baumann on +Tue, 26 Jul 2005 17:49:00 +0200. + +It was downloaded from . + +License: + + Copyright (C) 1992-2003 Gray Watson + + Permission to use, copy, modify, and distribute this software for any + purpose and without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies, and + that the name of Gray Watson not be used in advertising or publicity + pertaining to distribution of the document or software without specific, + written prior permission. + + Gray Watson makes no representations about the suitability of the + software described herein for any purpose. It is provided ``as is'' + without express or implied warranty. + +The author may be contacted via . + +The Debian packaging is (C) 2005-2007, Daniel Baumann and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- dmalloc-5.5.1.orig/debian/rules +++ dmalloc-5.5.1/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +ver=$(shell dpkg-parsechangelog | sed -ne '/^Version:/s/^.*:[ ]*\([^-]*\).*/\1/p') +ver_major=$(shell dpkg-parsechangelog | sed -ne '/^Version:/s/^.*:[ ]*\([^\.]*\).*/\1/p') + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure patch-stamp + dh_testdir + mv -f configure configure.orig + autoconf + # Configuring package + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --enable-threads --enable-shlib + mv -f configure.orig configure + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Building package + $(MAKE) + -$(MAKE) heavy + -(cd docs && $(MAKE) dmalloc.info ) + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Cleaning package + -$(MAKE) distclean + rm -f docs/dmalloc.info + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installing package + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr + $(MAKE) installinfo prefix=$(CURDIR)/debian/tmp/usr + + # Creating symlinks + -(cd $(CURDIR)/debian/tmp/usr/lib && \ + ln -sf libdmalloc.so.$(ver) libdmalloc.so.$(ver_major) && \ + ln -sf libdmalloc.so.$(ver) libdmalloc.so) + -(cd $(CURDIR)/debian/tmp/usr/lib && \ + ln -sf libdmallocth.so.$(ver) libdmallocth.so.$(ver_major) && \ + ln -sf libdmallocth.so.$(ver) libdmallocth.so) + -(cd $(CURDIR)/debian/tmp/usr/lib && \ + ln -sf libdmalloccxx.so.$(ver) libdmalloccxx.so.$(ver_major) && \ + ln -sf libdmalloccxx.so.$(ver) libdmalloccxx.so) + -(cd $(CURDIR)/debian/tmp/usr/lib && \ + ln -sf libdmallocthcxx.so.$(ver) libdmallocthcxx.so.$(ver_major) && \ + ln -sf libdmallocthcxx.so.$(ver) libdmallocthcxx.so) + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog.1 + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress -Xusr/share/doc/libdmalloc-dev/examples + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- dmalloc-5.5.1.orig/debian/libdmalloc5.shlibs +++ dmalloc-5.5.1/debian/libdmalloc5.shlibs @@ -0,0 +1,4 @@ +libdmalloc 5 libdmalloc5 (>= 5.5.1) +libdmalloccxx 5 libdmalloc5 (>= 5.5.1) +libdmallocth 5 libdmalloc5 (>= 5.5.1) +libdmallocthcxx 5 libdmalloc5 (>= 5.5.1) --- dmalloc-5.5.1.orig/debian/compat +++ dmalloc-5.5.1/debian/compat @@ -0,0 +1 @@ +5 --- dmalloc-5.5.1.orig/debian/libdmalloc-dev.README.Debian +++ dmalloc-5.5.1/debian/libdmalloc-dev.README.Debian @@ -0,0 +1,7 @@ +libdmalloc5 for Debian +---------------------- + +The manual page for dmalloc is based on an older version of the info file, refer +to the info or html documents for uptodate information. + + -- Daniel Baumann Thu, 26 Jul 2005 17:49:00 +0200