Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 deepin-mutter (3.20.5-1) stable; urgency=low
 .
   * Autobuild Tag 3.20.5
Author: TagBuilder <tagbuilder@deepin.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- deepin-mutter-3.20.5.orig/src/compositor/meta-blur-effect.c
+++ deepin-mutter-3.20.5/src/compositor/meta-blur-effect.c
@@ -63,15 +63,16 @@ static void build_gaussian_blur_kernel(i
     int sz = (radius+2)*2-1;
     int N = sz-1;
     float sigma = 2.0f;
+    int i;
 
     float sum = powf(2, N);
     weight[radius+1] = 1.0;
-    for (int i = 1; i < radius+2; i++) {
+    for (i = 1; i < radius+2; i++) {
         weight[radius-i+1] = weight[radius-i+2] * (N-i+1) / i;
     }
     sum -= (weight[radius+1] + weight[radius]) * 2.0;
 
-    for (int i = 0; i < radius; i++) {
+    for (i = 0; i < radius; i++) {
         offset[i] = (float)i*sigma;
         weight[i] /= sum;
     }
@@ -88,7 +89,7 @@ static void build_gaussian_blur_kernel(i
 #if 1
     //step2: interpolate
     radius = (radius+1)/2;
-    for (int i = 1; i < radius; i++) {
+    for (i = 1; i < radius; i++) {
         float w = weight[i*2] + weight[i*2-1];
         float off = (offset[i*2] * weight[i*2] + offset[i*2-1] * weight[i*2-1]) / w;
         offset[i] = off;
--- deepin-mutter-3.20.5.orig/src/compositor/meta-blurred-background-actor.c
+++ deepin-mutter-3.20.5/src/compositor/meta-blurred-background-actor.c
@@ -82,15 +82,16 @@ static void build_gaussian_blur_kernel(i
     int sz = (radius+2)*2-1;
     int N = sz-1;
     float sigma = 1.5f;
+    int i;
 
     float sum = powf(2, N);
     weight[radius+1] = 1.0;
-    for (int i = 1; i < radius+2; i++) {
+    for (i = 1; i < radius+2; i++) {
         weight[radius-i+1] = weight[radius-i+2] * (N-i+1) / i;
     }
     sum -= (weight[radius+1] + weight[radius]) * 2.0;
 
-    for (int i = 0; i < radius; i++) {
+    for (i = 0; i < radius; i++) {
         offset[i] = (float)i*sigma;
         weight[i] /= sum;
     }
@@ -342,7 +343,8 @@ static void preblur_texture(MetaBlurredB
     cogl_pipeline_set_uniform_float(priv->pipeline2, uniform_no, 2, 1, resolution);
 
     int start = get_time();
-    for (int i = 0; i < priv->rounds; i++) {
+    int i;
+    for (i = 0; i < priv->rounds; i++) {
         CoglTexture* tex1 = i == 0 ? priv->texture : priv->fbTex2;
         cogl_pipeline_set_layer_texture (priv->pipeline, 0, tex1);
 
