Package: hardinfo
Version: 0.3.7pre-1
Severity: serious
Tags: patch

When building 'hardinfo' on unstable,
I get the following error:

gcc -Wall -g -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-O6    -c -o intl.o intl.c
intl.c:49: error: syntax error before '{' token

With the attached patch 'hardinfo' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/hardinfo-0.3.7pre/intl.c ./intl.c
--- ../tmp-orig/hardinfo-0.3.7pre/intl.c        2004-02-29 01:05:00.000000000 
+0000
+++ ./intl.c    2005-09-01 11:16:04.000000000 +0000
@@ -45,7 +45,7 @@
  * but slower :P
  */
 const gchar *
-intl_translate(const gchar * string, const gchar * source) __THROW
+intl_translate(const gchar * string, const gchar * source)
 {
        FILE *file;
        gchar buffer[256], *keyname, *lang = NULL, *langenv = NULL;
diff -urN ../tmp-orig/hardinfo-0.3.7pre/intl.h ./intl.h
--- ../tmp-orig/hardinfo-0.3.7pre/intl.h        2003-06-24 13:03:48.000000000 
+0000
+++ ./intl.h    2005-09-01 11:16:19.000000000 +0000
@@ -4,7 +4,7 @@
 #include "config.h"
 
 void intl_init(void);
-const gchar *intl_translate(const gchar *string, const gchar *source) __THROW;
+const gchar *intl_translate(const gchar *string, const gchar *source);
 
 #define _(x) (intl_translate(x, __FILE__))
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to