diff options
author | Ismael Luceno | 2019-05-27 18:51:11 +0200 |
---|---|---|
committer | Ismael Luceno | 2019-05-27 18:51:11 +0200 |
commit | d8f08cf3c15987ff6b1de64e7c0e6efc6e83bca6 (patch) | |
tree | 974e14b443482f6d03707fa0a74928a19d3bbea6 | |
parent | cd395a3a4f03f1d979fa747c7c1bcedfb8068fd9 (diff) |
faad2: Fix build against musl
-rw-r--r-- | audio-libs/faad2/HISTORY | 3 | ||||
-rwxr-xr-x | audio-libs/faad2/PRE_BUILD | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/audio-libs/faad2/HISTORY b/audio-libs/faad2/HISTORY index e89bf9e5fe..80bda2f8cc 100644 --- a/audio-libs/faad2/HISTORY +++ b/audio-libs/faad2/HISTORY @@ -1,3 +1,6 @@ +2019-05-27 Ismael Luceno <ismael@sourcemage.org> + * PRE_BUILD: Fixed build against musl + 2019-01-19 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 2.8.0 * PRE_BUILD: clean diff --git a/audio-libs/faad2/PRE_BUILD b/audio-libs/faad2/PRE_BUILD index 0e93d06ae6..e7a30bc963 100755 --- a/audio-libs/faad2/PRE_BUILD +++ b/audio-libs/faad2/PRE_BUILD @@ -1,5 +1,7 @@ default_pre_build && cd $SOURCE_DIRECTORY && -#sedit 's/^AC_PROG_CPP$/AC_PROG_CXX/' configure.in && -#sedit 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in && -/bin/sh ./bootstrap +# Bundled getopt is broken, and so is main.c, so let's avoid it and use the +# system version whatever it is. +sedit '/^AC_OUTPUT/iAC_DEFINE([HAVE_GETOPT_H], 1, [Use getopt from system])' \ + configure.ac && +autoreconf -i |