Browse Source

icecast: Fix configure if both vorbis and tremor host packages installed

Signed-off-by: Ted Hess <thess@kitschensync.net>
lilik-openwrt-22.03
Ted Hess 8 years ago
parent
commit
c82573e64e
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      multimedia/icecast/Makefile
  2. +1
    -1
      multimedia/icecast/patches/001-icecast-2.4.0-tremor.patch

+ 6
- 0
multimedia/icecast/Makefile View File

@ -55,6 +55,12 @@ CONFIGURE_ARGS+= \
--with-xslt-config="$(STAGING_DIR)/usr/bin/xslt-config"
# Manually edit configure in case both vorbis and tremor host packages are installed
define Build/Configure
$(SED) 's,-lvorbis -lm,-lvorbisidec -logg ,g' $(PKG_BUILD_DIR)/configure
$(call Build/Configure/Default)
endef
define Package/icecast/install
$(INSTALL_DIR) $(1)/etc
$(CP) $(PKG_INSTALL_DIR)/etc/icecast.xml $(1)/etc/


+ 1
- 1
multimedia/icecast/patches/001-icecast-2.4.0-tremor.patch View File

@ -21,7 +21,7 @@
return NULL;
}
+/* Some additional functions from vorbis missing from tremore */
+/* Some additional functions from vorbis missing from tremor */
+
+static void _v_writestring(oggpack_buffer *o,char *s, int bytes)
+{


Loading…
Cancel
Save