Code:
diff -Naur '--exclude=.*' make/icecast.orig/Config.in make/icecast/Config.in
--- make/icecast.orig/Config.in 1970-01-01 01:00:00.000000000 +0100
+++ make/icecast/Config.in 2012-01-19 16:33:22.000000000 +0100
@@ -0,0 +1,21 @@
+config FREETZ_PACKAGE_ICECAST
+ bool "icecast 2.3.2 (binary only)"
+ select FREETZ_PACKAGE_XSLTPROC
+ select FREETZ_LIB_libcurl
+ select FREETZ_LIB_libxslt
+ select FREETZ_LIB_libxml2
+ select FREETZ_LIB_libxml2_WITH_HTML
+ select FREETZ_LIB_libogg
+ select FREETZ_LIB_libvorbis
+ select FREETZ_LIB_libshout
+ select FREETZ_LIB_libintl
+ select FREETZ_LIB_libgcrypt
+ default n
+ help
+ icecast is a streaming mp3 audio server. icecast provides
+ nearly all the functionality of the Shoutcast server. It
+ will accept encoding streams from encoders like winamp,
+ shout and ices. It can also add itself to a directory
+ server such as our own icecast.linuxpower.org or Nullsoft's
+ yp.shoutcast.com.
+ WWW: http://www.icecast.org/
diff -Naur '--exclude=.*' make/icecast.orig/external.files make/icecast/external.files
--- make/icecast.orig/external.files 1970-01-01 01:00:00.000000000 +0100
+++ make/icecast/external.files 2010-04-23 20:46:39.000000000 +0200
@@ -0,0 +1 @@
+[ "$EXTERNAL_FREETZ_PACKAGE_ICECAST" == "y" ] && EXTERNAL_FILES+=" /usr/bin/icecast"
diff -Naur '--exclude=.*' make/icecast.orig/external.in make/icecast/external.in
--- make/icecast.orig/external.in 1970-01-01 01:00:00.000000000 +0100
+++ make/icecast/external.in 2010-04-23 20:46:18.000000000 +0200
@@ -0,0 +1,8 @@
+config EXTERNAL_FREETZ_PACKAGE_ICECAST
+ depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_ICECAST
+ bool "icecast"
+ default n
+ help
+ externals these file(s):
+ /usr/bin/icecast
+
diff -Naur '--exclude=.*' make/icecast.orig/icecast.mk make/icecast/icecast.mk
--- make/icecast.orig/icecast.mk 1970-01-01 01:00:00.000000000 +0100
+++ make/icecast/icecast.mk 2012-01-19 16:22:45.000000000 +0100
@@ -0,0 +1,45 @@
+$(call PKG_INIT_BIN, 2.3.2)
+$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
+$(PKG)_SOURCE_MD5:=ff516b3ccd2bcc31e68f460cd316093f
+$(PKG)_SITE:=http://downloads.xiph.org/releases/$(pkg)
+$(PKG)_BINARY:=$($(PKG)_DIR)/src/$(pkg)
+$(PKG)_TARGET_BINARY:=$($(PKG)_DEST_DIR)/usr/bin/$(pkg)
+
+$(PKG)_CONFIGURE_PRE_CMDS += $(call PKG_PREVENT_RPATH_HARDCODING,./configure)
+$(PKG)_DEPENDS_ON := curl xsltproc libxml2 libogg libvorbis libgcrypt gettext libshout
+$(PKG)_LIBS := -logg -lvorbis -lcurl -lxslt -lxml2 -lgcrypt -lintl -lshout
+
+$(PKG)_CONFIGURE_OPTIONS += --disable-largefile
+$(PKG)_CONFIGURE_OPTIONS += --enable-yp
+$(PKG)_CONFIGURE_OPTIONS += --with-curl="yes"
+$(PKG)_CONFIGURE_OPTIONS += --with-curl-config="$(TARGET_TOOLCHAIN_STAGING_DIR)/bin/"
+$(PKG)_CONFIGURE_OPTIONS += --with-ogg="$(TARGET_TOOLCHAIN_STAGING_DIR)/usr"
+$(PKG)_CONFIGURE_OPTIONS += --with-speex="no"
+$(PKG)_CONFIGURE_OPTIONS += --with-theora="no"
+$(PKG)_CONFIGURE_OPTIONS += --with-xslt-config="$(TARGET_TOOLCHAIN_STAGING_DIR)/bin/"
+$(PKG)_CONFIGURE_OPTIONS += --with-libiconv="$(TARGET_TOOLCHAIN_STAGING_DIR)/usr"
+
+$(PKG_SOURCE_DOWNLOAD)
+$(PKG_UNPACKED)
+$(PKG_CONFIGURED_CONFIGURE)
+
+$($(PKG)_BINARY): $($(PKG)_DIR)/.configured
+ $(SUBMAKE1) -C $(ICECAST_DIR) \
+ AM_LDFLAGS="-L$(TARGET_TOOLCHAIN_STAGING_DIR)/lib" \
+ LIBS="$(ICECAST_LIBS)"
+
+$($(PKG)_TARGET_BINARY): $($(PKG)_BINARY)
+ $(INSTALL_BINARY_STRIP)
+
+$(pkg):
+
+$(pkg)-precompiled: $($(PKG)_TARGET_BINARY)
+
+$(pkg)-clean:
+ -$(SUBMAKE1) -C $(ICECAST_DIR) clean
+ $(RM) $(ICECAST_DIR)/.configured
+
+$(pkg)-uninstall:
+ $(RM) $(ICECAST_TARGET_BINARY)
+
+$(PKG_FINISH)
diff -Naur '--exclude=.*' make/icecast.orig/Makefile.in make/icecast/Makefile.in
--- make/icecast.orig/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+++ make/icecast/Makefile.in 2010-04-23 20:45:38.000000000 +0200
@@ -0,0 +1,3 @@
+ifeq ($(strip $(FREETZ_PACKAGE_ICECAST)),y)
+PACKAGES+=icecast
+endif
diff -Naur '--exclude=.*' make/icecast.orig/patches/100_configure.patch make/icecast/patches/100_configure.patch
--- make/icecast.orig/patches/100_configure.patch 1970-01-01 01:00:00.000000000 +0100
+++ make/icecast/patches/100_configure.patch 2010-04-23 21:23:08.000000000 +0200
@@ -0,0 +1,11 @@
+--- configure 2010-04-23 21:20:07.000000000 +0200
++++ configure 2010-04-23 21:22:03.000000000 +0200
+@@ -24195,7 +24195,7 @@
+ echo $ECHO_N "checking for libcurl... $ECHO_C" >&6; }
+ if test "$curl_ok" = "yes"
+ then
+- if test "$cross_compiling" = yes; then
++ if test "$cross_compiling" = no; then
+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+ See \`config.log' for more details." >&5
+ echo "$as_me: error: cannot run test program while cross compiling
diff -Naur '--exclude=.*' make/icecast.orig/patches/110_fix_memory_leak.patch make/icecast/patches/110_fix_memory_leak.patch
--- make/icecast.orig/patches/110_fix_memory_leak.patch 1970-01-01 01:00:00.000000000 +0100
+++ make/icecast/patches/110_fix_memory_leak.patch 2012-01-18 22:44:28.000000000 +0100
@@ -0,0 +1,16 @@
+Index: icecast2-2.3.2/src/stats.c
+===================================================================
+--- src/stats.c.orig 2009-12-09 09:53:27.000000000 -0600
++++ src/stats.c 2009-12-09 09:54:16.000000000 -0600
+@@ -973,7 +973,11 @@
+ if (event->source)
+ {
+ if (show_mount && strcmp (event->source, show_mount) != 0)
++ {
++ xmlFree (value);
++ xmlFree (name);
+ break;
++ }
+ srcnode = _find_xml_node(event->source, &src_nodes, node);
+ }
+ else
diff -Naur '--exclude=.*' make/icecast.orig/patches/120_httpp_c.patch make/icecast/patches/120_httpp_c.patch
--- make/icecast.orig/patches/120_httpp_c.patch 1970-01-01 01:00:00.000000000 +0100
+++ make/icecast/patches/120_httpp_c.patch 2012-01-18 23:20:54.000000000 +0100
@@ -0,0 +1,46 @@
+--- src/httpp/httpp.c.orig 2012-01-18 23:17:40.000000000 +0100
++++ src/httpp/httpp.c 2012-01-18 23:18:36.000000000 +0100
+@@ -88,7 +88,7 @@
+
+ return lines;
+ }
+-
++/*
+ static void parse_headers(http_parser_t *parser, char **line, int lines)
+ {
+ int i,l;
+@@ -96,7 +96,6 @@
+ char *name = NULL;
+ char *value = NULL;
+
+- /* parse the name: value lines. */
+ for (l = 1; l < lines; l++) {
+ where = 0;
+ whitespace = 0;
+@@ -128,7 +127,7 @@
+ }
+ }
+ }
+-
++*/
+ int httpp_parse_response(http_parser_t *parser, const char *http_data, unsigned long len, const char *uri)
+ {
+ char *data;
+@@ -182,7 +181,7 @@
+ httpp_setvar(parser, HTTPP_VAR_URI, uri);
+ httpp_setvar(parser, HTTPP_VAR_REQ_TYPE, "NONE");
+
+- parse_headers(parser, line, lines);
++ /* parse_headers(parser, line, lines);*/
+
+ free(data);
+
+@@ -419,7 +418,7 @@
+ return 0;
+ }
+
+- parse_headers(parser, line, lines);
++ /* parse_headers(parser, line, lines);*/
+
+ free(data);
+
Nach c&p des Patches, musst Du diesen oder das Ergebnis des Patches, evtl. neu formatieren.