tag 447369 + patch
thanks

  attached is a patch to fix this ftbfs.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
From 4052e6cf6e01c94a7ab91d946685dce493f39b05 Mon Sep 17 00:00:00 2001
From: Pierre Habouzit <[EMAIL PROTECTED]>
Date: Tue, 27 Nov 2007 17:18:12 +0100
Subject: [PATCH] Work-around FTBFS

Signed-off-by: Pierre Habouzit <[EMAIL PROTECTED]>
---
 src/core/Makefile.am    |    1 +
 src/core/icq-protocol.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index 04c0d4a..6d3025f 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -17,6 +17,7 @@ libicq_core_la_SOURCES = \
        icq-servers.c \
        icq-buddy.c \
        icq-session.c
+libicq_core_la_CFLAGS = -DPACKAGE=\"@[EMAIL PROTECTED]"
 
 noinst_HEADERS = \
        icq.h \
diff --git a/src/core/icq-protocol.c b/src/core/icq-protocol.c
index 14d49d4..df8fb95 100644
--- a/src/core/icq-protocol.c
+++ b/src/core/icq-protocol.c
@@ -200,7 +200,7 @@ static char *encode_login(char *buf, const char *uin, const 
char *passwd)
                buf = encode_passwd(buf, passwd);
        tlv_end(buf, tlv);
        buf = write_tlv(buf, 0x03, 
-                       STR(PACKAGE ", version " IRSSI_VERSION " (irssi icq 
plugin)"));
+                       STR(PACKAGE ", version " PACKAGE_VERSION " (irssi icq 
plugin)"));
        buf = write_tlv(buf, 0x16, STR("\x01\x0a"));
        buf = write_tlv(buf, 0x17, STR("\x00\x04"));
        buf = write_tlv(buf, 0x18, STR("\x00\x3c"));
-- 
1.5.3.6.2040.g15e6

Attachment: pgp6uqg0sBZh5.pgp
Description: PGP signature

Reply via email to