Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 497378 Details for
Bug 632650
dev-libs/link-grammar-5.3.11 : define for fmaxf no longer needed on uclibc-ng
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
link-grammar-5.3.11-uclibcng.patch
link-grammar-5.3.11-uclibcng.patch (text/plain), 807 bytes, created by
René Rhéaume
on 2017-10-01 20:06:50 UTC
(
hide
)
Description:
link-grammar-5.3.11-uclibcng.patch
Filename:
MIME Type:
Creator:
René Rhéaume
Created:
2017-10-01 20:06:50 UTC
Size:
807 bytes
patch
obsolete
>--- link-grammar-5.3.11-orig/link-grammar/build-disjuncts.c >+++ link-grammar-5.3.11-uclibcng/link-grammar/build-disjuncts.c >@@ -159,7 +159,7 @@ static Clause * build_clause(Exp *e) > { > c = (Clause *) xalloc(sizeof (Clause)); > c->cost = c3->cost + c4->cost; >- c->maxcost = fmaxf(c3->maxcost,c4->maxcost); >+ c->maxcost = MAX(c3->maxcost,c4->maxcost); > c->c = catenate(c3->c, c4->c); > c->next = c_head; > c_head = c; >--- link-grammar-5.3.11-orig/link-grammar/utilities.h >+++ link-grammar-5.3.11-uclibcng/link-grammar/utilities.h >@@ -188,10 +188,6 @@ typedef int locale_t; > #define STR(x) #x > #define STRINGIFY(x) STR(x) > >-#if defined(__UCLIBC__) >-#define fmaxf(a,b) ((a) > (b) ? (a) : (b)) >-#endif >- > #if !defined(MIN) > #define MIN(X,Y) ( ((X) < (Y)) ? (X) : (Y)) > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 632650
: 497378