Issue 1657276: socketmodule fails to build because missing NETLINK_DNRTMSG (original) (raw)

Issue1657276

Created on 2007-02-11 12:45 by czr_, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
socketmodule.patch czr_,2007-02-11 12:45 patch against socketmodule.c
Messages (2)
msg51855 - (view) Author: Aleksandr Koltsoff (czr_) Date: 2007-02-11 12:45
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.
msg51856 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-02-13 12:14
Thanks for the patch. Committed as r53769 and r53770.
History
Date User Action Args
2022-04-11 14:56:22 admin set github: 44571
2007-02-11 12:45:38 czr_ create