3.3.0-10: fix gcc 4.8 incompatibility (rhbz#927358)
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-10 - fix gcc 4.8 incompatibility (rhbz#927358); regenerate autotool intermediates
This commit is contained in:
parent
ff7dfb66f1
commit
b4d586e100
3 changed files with 49 additions and 20 deletions
12
00175-fix-configure-Wformat.patch
Normal file
12
00175-fix-configure-Wformat.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -up Python-3.3.0/configure.ac.fix-configure-Wformat Python-3.3.0/configure.ac
|
||||
--- Python-3.3.0/configure.ac.fix-configure-Wformat 2013-03-25 16:09:09.127667472 -0400
|
||||
+++ Python-3.3.0/configure.ac 2013-03-25 16:09:16.442666967 -0400
|
||||
@@ -1308,7 +1308,7 @@ if test "$GCC" = "yes"
|
||||
then
|
||||
AC_MSG_CHECKING(whether gcc supports ParseTuple __format__)
|
||||
save_CFLAGS=$CFLAGS
|
||||
- CFLAGS="$CFLAGS -Werror"
|
||||
+ CFLAGS="$CFLAGS -Werror -Wformat"
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_PROGRAM([[void f(char*,...)__attribute((format(PyArg_ParseTuple, 1, 2)));]], [[]])
|
||||
],[
|
||||
Loading…
Add table
Add a link
Reference in a new issue