Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140940 - pyopengl fails in freebsd because of malloc.h inclusion.
Summary: pyopengl fails in freebsd because of malloc.h inclusion.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 10:08 UTC by Javier Villavicencio (RETIRED)
Modified: 2006-07-28 06:47 UTC (History)
1 user (show)

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


Attachments
pyopengl-2.0.1.09-malloc.patch (pyopengl-2.0.1.09-malloc.patch,3.32 KB, patch)
2006-07-18 10:09 UTC, Javier Villavicencio (RETIRED)
Details | Diff
pyopengl-2.0.1.09-ebuild.patch (pyopengl-ebuild.patch,346 bytes, patch)
2006-07-18 10:11 UTC, Javier Villavicencio (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Villavicencio (RETIRED) gentoo-dev 2006-07-18 10:08:09 UTC
The libc on freebsd already switched to stdlib.h for malloc, and it dies when malloc.h is included.

The attached patch fixes this, and doesn't present any trouble on linux.
Comment 1 Javier Villavicencio (RETIRED) gentoo-dev 2006-07-18 10:09:17 UTC
Created attachment 92140 [details, diff]
pyopengl-2.0.1.09-malloc.patch

Removes malloc.h where stdlib.h is included and replaces malloc.h with stdlib.h where needed.
Comment 2 Javier Villavicencio (RETIRED) gentoo-dev 2006-07-18 10:11:37 UTC
Created attachment 92142 [details, diff]
pyopengl-2.0.1.09-ebuild.patch

Diff to the ebuild for this patch.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2006-07-28 06:47:34 UTC
included patch into portage. thanks for your patch.