Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146536 - app-text/linuxdoc-tools: patch for Gentoo/FreeBSD compatibility
Summary: app-text/linuxdoc-tools: patch for Gentoo/FreeBSD compatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 04:45 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-09-06 16:03 UTC (History)
1 user (show)

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


Attachments
Ebuild patch (linuxdoc-tools-ebuild.patch,883 bytes, patch)
2006-09-06 04:49 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
linuxdoc-tools-0.9.21-malloc.patch (linuxdoc-tools-0.9.21-malloc.patch,319 bytes, patch)
2006-09-06 04:49 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-06 04:45:53 UTC
Hey ho, attached you can find a simple patch that removes a malloc.h include in linuxdoc-tools sources, as that's deprecated for almost every libc but GLIBC and UCLIBC, and replaces it with stdlib.h that is where malloc() is supposedly defined. This is a standard patch that I've applied on other sources before and it's just fine.

As an extra, the ebuild forces CFLAGS during make stage so that the choices of the user are respected.

HTH,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-06 04:49:02 UTC
Created attachment 96163 [details, diff]
Ebuild patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-06 04:49:31 UTC
Created attachment 96164 [details, diff]
linuxdoc-tools-0.9.21-malloc.patch
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2006-09-06 15:42:09 UTC
Feel free to commit the patch Diego. Thanks.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-06 16:03:37 UTC
Thanks Leonardo, patch merged and keyworded added :)