[Pkg-voip-commits] r4495 - in /openser/trunk/debian: changelog patches/00list patches/01_psql_connect.dpatch

jblache at alioth.debian.org jblache at alioth.debian.org
Wed Sep 12 10:10:53 UTC 2007


Author: jblache
Date: Wed Sep 12 10:10:53 2007
New Revision: 4495

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4495
Log:
Fix postgresql failure.

Added:
    openser/trunk/debian/patches/01_psql_connect.dpatch   (with props)
Modified:
    openser/trunk/debian/changelog
    openser/trunk/debian/patches/00list

Modified: openser/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/openser/trunk/debian/changelog?rev=4495&op=diff
==============================================================================
--- openser/trunk/debian/changelog (original)
+++ openser/trunk/debian/changelog Wed Sep 12 10:10:53 2007
@@ -1,13 +1,15 @@
-openser (1.2.2-2) UNRELEASED; urgency=low
-
-  * NOT RELEASED YET
+openser (1.2.2-2) unstable; urgency=low
+
+  [ Julien BLACHE ]
+  * debian/patches/01_psql_connect.dpatch:
+    + Added; Fix postgresql failure, from SVN (closes: #441960).
 
   [ Kilian Krause ]
   * Add dpkg-dev (>= 1.13.19) to Build-Depends for binary:Version
   * Update Maintainer to Debian VoIP Team
   * Add myself to Uploaders.
 
- -- Kilian Krause <kilian at debian.org>  Mon, 10 Sep 2007 22:26:43 +0200
+ -- Julien BLACHE <jblache at debian.org>  Wed, 12 Sep 2007 12:09:35 +0200
 
 openser (1.2.2-1) unstable; urgency=low
 

Modified: openser/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-voip/openser/trunk/debian/patches/00list?rev=4495&op=diff
==============================================================================
--- openser/trunk/debian/patches/00list (original)
+++ openser/trunk/debian/patches/00list Wed Sep 12 10:10:53 2007
@@ -1,3 +1,4 @@
+01_psql_connect
 10_no_lib64_on_64_bits
 11_always_smp
 

Added: openser/trunk/debian/patches/01_psql_connect.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/openser/trunk/debian/patches/01_psql_connect.dpatch?rev=4495&op=file
==============================================================================
--- openser/trunk/debian/patches/01_psql_connect.dpatch (added)
+++ openser/trunk/debian/patches/01_psql_connect.dpatch Wed Sep 12 10:10:53 2007
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_psql_connect.dpatch by  <jblache at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix postgresql connection failures, from SVN.
+
+ at DPATCH@
+diff -urNad openser-1.2.2~/modules/postgres/db_res.c openser-1.2.2/modules/postgres/db_res.c
+--- openser-1.2.2~/modules/postgres/db_res.c	2007-08-16 16:23:05.000000000 +0200
++++ openser-1.2.2/modules/postgres/db_res.c	2007-09-12 12:07:34.373050965 +0200
+@@ -572,6 +572,7 @@
+ 	 * If this is not done, a memory leak will happen.
+ 	 */
+ 	for (col = 0; col < ROW_N(_row); col++) {
++	  _val = &(ROW_VALUES(_row)[col]);
+           switch (VAL_TYPE(_val)) {
+             case DB_STRING:
+               LOG(L_DBG, "PG[free_row]: %p=pkg_free() VAL_STRING[%d]\n", (char *)VAL_STRING(_val), col);

Propchange: openser/trunk/debian/patches/01_psql_connect.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-voip-commits mailing list