tags 266148 + patch
thanks
On Tue, Sep 20, 2005, Paul Dwerryhouse wrote:
> That sounds like a good idea. I don't suppose you have access to a
> Debian/Alpha machine, do you? There's a bug in Kannel that causes Alpha
> builds to fail, but I don't have any way to try and fix it.
I've built Kannel on escher.debian.org -- an alpha machine -- with the
patch I've sent you (attached again). Please use it with your next
upload (don't forget to update debian/patches/00list).
I did not reproduce the exact build flags you're using in Debian, since
some build-deps where missing, but I achieved a ./configure && make.
Cheers,
--
Loïc Minier <[EMAIL PROTECTED]>
#! /bin/sh /usr/share/dpatch/dpatch-run
## 32_va-start-non-null.dpatch by Loic Minier <Loic Minier <[EMAIL PROTECTED]>>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Compilation fix for the alpha architecture where va_list is a struct
@DPATCH@
diff -urNad kannel-1.4.0~/gwlib/log.c kannel-1.4.0/gwlib/log.c
--- kannel-1.4.0~/gwlib/log.c 2004-08-08 23:46:51.000000000 +0200
+++ kannel-1.4.0/gwlib/log.c 2005-10-16 14:53:51.000000000 +0200
@@ -432,13 +432,8 @@
int translog;
if (level >= sysloglevel && dosyslog) {
- if (args == NULL) {
- strncpy(buf, format, sizeof(buf));
- buf[sizeof(buf) - 1] = '\0';
- } else {
- vsnprintf(buf, sizeof(buf), format, args);
- /* XXX vsnprint not 100% portable */
- }
+ vsnprintf(buf, sizeof(buf), format, args);
+ /* XXX vsnprint not 100% portable */
switch(level) {
case GW_DEBUG: