Bug#287388: libofx-dev: Please consider using pkgconfig

2004-12-27 Thread Benjamin Drieu
Package: libofx-dev
Version: 0.6.6-2.1
Severity: wishlist
Tags: patch

Using pkgconfig would be a good idea for libofx, since this would ease
the work of developers of programs that rely on libofx.  Moreover,
libofx does not provide easy way to depend on a specific version, this
would help to do versioned dependencies.

Here is a sample libofx.pc (for 0.7.0) :

===
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libofx
Description: Library to support Open Financial Exchange
Version: 0.7.0
Libs: -L${libdir} -lofx
Cflags: -I${includedir}/libofx
===

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26.udma
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages libofx-dev depends on:
ii  libc6-dev   2.3.2.ds1-13 GNU C Library: Development Librari
ii  libofx0c102 0.6.6-2.1library to support Open Financial 
ii  libosp-dev  1.5.1.0-2OpenJade group's SP suite, develop

-- no debconf information




Bug#287420: libjsw: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment

2004-12-27 Thread Andreas Jochens
Package: libjsw
Severity: normal
Tags: patch

When building 'libjsw' on amd64 with gcc-4.0,
I get the following error:

guiutils.c:2162: error: invalid lvalue in assignment
guiutils.c: In function 'GUIBannerCreate':
guiutils.c:3041: warning: cast to pointer from integer of different size
guiutils.c: In function 'GUIComboCreate':
guiutils.c:3267: warning: cast to pointer from integer of different size
guiutils.c: In function 'GUIComboAddItem':
guiutils.c:3382: warning: cast from pointer to integer of different size
guiutils.c: In function 'GUIComboSetList':
guiutils.c:3556: warning: cast from pointer to integer of different size
guiutils.c:3607: warning: cast from pointer to integer of different size
guiutils.c: In function 'GUIPullOutCreateH':
guiutils.c:4112: warning: cast to pointer from integer of different size
guiutils.c:4113: warning: cast to pointer from integer of different size
guiutils.c: In function 'GUIPullOutPullOut':
guiutils.c:4255: warning: cast from pointer to integer of different size
guiutils.c: In function 'GUIPullOutPushIn':
guiutils.c:4301: warning: cast from pointer to integer of different size
make[1]: *** [guiutils.o] Error 1
make[1]: Leaving directory `/libjsw-1.5.0/jscalibrator'
make: *** [build-stamp] Error 2

With the attached patch 'libjsw' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/libjsw-1.5.0/jscalibrator/guiutils.c 
./jscalibrator/guiutils.c
--- ../tmp-orig/libjsw-1.5.0/jscalibrator/guiutils.c2001-11-06 
00:55:11.0 +0100
+++ ./jscalibrator/guiutils.c   2004-12-27 16:56:46.035960624 +0100
@@ -2159,7 +2159,7 @@
 {
GtkWidget *w;
 
-gui_tooltips = (GtkTooltips *)w = gtk_tooltips_new();
+gui_tooltips = w = gtk_tooltips_new();
if(w != NULL)
 {
 gtk_tooltips_enable(GTK_TOOLTIPS(w));