gtkpod fails to build in debian, patch

"Brent S. Elmer Ph.D." <[email protected]> Wed, 03 Oct 2012 11:31:59 -0400
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <1349278319.23229.0.camel@belmer>
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