Also, I think the problem might be elsewhere. I found another (64-bit) machine with MacPorts and Snow Leopard and tried to build bzr on it. It worked out of the box. I did a diff between the two pyrex-generated files and they are identical.
--- _dirstate_helpers_pyx.c 2010-03-04 14:10:58.000000000 +0100
+++ bzr-2.1.0/bzrlib/_dirstate_helpers_pyx.c 2010-03-04 14:20:06.000000000 +0100
@@ -1,4 +1,4 @@
-/* Generated by Pyrex 0.9.8.5 on Thu Mar 4 14:08:11 2010 */
+/* Generated by Pyrex 0.9.8.5 on Thu Mar 4 14:20:06 2010 */
Also, I think the problem might be elsewhere. I found another (64-bit) machine with MacPorts and Snow Leopard and tried to build bzr on it. It worked out of the box. I did a diff between the two pyrex-generated files and they are identical.
--- _dirstate_ helpers_ pyx.c 2010-03-04 14:10:58.000000000 +0100 0/bzrlib/ _dirstate_ helpers_ pyx.c 2010-03-04 14:20:06.000000000 +0100
+++ bzr-2.1.
@@ -1,4 +1,4 @@
-/* Generated by Pyrex 0.9.8.5 on Thu Mar 4 14:08:11 2010 */
+/* Generated by Pyrex 0.9.8.5 on Thu Mar 4 14:20:06 2010 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"