Re: gtkpod fails to build in debian, patch

phantomjinx <[email protected]> Wed, 03 Oct 2012 18:11:33 +0100
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <[email protected]>
"Brent S. Elmer Ph.D." <[email protected]> wrote:

gtkpod fails to build in debian testing. It gives the following error:

clarity_cover.c:244:9: error: format not a string literal and no format
arguments [-Werror=format-security]

I fixed the problem like this:

gtkpod-2.1.2/plugins/clarity/clarity_cover.c

// Set cover artwork
gtk_clutter_texture_set_from_pixbuf
(GTK_CLUTTER_TEXTURE(priv->texture), item->albumart, &error);
if (error) {
+ g_warning("%s", error->message);
- g_warning(error->message);
g_error_free(error);
return;
}

After the fix gtkpod compiled.



_____________________________________________

Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_____________________________________________

Gtkpod-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-devel


Thanks. Little perplexed why that would be a compile error ...

PGR

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev

_______________________________________________
Gtkpod-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-devel