$OpenBSD: patch-src_plugin_c,v 1.1 2009/01/30 22:54:59 landry Exp $
--- src/plugin.c.orig	Fri Jan 30 18:14:56 2009
+++ src/plugin.c	Fri Jan 30 18:16:49 2009
@@ -93,7 +93,7 @@ extern GladeXML *pl3_xml;
 static void magnatune_buy_album()
 {
 	gchar *uri = "http://www.magnatune.com/";
-	gchar *path = g_strdup_printf("%s%c%s '%s'",DATA_DIR,G_DIR_SEPARATOR,"xdg-open",uri);
+	gchar *path = g_strdup_printf("${LOCALBASE}/bin/xdg-open '%s'",uri);
 	g_spawn_command_line_async(path, NULL);
 	g_free(path);
 }
