Patch #1050475: Fix various x86_64 build issues
regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems.
_tkinter.c: replace %.8x with %p for printing pointers.
setup.py: add lib64 into the library directories.
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 852bde4..76c2a44 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -805,8 +805,8 @@
PyTclObject_repr(PyTclObject *self)
{
char buf[50];
- PyOS_snprintf(buf, 50, "<%s object at 0x%.8x>",
- self->value->typePtr->name, (int)self->value);
+ PyOS_snprintf(buf, 50, "<%s object at %p>",
+ self->value->typePtr->name, self->value);
return PyString_FromString(buf);
}