Package: html-xml-utils
Version: 5.7-1
Severity: serious
Tags: patch sid
User: debian-powerpc...@breakpoint.cc
Usertags: powerpcspe

Your package FTBFS on powerpc [0], s390 [1] and armel. A patch is
attached to fix this issue.

[0] 
https://buildd.debian.org/fetch.cgi?pkg=html-xml-utils;ver=5.7-1;arch=powerpc;stamp=1273702736
[1] 
https://buildd.debian.org/fetch.cgi?pkg=html-xml-utils;ver=5.7-1;arch=s390;stamp=1273702569
[2] 
https://buildd.debian.org/fetch.cgi?pkg=html-xml-utils;ver=5.7-1;arch=armel;stamp=1273863348

Sebastian
>From 1070038659a2bc8cdef8b3c847287e5281060ef5 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bige...@linutronix.de>
Date: Thu, 10 Jun 2010 18:37:49 +0200
Subject: [PATCH] hxindex: option is int not char

the return value of getopt is int not char. The difference here is that
char is signed char on x86 but unsigned char on powerpc for instance.
This leads to the following compile error if compiled with -Wextra:

| hxindex.c:777: warning: comparison is always true due to limited range  of 
data type

because c can never get -1, it can however grow to 255 and the options
will never be parsed properly.

Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de>
---
 hxindex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hxindex.c b/hxindex.c
index 47273be..b75c583 100644
--- a/hxindex.c
+++ b/hxindex.c
@@ -758,7 +758,7 @@ int main(int argc, char *argv[])
   Boolean write = True;
   Indexterm termtree = NULL;   /* Sorted tree of terms */
   string secno;
-  char c;
+  int c;
 
   /* Bind the parser callback routines to our handlers */
   set_error_handler(handle_error);
-- 
1.5.6.5

Reply via email to