glibc-2.27 doesn't have pow10, pow10f and pow10l any longer. Adding # glibc-2.27 doesn't have pow10* anymore sed -i -e'/#define POW10/s/pow10f/exp10f/' \ avidemux/qt4/common/ADM_audioFilter/src/audiofilter_normalize.cpp \ avidemux/common/ADM_audioFilter/src/audiofilter_normalize.cpp at the end of src_prepare fixes this.
Thank you. There should also be a "|| die" after sed.
I tried compiling avidemux with gcc 8.1 and glibc 2.27 and can confirm it fails. What exactly is the solution for it? Btw, avidemux 2.7.1 is out, maybe this works
*** Bug 657708 has been marked as a duplicate of this bug. ***
Created attachment 544418 [details, diff] replace pow10f by exp10f
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8882d9ea7fb8c525659d8239db86c387d6915498 commit 8882d9ea7fb8c525659d8239db86c387d6915498 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-11-08 17:32:51 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-11-08 17:33:30 +0000 media-video/avidemux: Fix build with glibc-2.27 Reported-by: Helmut Jarausch <jarausch@igpm.rwth-aachen.de> Thanks-to: emerald <dirk@liji-und-dirk.de> Closes: https://bugs.gentoo.org/646494 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-video/avidemux/avidemux-2.7.0.ebuild | 4 ++-- media-video/avidemux/avidemux-9999.ebuild | 4 +--- .../avidemux/files/avidemux-2.7.0-glibc-2.27.patch | 22 ++++++++++++++++++++++ 3 files changed, 25 insertions(+), 5 deletions(-)