[Patches] [ python-Patches-1657276 ] socketmodule fails to build because missing NETLINK_DNRTMSG

SourceForge.net noreply at sourceforge.net
Tue Feb 13 13:14:55 CET 2007


Patches item #1657276, was opened at 2007-02-11 13:45
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1657276&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aleksandr Koltsoff (czr_)
Assigned to: Nobody/Anonymous (nobody)
Summary: socketmodule fails to build because missing NETLINK_DNRTMSG

Initial Comment:
While building 2.5 on a debian 2.2 (potato) system I encountered a problem in socketmodule.c. The system in question has netlink.h, but a symbol (NETLINK_DNRTMSG) is not (whole module fails to build because of this).

The provided patch (unified diff) fixes this by surrounding the line with an ifdef.
The respective code also contains other int constants that probably should be protected, but this patch doesn't touch them.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2007-02-13 13:14

Message:
Logged In: YES 
user_id=21627
Originator: NO

Thanks for the patch. Committed as r53769 and r53770.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1657276&group_id=5470


More information about the Patches mailing list