[issue12976] add support for MirBSD platform
Benny Siegert bsieg...@gmail.com added the comment: Hmm, I thought I was making an argument _for_ applying the patch. As I see it, these are benefits of merging the patch: 1. Being able to compile an unmodified upstream Python on MirBSD. 2. The patches in pkgsrc become smaller. 3. Future Python versions contain the support out of the box. The only downside is having to add a few lines to configure and selectmodule.c ... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12976] add support for MirBSD platform
Benny Siegert bsieg...@gmail.com added the comment: I agree that the patch is quite small. I am regularly building new Python versions (using pkgsrc) so I can maintain the patch for future releases. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12976] add support for MirBSD platform
Benny Siegert bsieg...@gmail.com added the comment: As requested, here is the full patch for MirBSD support. The diff was taken against version 2.7.2. It is really quite easy, you just need to handle MirBSD like OpenBSD. With this patch, I can successfully compile and run Python on MirBSD. Even though it is a rather exotic platform, I encourage you to take these changes, as they are quite minimal. -- components: +Build -Extension Modules keywords: +patch title: select module: only use EVFILT_TIMER if available (kqueue backend) - add support for MirBSD platform versions: +Python 2.7 -Python 2.6 Added file: http://bugs.python.org/file23176/python27-MirBSD.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12976] add support for MirBSD platform
Changes by Benny Siegert bsieg...@gmail.com: Removed file: http://bugs.python.org/file23153/patch-az ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12976] select module: only use EVFILT_TIMER if available (kqueue backend)
New submission from Benny Siegert bsieg...@gmail.com: When building python-2.6 on MirBSD, building the select module (which uses the kqueue backend on this platform) fails. This is because EVFILT_TIMER is not available on the platform. The proposed patch is for python-2.6 but should apply to tip too. This was discovered when building the python package from NetBSD pkgsrc, so the patch is taken from there. -- components: Extension Modules files: patch-az messages: 144022 nosy: bsiegert priority: normal severity: normal status: open title: select module: only use EVFILT_TIMER if available (kqueue backend) type: compile error versions: Python 2.6 Added file: http://bugs.python.org/file23153/patch-az ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12976] select module: only use EVFILT_TIMER if available (kqueue backend)
Benny Siegert bsieg...@gmail.com added the comment: There are actually only two things that need to be touched for supporting MirBSD: This and the Configure script. I was planning to submit the Configure patches separately, I just started with this patch as it is so trivial. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12976 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com