Commit 2f19e4f4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: fix mpg123 for Android

parent f061e189
--- mpg123/configure.ac 2015-08-12 07:38:31.000000000 +0200
+++ mpg123.old/configure.ac 2015-12-02 14:26:55.303304758 +0100
@@ -1007,6 +1007,7 @@
AC_CHECK_SIZEOF(size_t,4)
AC_CHECK_SIZEOF(ssize_t,4)
AC_CHECK_SIZEOF(off_t,4)
+AC_CHECK_SIZEOF(off64_t,8)
AC_CHECK_SIZEOF(int32_t)
AC_CHECK_SIZEOF(long,4)
@@ -1017,8 +1018,8 @@
lfs_alias_type=long
lfs_alias_size=$ac_cv_sizeof_long
else
- lfs_alias_type=off_t
- lfs_alias_size=$ac_cv_sizeof_off_t
+ lfs_alias_type=off64_t
+ lfs_alias_size=$ac_cv_sizeof_off64_t
fi
if test "x$lfs_alias_size" = "x"; then
......@@ -15,6 +15,9 @@ $(TARBALLS)/mpg123-$(MPG123_VERSION).tar.bz2:
mpg123: mpg123-$(MPG123_VERSION).tar.bz2 .sum-mpg123
$(UNPACK)
$(APPLY) $(SRC)/mpg123/no-programs.patch
ifdef HAVE_ANDROID
$(APPLY) $(SRC)/mpg123/mpg123_android_off_t.patch
endif
$(MOVE)
.mpg123: mpg123
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment