libsndfile: Fix assertion failure

Should fix #499.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Timothy Gu 2014-09-01 11:11:03 -07:00
parent 4f9691f84c
commit cbcef2238e
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
This file is part of MXE.
See index.html for further information.
Taken from https://github.com/erikd/libsndfile/pull/76
From 9ce0175df1fcb3db7a63ba8a72712b4676a3af86 Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Mon, 1 Sep 2014 11:05:13 -0700
Subject: [PATCH] configure.ac: Fix detection of MinGW
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
diff --git a/configure.ac b/configure.ac
index 20ba55a..d25201c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,7 +168,7 @@ unset ac_cv_sizeof_off_t
AC_CHECK_SIZEOF(off_t,1) # Fake default value.
case "$host_os" in
- mingw32msvc | mingw32)
+ mingw32*)
TYPEOF_SF_COUNT_T="__int64"
SF_COUNT_MAX="0x7FFFFFFFFFFFFFFFLL"
SIZEOF_SF_COUNT_T=8
--
1.9.1

View File

@ -18,6 +18,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && autoreconf -fi
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--enable-sqlite \