[issue5510] patches for Modules/socketmodule.c for NetBSD

2009-03-18 Thread Ramsey Dow

New submission from Ramsey Dow :

I couldn't install setuptools (required by gitosis) because Python 2.6.1
didn't install socket when I built it. A little digging and I
uncommented the "_socket socketmodule.c" line in Modules/Setup.
Unfortunately, the Bluetooth socket stuff in Modules/socketmodule.c was
broken under NetBSD. I made this patch and tested on NetBSD 4.0.1.

When researching this bug on bugs.python.org, I noticed issue5400 which,
in order to get Modules/socketmodule.c compiling, disabled Bluetooth
socket support entirely. That isn't necessary. I just had to ensure the
various structure references made use of the proper member names
(according to NetBSD's /usr/include/netbt/bluetooth.h header file). The
changes I made were similar, though not precisely the same, as those for
FreeBSD.

After patching and building:

ram...@wizard /opt/build/runtime/Python-2.6.1$ ./python -bb -E
Lib/test/regrtest.py test_socket
test_socket
1 test OK.

--
components: Build
files: Python-2.6.1.patch
keywords: patch
messages: 83767
nosy: yesmar
severity: normal
status: open
title: patches for Modules/socketmodule.c for NetBSD
type: compile error
versions: Python 2.6
Added file: http://bugs.python.org/file13366/Python-2.6.1.patch

___
Python tracker 
<http://bugs.python.org/issue5510>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5510] patches for Modules/socketmodule.c for NetBSD

2010-08-01 Thread Ramsey Dow

Ramsey Dow  added the comment:

I don't know. I switched to Linux from NetBSD and I don't use Python  
for anything anymore.

On Jul 31, 2010, at 5:27 PM, Éric Araujo wrote:

>
> Éric Araujo  added the comment:
>
> Does the bug still exist in 3.2 (branch named py3k in subversion)?  
> Do the patch still apply? (The workflow is to patch the version in  
> development and then backport fixes to stable branches.)
>
> Adding Giampaolo to nosy since he’s listed as interested in  
> networking in Misc/maintainers.rst
>
> --
> nosy: +giampaolo.rodola, merwok
> versions: +Python 3.2 -Python 2.6
>
> ___
> Python tracker 
> <http://bugs.python.org/issue5510>
> ___

~/Ramsey
--
"Civilized men are more discourteous than savages because they know  
they can be impolite without having their skulls split, as a general  
thing."
-- Robert E. Howard, "Tower of the Elephant"

--

___
Python tracker 
<http://bugs.python.org/issue5510>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com