[Pkg-voip-commits] r3816 - in wengophone/trunk/debian: . patches patches/generic

cavedon-guest at alioth.debian.org cavedon-guest at alioth.debian.org
Tue Jul 24 08:27:10 UTC 2007


Author: cavedon-guest
Date: 2007-07-24 08:27:10 +0000 (Tue, 24 Jul 2007)
New Revision: 3816

Added:
   wengophone/trunk/debian/patches/generic/memory-dump-fix-double-dump.patch
   wengophone/trunk/debian/patches/generic/memory-dump-tmp-path.patch
Modified:
   wengophone/trunk/debian/changelog
   wengophone/trunk/debian/patches/series
Log:
Added patches to fix creation of core dumps


Modified: wengophone/trunk/debian/changelog
===================================================================
--- wengophone/trunk/debian/changelog	2007-07-23 16:14:50 UTC (rev 3815)
+++ wengophone/trunk/debian/changelog	2007-07-24 08:27:10 UTC (rev 3816)
@@ -1,12 +1,19 @@
 wengophone (2.1.1.dfsg0-2) UNRELEASED; urgency=low
 
+  [ Marco Nenciarini ]
   * Added Ludovico Cavedon as uploader.
   * Added patch head/phapi-disable-iLBC-codec (stolen from upstream
     svn commit 11646) to make iLBC codec really disabled.
     Closes: 434389
 
- -- Marco Nenciarini <mnencia at debian.org>  Mon, 23 Jul 2007 18:14:19 +0200
+  [ Ludovico Cavedon ]
+  * Added patches:
+    + generic/memory-dump-tmp-path.patch to create core dumps in /tmp
+    + generic/memory-dump-fix-double-dump.patch to avoid creation of two
+      core dumps
 
+ -- Ludovico Cavedon <cavedon at sssup.it>  Tue, 24 Jul 2007 10:24:44 +0200
+
 wengophone (2.1.1.dfsg0-1) unstable; urgency=low
 
   [ Ludovico Cavedon ]

Added: wengophone/trunk/debian/patches/generic/memory-dump-fix-double-dump.patch
===================================================================
--- wengophone/trunk/debian/patches/generic/memory-dump-fix-double-dump.patch	                        (rev 0)
+++ wengophone/trunk/debian/patches/generic/memory-dump-fix-double-dump.patch	2007-07-24 08:27:10 UTC (rev 3816)
@@ -0,0 +1,19 @@
+Index: wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp
+===================================================================
+--- wengophone-2.1.1.dfsg0.orig/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp	2007-07-23 15:06:26.000000000 +0200
++++ wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp	2007-07-23 15:06:46.000000000 +0200
+@@ -25,12 +25,13 @@
+ #include <util/Path.h>
+ 
+ #include <unistd.h>
++#include <stdlib.h>
+ 
+ UNIXMemoryDump::UNIXMemoryDump(const std::string & applicationName, const std::string & revision)
+ 	: MemoryDump(applicationName, revision) {
+ 
+ 	doJob();
+-	abort();
++	exit(1);
+ }
+ 
+ UNIXMemoryDump::~UNIXMemoryDump() {

Added: wengophone/trunk/debian/patches/generic/memory-dump-tmp-path.patch
===================================================================
--- wengophone/trunk/debian/patches/generic/memory-dump-tmp-path.patch	                        (rev 0)
+++ wengophone/trunk/debian/patches/generic/memory-dump-tmp-path.patch	2007-07-24 08:27:10 UTC (rev 3816)
@@ -0,0 +1,13 @@
+Index: wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp
+===================================================================
+--- wengophone-2.1.1.dfsg0.orig/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp	2007-07-23 15:04:39.000000000 +0200
++++ wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp	2007-07-23 15:05:35.000000000 +0200
+@@ -46,7 +46,7 @@
+ 	memoryDumpName += getCurrentDateTime();
+ 	memoryDumpName += ".core";
+ 
+-	std::string memoryDumpFile(Path::getApplicationDirPath());
++	std::string memoryDumpFile("/tmp/");
+ 	memoryDumpFile += memoryDumpName;
+ 
+ 	WriteCoreDump(memoryDumpFile.c_str());

Modified: wengophone/trunk/debian/patches/series
===================================================================
--- wengophone/trunk/debian/patches/series	2007-07-23 16:14:50 UTC (rev 3815)
+++ wengophone/trunk/debian/patches/series	2007-07-24 08:27:10 UTC (rev 3816)
@@ -2,6 +2,8 @@
 head/qobjectthreadsafe-fix-qt42.patch
 generic/cmake-fix-ENABLE_CRASHREPORT.patch
 generic/cmake-static-coredumper.patch
+generic/memory-dump-tmp-path.patch
+generic/memory-dump-fix-double-dump.patch
 generic/portaudio-avoid-unnecessary-inclusion.patch
 generic/desktop-file-update.patch
 debian/remove-extra-copying-file.patch




More information about the Pkg-voip-commits mailing list