Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646494 - media-video/avidemux-2.7.0 needs a patch with glibc-2.27
Summary: media-video/avidemux-2.7.0 needs a patch with glibc-2.27
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard: ~arch only
Keywords: PATCH
: 657708 (view as bug list)
Depends on:
Blocks: glibc-pow10
  Show dependency tree
 
Reported: 2018-02-03 15:24 UTC by Helmut Jarausch
Modified: 2018-11-08 17:33 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
replace pow10f by exp10f (0001-use-exp10f-instead-of-pow10f.patch,845 bytes, patch)
2018-08-21 19:24 UTC, emerald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2018-02-03 15:24:14 UTC
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.
Comment 1 Jonas Stein gentoo-dev 2018-02-04 13:23:18 UTC
Thank you. 
There should also be a "|| die" after sed.
Comment 2 spargeltarzan 2018-06-05 13:27:17 UTC
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
Comment 3 Ulrich Müller gentoo-dev 2018-07-01 06:15:39 UTC
*** Bug 657708 has been marked as a duplicate of this bug. ***
Comment 4 emerald 2018-08-21 19:24:30 UTC
Created attachment 544418 [details, diff]
replace pow10f by exp10f
Comment 5 Larry the Git Cow gentoo-dev 2018-11-08 17:33:46 UTC
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(-)