Package: muine Version: 0.6.3-8 Severity: normal Tags: patch 'muine' fails to build on amd64/unstable with gcc-4.0, I get the following error:
With the attached patch 'muine' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/muine-0.6.3/debian/control ./debian/control --- ../tmp-orig/muine-0.6.3/debian/control 2005-06-04 14:06:24.082494485 +0200 +++ ./debian/control 2005-06-04 10:36:28.000000000 +0200 @@ -2,7 +2,7 @@ Section: gnome Priority: optional Maintainer: Dave Beckett <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 4.1.87), mono-jit [i386 powerpc], mono-mint [!i386 !powerpc], mono-mcs (>= 1.0) | c-sharp-compiler, mono-utils (>= 1.0-2), libgtk-cil (>= 1.0), libgconf-cil (>= 1.0), libgnome-cil (>= 1.0), libglade-cil (>= 1.0), libgtk2.0-dev (>= 2.2.0), libgdbm-dev (>= 1.8.0), libogg-dev (>= 1.0), libvorbis-dev (>= 1.0), libid3tag0-dev (>= 0.15.1b-3), libflac-dev (>= 1.1.1-3), autotools-dev, cdbs, libmono-dev (>= 1.0), libgconf2-dev (>= 2.4.0), libgnomevfs2-dev (>= 2.4.0), libgnome2-dev (>= 2.4.0), libgstreamer0.8-dev (>= 0.8.0), libgstreamer-gconf0.8-dev (>= 0.8.0), libgstreamer-plugins0.8-dev (>= 0.8.0), intltool +Build-Depends: debhelper (>= 4.1.87), mono-jit [amd64 i386 powerpc], mono-mint [!amd64 !i386 !powerpc], mono-mcs (>= 1.0) | c-sharp-compiler, mono-utils (>= 1.0-2), libgtk-cil (>= 1.0), libgconf-cil (>= 1.0), libgnome-cil (>= 1.0), libglade-cil (>= 1.0), libgtk2.0-dev (>= 2.2.0), libgdbm-dev (>= 1.8.0), libogg-dev (>= 1.0), libvorbis-dev (>= 1.0), libid3tag0-dev (>= 0.15.1b-3), libflac-dev (>= 1.1.1-3), autotools-dev, cdbs, libmono-dev (>= 1.0), libgconf2-dev (>= 2.4.0), libgnomevfs2-dev (>= 2.4.0), libgnome2-dev (>= 2.4.0), libgstreamer0.8-dev (>= 0.8.0), libgstreamer-gconf0.8-dev (>= 0.8.0), libgstreamer-plugins0.8-dev (>= 0.8.0), intltool Standards-Version: 3.6.1.0 Package: muine diff -urN ../tmp-orig/muine-0.6.3/debian/rules ./debian/rules --- ../tmp-orig/muine-0.6.3/debian/rules 2005-06-04 14:06:24.082494485 +0200 +++ ./debian/rules 2005-06-04 14:06:19.951306850 +0200 @@ -15,7 +15,7 @@ mkdir -p $(MONO_SHARED_DIR)/.wapi common-binary-predeb-arch:: - dh_netdeps +# dh_netdeps sed -e 's/ libglib2[^,]*,//' -e 's/ libgnomevfs2[^,]*,//' debian/muine.substvars > debian/muine.substvars.new && mv debian/muine.substvars.new debian/muine.substvars common-binary-post-install-arch:: diff -urN ../tmp-orig/muine-0.6.3/libmuine/bacon-message-connection.c ./libmuine/bacon-message-connection.c --- ../tmp-orig/muine-0.6.3/libmuine/bacon-message-connection.c 2004-01-27 15:28:42.000000000 +0100 +++ ./libmuine/bacon-message-connection.c 2005-06-04 12:13:59.743463262 +0200 @@ -63,7 +63,8 @@ { BaconMessageConnection *conn = (BaconMessageConnection *)data; char *message, *subs, buf[BUF_SIZE]; - int cd, alen, rc, offset; + int cd, rc, offset; + unsigned alen; gboolean finished; message = NULL; diff -urN ../tmp-orig/muine-0.6.3/libmuine/db.c ./libmuine/db.c --- ../tmp-orig/muine-0.6.3/libmuine/db.c 2004-04-14 21:39:53.000000000 +0200 +++ ./libmuine/db.c 2005-06-04 12:13:20.243224313 +0200 @@ -339,8 +339,8 @@ { GString *string = (GString *) p; GdkPixdata *pixdata; - int len = 0; - char *str; + unsigned len = 0; + unsigned char *str; pixdata = g_new0 (GdkPixdata, 1); gdk_pixdata_from_pixbuf (pixdata, pixbuf, FALSE); diff -urN ../tmp-orig/muine-0.6.3/libmuine/metadata.c ./libmuine/metadata.c --- ../tmp-orig/muine-0.6.3/libmuine/metadata.c 2004-02-27 22:11:01.000000000 +0100 +++ ./libmuine/metadata.c 2005-06-04 12:12:18.318394114 +0200 @@ -87,7 +87,7 @@ * of the audio file in milliseconds, * represented as a numeric string." */ - time = atol (latin1); + time = atol ((char*)latin1); g_free (latin1); if (time > 0) @@ -268,10 +268,10 @@ if (utf8 == NULL) return NULL; - if (!g_utf8_validate (utf8, -1, NULL)) + if (!g_utf8_validate ((char*)utf8, -1, NULL)) return NULL; - return utf8; + return (char*)utf8; } static Metadata * -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]