From 7c520cd3ad42f5d94a9888bb9b3db7c79b6fd94f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 2 Jun 2009 22:09:53 +0200 Subject: fix regressions for allconfig alix1c glibc target --- package/tmsnc/patches/patch-src_misc_c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/tmsnc/patches/patch-src_misc_c (limited to 'package/tmsnc/patches/patch-src_misc_c') diff --git a/package/tmsnc/patches/patch-src_misc_c b/package/tmsnc/patches/patch-src_misc_c new file mode 100644 index 000000000..c3789a5a9 --- /dev/null +++ b/package/tmsnc/patches/patch-src_misc_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- tmsnc-0.3.2.orig/src/misc.c 2006-10-17 13:09:56.000000000 +0200 ++++ tmsnc-0.3.2/src/misc.c 2009-06-02 01:16:30.000000000 +0200 +@@ -126,7 +126,7 @@ UI_check_for_updates(void) + "Host: tmsnc.sourceforge.net\r\n\r\n", 59, 0) < 0) + UI_err_exit("Couldn't send HTTP request"); + +- while (getline(buf, sizeof(buf) - 1, sd) > 0) { ++ while (getline2(buf, sizeof(buf) - 1, sd) > 0) { + buf[strlen(buf) - 1] = 0x0; + if (strncmp(buf, "Version", 7) == 0) { + if (strcmp(&buf[9], VERSION) == 0) { -- cgit v1.2.3