]> git.pld-linux.org Git - packages/upower-pm-utils.git/blob - upower-glib-deprecated.patch
- rel 12, fix patch fuzz
[packages/upower-pm-utils.git] / upower-glib-deprecated.patch
1 --- upower-0.9.23/configure.ac.orig     2013-10-18 16:59:43.000000000 +0200
2 +++ upower-0.9.23/configure.ac  2019-05-08 05:33:37.087683032 +0200
3 @@ -104,7 +104,6 @@
4  dnl - Extra verbose warning switches
5  dnl ---------------------------------------------------------------------------
6  CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
7 -CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
8  CPPFLAGS="$CPPFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE"
9  CPPFLAGS="$CPPFLAGS -DGSEAL_ENABLE"
10  
11 --- upower-0.9.23/libupower-glib/up-wakeups.c.orig      2013-10-18 16:41:24.000000000 +0200
12 +++ upower-0.9.23/libupower-glib/up-wakeups.c   2019-05-08 05:49:07.512642488 +0200
13 @@ -89,6 +89,7 @@
14  
15  /* FIXME: GValueArray is deprecated in GLib 2.33+, but we need to convert to
16   * GDBus to get rid of it */
17 +#pragma GCC diagnostic push
18  #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
19  
20  /**
21 @@ -185,7 +186,7 @@
22         return array;
23  }
24  
25 -#pragma GCC diagnostic error "-Wdeprecated-declarations"
26 +#pragma GCC diagnostic pop
27  
28  /**
29   * up_wakeups_ensure_properties:
30 --- upower-0.9.23/libupower-glib/up-device.c.orig       2013-10-18 16:41:24.000000000 +0200
31 +++ upower-0.9.23/libupower-glib/up-device.c    2019-05-08 05:53:54.321088713 +0200
32 @@ -579,6 +579,7 @@
33  
34  /* FIXME: GValueArray is deprecated in GLib 2.33+, but we need to convert to
35   * GDBus to get rid of it */
36 +#pragma GCC diagnostic push
37  #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
38  
39  /**
40 @@ -748,7 +749,7 @@
41         return array;
42  }
43  
44 -#pragma GCC diagnostic error "-Wdeprecated-declarations"
45 +#pragma GCC diagnostic pop
46  
47  /*
48   * up_device_set_property:
This page took 0.083588 seconds and 3 git commands to generate.