| Bug#: 140940 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: Other | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: python@gentoo.org | Reported By: the_paya@gentoo.org | |
| Component: Ebuilds | |||
| URL: | |||
| Summary: pyopengl fails in freebsd because of malloc.h inclusion. | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2006-07-18 10:08 0000 | |||
| Description: | Opened: 2006-07-18 10:08 0000 |
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.
Created an attachment (id=92140) [details]
pyopengl-2.0.1.09-malloc.patch
Removes malloc.h where stdlib.h is included and replaces malloc.h with stdlib.h
where needed.
Created an attachment (id=92142) [details]
pyopengl-2.0.1.09-ebuild.patch
Diff to the ebuild for this patch.
included patch into portage. thanks for your patch.