FreeBSD doesn't come with /usr/include alloca.h which affects ctypes compilation Reproducible: Always Steps to Reproduce: 1. emerge =dev-lang/python-2.6.2-r2 Actual Results: _ctypes.c:129:20: error: alloca.h: No such file or directory Expected Results: success
Created attachment 205602 [details, diff] ebuild patch for python-2.6.2-r2
Created attachment 205604 [details, diff] ctypes patch for FreeBSD without alloca.h put into files directory
do I understand the patch correctly that they just disabled the guards for some messed up reason?
hehe, this is introduced by the IRIX patch, so we need to beat someone with a stick here
(In reply to comment #4) > hehe, this is introduced by the IRIX patch, so we need to beat someone with a > stick here > patch fixing another patch, yay!
I just committed a fix to the irix patch which makes configure check for alloca.h such that the guards can be enabled and it should also work fine on FreeBSD. Can't check that theory though.
reopen if it doesn't work (based on last comment)