From a6292ba2eb1097364560b16bdb1df313bc1d9004 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 2 Feb 2011 02:36:56 +0000 Subject: [PATCH] icecast: fix build, properly use libvorbisidec SVN-Revision: 25306 --- net/icecast/Makefile | 4 ++-- net/icecast/patches/002-curl_config.patch | 12 ------------ net/icecast/patches/010-fix_libcurl_test_crap.patch | 11 +++++++++++ 3 files changed, 13 insertions(+), 14 deletions(-) delete mode 100644 net/icecast/patches/002-curl_config.patch create mode 100644 net/icecast/patches/010-fix_libcurl_test_crap.patch diff --git a/net/icecast/Makefile b/net/icecast/Makefile index 6d47962047..2aad28bc91 100644 --- a/net/icecast/Makefile +++ b/net/icecast/Makefile @@ -53,12 +53,12 @@ define Build/Configure BUILD_DIR="$(PKG_BUILD_DIR)" \ V=99 \ compile - $(SED) 's,-lvorbisidec,$(TREMOR_DIR)/lib/libvorbisidec.a,g' $(PKG_BUILD_DIR)/configure + $(SED) 's,-lvorbis ,$(TREMOR_DIR)/lib/libvorbisidec.a -logg ,g' $(PKG_BUILD_DIR)/configure $(call Build/Configure/Default, \ --enable-yp \ --with-curl="yes" \ --with-curl-config="$(STAGING_DIR)/usr/bin/curl-config" \ - --with-ogg="$(TREMOR_DIR)" \ + --with-ogg="$(STAGING_DIR)/usr" \ --with-speex="no" \ --with-theora="no" \ --with-vorbis="$(TREMOR_DIR)" \ diff --git a/net/icecast/patches/002-curl_config.patch b/net/icecast/patches/002-curl_config.patch deleted file mode 100644 index c193aa90f7..0000000000 --- a/net/icecast/patches/002-curl_config.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- icecast-2.3.2/configure 2008-09-29 20:11:37.000000000 +0200 -+++ icecast-2.3.2.new/configure 2008-09-29 20:12:00.000000000 +0200 -@@ -24198,8 +24198,7 @@ - { { 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 --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } -+See \`config.log' for more details." >&2;} } - else - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ diff --git a/net/icecast/patches/010-fix_libcurl_test_crap.patch b/net/icecast/patches/010-fix_libcurl_test_crap.patch new file mode 100644 index 0000000000..15bb53483a --- /dev/null +++ b/net/icecast/patches/010-fix_libcurl_test_crap.patch @@ -0,0 +1,11 @@ +--- a/m4/xiph_curl.m4 ++++ b/m4/xiph_curl.m4 +@@ -52,7 +52,7 @@ + AC_MSG_CHECKING(for libcurl) + if test "$curl_ok" = "yes" + then +- AC_RUN_IFELSE(AC_LANG_SOURCE([ ++ AC_COMPILE_IFELSE(AC_LANG_SOURCE([ + #include + int main() + { -- 2.30.2