File python-2.5.2-fwrapv.patch of Package python3

Index: Makefile.pre.in
===================================================================
--- Makefile.pre.in.orig	2011-01-14 21:02:42.000000000 +0100
+++ Makefile.pre.in	2011-01-14 21:03:45.631337518 +0100
@@ -59,7 +59,7 @@ MAKESETUP=      $(srcdir)/Modules/makese
 # 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
openSUSE Build Service is sponsored by