void-packages/srcpkgs/mutter/patches/remove-Werror.patch

12 lines
383 B
Diff

--- configure
+++ configure
@@ -18616,7 +18616,7 @@ if test "$enable_compile_warnings" != no ; then
if test "$enable_compile_warnings" = error; then
case " $CFLAGS " in
*[\ \ ]-Werror[\ \ ]*) ;;
- *) CFLAGS="$CFLAGS -Werror -Wno-error=deprecated-declarations" ;;
+ *) CFLAGS="$CFLAGS -Wno-error=deprecated-declarations" ;;
esac
fi
fi