File python-2.6.8-fwrapv.patch of Package python
--- Python-2.6.8/Makefile.pre.in.orig 2012-08-09 10:35:50.493929869 +0200
+++ Python-2.6.8/Makefile.pre.in 2012-08-09 10:36:59.363004623 +0200
@@ -57,7 +57,7 @@
# Compiler options
OPT= @OPT@
BASECFLAGS= @BASECFLAGS@
-CFLAGS= $(BASECFLAGS) @CFLAGS@ $(OPT) $(EXTRA_CFLAGS)
+CFLAGS= $(BASECFLAGS) @CFLAGS@ $(OPT) -fwrapv $(EXTRA_CFLAGS)
# Both CPPFLAGS and LDFLAGS need to contain the shell's value for setup.py to
# be able to build extension modules using the directories specified in the
# environment variables