diff --git a/plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch b/plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch new file mode 100644 index 00000000..3014b812 --- /dev/null +++ b/plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch @@ -0,0 +1,30 @@ +diff --git a/configure b/configure +index 5c74f00a..8bb51f40 100755 +--- a/configure ++++ b/configure +@@ -7057,8 +7057,8 @@ $as_echo "$ac_cv_extra_warnings" >&6; } + + if test $ac_cv_extra_warnings = yes + then +- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror" +- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough" ++ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra" ++ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough" + fi + + # Python doesn't violate C99 aliasing rules, but older versions of +diff --git a/configure.ac b/configure.ac +index c06b992d..6dee6632 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1622,8 +1622,8 @@ yes) + + if test $ac_cv_extra_warnings = yes + then +- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror" +- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough" ++ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra" ++ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough" + fi + + # Python doesn't violate C99 aliasing rules, but older versions of diff --git a/plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch b/plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch new file mode 100644 index 00000000..bbcd9a15 --- /dev/null +++ b/plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch @@ -0,0 +1,30 @@ +diff --git a/configure b/configure +index 0df332f7..df8143cf 100755 +--- a/configure ++++ b/configure +@@ -6952,8 +6952,8 @@ $as_echo "$ac_cv_extra_warnings" >&6; } + + if test $ac_cv_extra_warnings = yes + then +- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror" +- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough" ++ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra" ++ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough" + fi + + # Python doesn't violate C99 aliasing rules, but older versions of +diff --git a/configure.ac b/configure.ac +index f6718e36..0a651e7d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1579,8 +1579,8 @@ yes) + + if test $ac_cv_extra_warnings = yes + then +- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror" +- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough" ++ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra" ++ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough" + fi + + # Python doesn't violate C99 aliasing rules, but older versions of