diff options
author | Alastair Houghton <alastair@alastairs-place.net> | 2014-05-03 20:30:15 +0100 |
---|---|---|
committer | Alastair Houghton <alastair@alastairs-place.net> | 2014-05-03 20:30:15 +0100 |
commit | cc3485177ba5050f474171b0125014b78215321a (patch) | |
tree | 3dec38f03921518599484050080058f7575d6ed8 | |
parent | 33a35d08dbf82c29df8d9ad6442115c82d08dbab (diff) | |
download | netifaces-git-cc3485177ba5050f474171b0125014b78215321a.tar.gz |
Added a workaround for broken netlink headers on some Linux distros.release_0_10_2
-rw-r--r-- | CHANGELOG | 6 | ||||
-rw-r--r-- | README.rst | 6 | ||||
-rw-r--r-- | setup.py | 4 |
3 files changed, 11 insertions, 5 deletions
@@ -1,3 +1,9 @@ +2014-05-03 Version 0.10.2 + + * Added a workaround for broken netlink headers on certain Linux + distributions (the problem being that the netlink headers fail to + include <bits/sockaddr.h>, which causes a build failure). + 2014-05-02 Version 0.10.1 * Fixed a problem with the gateways() function that caused it a @@ -1,4 +1,4 @@ -netifaces 0.10.1 +netifaces 0.10.2 ================ .. image:: https://drone.io/bitbucket.org/al45tair/netifaces/status.png @@ -24,8 +24,8 @@ This package attempts to solve that problem. First you need to install it, which you can do by typing:: - tar xvzf netifaces-0.10.0.tar.gz - cd netifaces-0.10.0 + tar xvzf netifaces-0.10.2.tar.gz + cd netifaces-0.10.2 python setup.py install Once that's done, you'll need to start Python and do something like the @@ -16,7 +16,7 @@ if sys.version_info[0] == 2: else: output = getattr(__builtins__, 'print') -__version__ = "0.10.1" +__version__ = "0.10.2" # Disable hard links, otherwise building distributions fails on OS X try: @@ -466,9 +466,9 @@ class my_build_ext(build_ext): testrig = """ #include <asm/types.h> + #include <sys/socket.h> #include <linux/netlink.h> #include <linux/rtnetlink.h> - #include <sys/socket.h> int main (void) { int s = socket (PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); |