Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498472 - dev-libs/link-grammar: build fails when fmaxf() is missing (e.g. uclibc's libm)
Summary: dev-libs/link-grammar: build fails when fmaxf() is missing (e.g. uclibc's libm)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords: Inclusion, PATCH
Depends on:
Blocks:
 
Reported: 2014-01-18 15:26 UTC by René Rhéaume
Modified: 2014-02-09 11:28 UTC (History)
1 user (show)

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


Attachments
link-grammar-4.8.0-uclibc.patch (link-grammar-4.8.0-uclibc.patch,449 bytes, patch)
2014-01-18 15:26 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2014-01-18 15:26:05 UTC
Created attachment 368094 [details, diff]
link-grammar-4.8.0-uclibc.patch

link-grammar does not currently build on uclibc systenms because fmaxf in not included. However, its source code contains a fmaxf macro definition for MS Visual C++ on Windows, so let's use it on uclibc too. This patch add the macro definition for uclibc. In the ebuild, add a src_prepare function and put and epatch instruction into it.
Comment 1 Pacho Ramos gentoo-dev 2014-01-20 21:44:10 UTC
Can you report it to upstream too?
https://code.google.com/p/link-parser/issues/list?ts=1201707275
Comment 2 René Rhéaume 2014-01-22 02:03:58 UTC
Posted upstream at https://code.google.com/p/link-parser/issues/detail?id=61
Comment 3 Pacho Ramos gentoo-dev 2014-01-22 07:12:41 UTC
Nice, looks like the patch was accepted by upstream too :D

Will try to look at this downstream when I have a bit of time :/
Comment 4 Pacho Ramos gentoo-dev 2014-02-09 11:28:02 UTC
+*link-grammar-4.8.6 (09 Feb 2014)
+
+  09 Feb 2014; Pacho Ramos <pacho@gentoo.org> +link-grammar-4.8.6.ebuild,
+  -link-grammar-4.7.13.ebuild:
+  Version bump, drop old
+