tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lang/python26 fails to build on OpenIndiana (and probably all of SunOS flavors)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Also, from what i see here: http://bugs.python.org/issue8852 it seems
this bug is well known among Python folks, there seems to be a simple hack
based on undefining HAVE_NETPACKET_PACKET_H, i'll try this later and let
you know.
It works. Here's my very naive patch:
$ cat patches/patch-af
$NetBSD$
- --- Modules/socketmodule.h.orig 2010-05-09 15:15:40.000000000 +0000
+++ Modules/socketmodule.h
@@ -59,6 +59,10 @@ typedef int socklen_t;
#include <bluetooth.h>
#endif
+#if defined(__sun)
+#undef HAVE_NETPACKET_PACKET_H
+#endif
+
#ifdef HAVE_NETPACKET_PACKET_H
# include <sys/ioctl.h>
# include <net/if.h>
is it worth commiting while Python guys fix this upstream ? any comment
anyone ?
Cheers,
- -------------------------------------------
Emile "iMil" Heitor :. <imil%home.imil.net@localhost>
_
http://gcu-squad.org ASCII ribbon campaign ( )
- against HTML email X
& vCards / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (NetBSD)
iD8DBQFNoI61FG3BlGWyzUIRAo3iAKCByubbNUbB9OizLuVlvgqpcuimbwCePrBT
w0sJfee2ba7H6IbkwTSh2e4=
=uApn
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index