[Pkg-dspam-commits] [pkg-dspam-commits] r150 - in trunk/debian: . patches

Kurt B. Kaiser kbk-guest at alioth.debian.org
Mon Feb 25 16:53:08 UTC 2008


Author: kbk-guest
Date: Mon Feb 25 16:53:07 2008
New Revision: 150

Log:
Create dpatch to resolve 463362: ldap_init result implicitly converted
to pointer.


Added:
   trunk/debian/patches/use_ldap_deprecated.dpatch   (contents, props changed)
Modified:
   trunk/debian/changelog
   trunk/debian/patches/00list

Modified: trunk/debian/changelog
==============================================================================
--- trunk/debian/changelog	(original)
+++ trunk/debian/changelog	Mon Feb 25 16:53:07 2008
@@ -5,8 +5,9 @@
   * Cleanup manpages: remove 'n3' typos; fix unescaped minus signs.
   * Remove obsolete Suggests: from dspam-webfrontend, make it Priority: extra.
   * Move libdspam7-dev to Section: mail to kill the override disparity.
+  * ldap_init result was implicitly converted to pointer. (Closes: #463362)
 
- -- Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>  Sun, 24 Feb 2008 12:34:44 -0500
+ -- Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>  Mon, 25 Feb 2008 10:02:13 -0500
 
 dspam (3.6.8-6) unstable; urgency=low
 

Modified: trunk/debian/patches/00list
==============================================================================
--- trunk/debian/patches/00list	(original)
+++ trunk/debian/patches/00list	Mon Feb 25 16:53:07 2008
@@ -21,3 +21,4 @@
 fix-tag-class.dpatch
 fix-manpage-libdspam.dpatch
 cleanup-manpages.dpatch
+use_ldap_deprecated.dpatch

Added: trunk/debian/patches/use_ldap_deprecated.dpatch
==============================================================================
--- (empty file)
+++ trunk/debian/patches/use_ldap_deprecated.dpatch	Mon Feb 25 16:53:07 2008
@@ -0,0 +1,19 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## use_ldap_deprecated.dpatch by Kurt B. Kaiser <kbk at shore.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch from Bug #463362, dann frazier <dannf at debian.org>
+## DP: This is a stop-gap; modify dspam to use the new ldap interface!
+
+ at DPATCH@
+diff -urNad dspam~/src/ldap_client.c dspam/src/ldap_client.c
+--- dspam~/src/ldap_client.c	2006-05-13 08:17:30.000000000 -0400
++++ dspam/src/ldap_client.c	2008-02-25 09:49:11.000000000 -0500
+@@ -26,6 +26,7 @@
+ 
+ #ifdef USE_LDAP
+ 
++#define LDAP_DEPRECATED 1
+ #include <ldap.h>
+ #include <stdio.h>
+ #include <stdlib.h>



More information about the Pkg-dspam-commits mailing list