$NetBSD: patch-aa,v 1.2 2005/12/11 20:29:12 joerg Exp $ --- src/liveice.c.orig 2000-05-14 19:42:20.000000000 +0000 +++ src/liveice.c @@ -27,8 +27,6 @@ -extern int errno; - static sckt *liveice_sp=NULL; static gboolean config_read = FALSE; @@ -167,7 +165,7 @@ static void init(void) if(!xmms_cfg_read_string(cfg, "LiveIce", "description", &lv_conf.description)) lv_conf.description=g_strdup("Music from XMMS"); if(!xmms_cfg_read_string(cfg, "LiveIce", "encoder_path", &lv_conf.encoder_path)) - lv_conf.encoder_path=g_strdup("lame"); + lv_conf.encoder_path=g_strdup(LAME); if(!xmms_cfg_read_string(cfg, "LiveIce", "remote_dumpfile", &lv_conf.remote_dumpfile)) lv_conf.encoder_path=g_strdup("liveice_xmms.mp3"); @@ -182,7 +180,7 @@ static void init(void) lv_conf.genre=g_strdup("live"); lv_conf.url=g_strdup("http://www.icecast.org"); lv_conf.description=g_strdup("Music from XMMS"); - lv_conf.encoder_path=g_strdup("lame"); + lv_conf.encoder_path=g_strdup(LAME); lv_conf.remote_dumpfile=g_strdup("liveice_xmms.mp3"); } g_free(filename);