Your message dated Sun, 2 Apr 2006 21:44:16 +0200
with message-id <[EMAIL PROTECTED]>
and subject line thy removed
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: thy
Version: 0.9.4-1
Severity: serious
Tags: patch
thy fails to build because it contains a declaration of gz_header that
conflicts with the declaration in /usr/include/zlib.h:
> cc -c -I. -I../../../src -I.. -DPATCHLEVEL=\"4\" -DEXTRAVERSION=\"" Debian
> (i386)"\" -D_GNU_SOURCE=1 -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\"
> -Winline -Wshadow -Wpointer-arith -Wmissing-declarations -Wstrict-prototypes
> -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wchar-subscripts
> -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit
> -Wmissing-braces -Wparentheses -Wswitch -Wunused -g -O2
> -D_FILE_OFFSET_BITS=64 -I../../../lib ../../../src/gzip.c -o gzip.o
> ../../../src/gzip.c:57: error: 'gz_header' redeclared as different kind of
> symbol
> /usr/include/zlib.h:124: error: previous declaration of 'gz_header' was here
> ../../../src/gzip.c: In function 'thy_zlib_send':
> ../../../src/gzip.c:115: warning: pointer targets in passing argument 1 of
> 'compress2' differ in signedness
--
Matt
only in patch2:
unchanged:
--- thy-0.9.4.orig/src/gzip.c
+++ thy-0.9.4/src/gzip.c
@@ -54,7 +54,7 @@
* We are going the easy way: no filename, no timestamp, no
* nothing. Just a plain dumb gzip header.
*/
-static char gz_header[] = {0x1f, 0x8b, Z_DEFLATED, 0, 0, 0, 0, 0, 0, 0x03};
+static char static_gz_header[] = {0x1f, 0x8b, Z_DEFLATED, 0, 0, 0, 0, 0, 0,
0x03};
/** @internal Opaque type for compressed session data.
*/
@@ -118,9 +118,9 @@
/* Construct gzip header */
free (session->body.header.buff);
session->body.header.buff =
- (char *)bhc_malloc (sizeof (gz_header) + 1);
- memcpy (session->body.header.buff, gz_header, sizeof (gz_header));
- session->body.header.size = sizeof (gz_header);
+ (char *)bhc_malloc (sizeof (static_gz_header) + 1);
+ memcpy (session->body.header.buff, static_gz_header, sizeof
(static_gz_header));
+ session->body.header.size = sizeof (static_gz_header);
session->body.header.offset = 0;
/* Construct gzip footer */
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
thy has been removed from Debian because it is unmaintained upstream
and buggy.
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---