commit
2ca794aba9
@ -0,0 +1,28 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := wavpack
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_CHECKSUM := 003c65cb4e29c55011cf8e7b10d69120df5e7f30
|
||||
$(PKG)_SUBDIR := wavpack-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := wavpack-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_URL := http://www.wavpack.com/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://www.wavpack.com/downloads.html' | \
|
||||
grep '<a href="wavpack-.*\.tar\.bz2">' | \
|
||||
head -n 1 | \
|
||||
$(SED) -e 's/^.*<a href="wavpack-\([0-9.]*\)\.tar\.bz2">.*$/\1/'
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./configure \
|
||||
--host='$(TARGET)' \
|
||||
--disable-shared \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--without-iconv \
|
||||
CFLAGS="-DWIN32"
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' SUBDIRS="src include"
|
||||
$(MAKE) -C '$(1)' -j 1 install SUBDIRS="src include"
|
||||
endef
|
@ -0,0 +1,23 @@
|
||||
This file is part of MXE.
|
||||
See index.html for further information.
|
||||
|
||||
This patch has been taken from:
|
||||
https://bugs.xine-project.org/show_bug.cgi?id=494
|
||||
|
||||
diff -urN xine-lib-1.1.21-orig/src/combined/decoder_wavpack.c xine-lib-1.1.21/src/combined/decoder_wavpack.c
|
||||
--- xine-lib-1.1.21-orig/src/combined/decoder_wavpack.c 2010-03-09 23:17:05.000000000 +0100
|
||||
+++ xine-lib-1.1.21/src/combined/decoder_wavpack.c 2013-03-03 17:43:00.000000000 +0100
|
||||
@@ -27,6 +27,13 @@
|
||||
#define LOG_MODULE "decode_wavpack"
|
||||
#define LOG_VERBOSE
|
||||
|
||||
+#ifdef HAVE_ALLOCA_H
|
||||
+#include <alloca.h>
|
||||
+#endif
|
||||
+#ifdef HAVE_MALLOC_H
|
||||
+#include <malloc.h>
|
||||
+#endif
|
||||
+
|
||||
#include "xine_internal.h"
|
||||
#include "attributes.h"
|
||||
#include "bswap.h"
|
Loading…
Reference in new issue