diff options
| author | Koop Mast <kwm@FreeBSD.org> | 2015-07-27 20:19:33 +0000 |
|---|---|---|
| committer | Koop Mast <kwm@FreeBSD.org> | 2015-07-27 20:19:33 +0000 |
| commit | b18513c396f0da554f784695a222d8383acd7127 (patch) | |
| tree | 0d276f72ec80621ae31f35239a1c27ae16c21bba /sysutils/mate-power-manager/files/patch-src_gpm-backlight-helper.c | |
| parent | - Fix build by specifying correct path to license file (diff) | |
Update MATE DE to 1.10.0.
This MATE is still build agains GTK+2.
Sort USES here and there.
Replace mate-dialogs with zenity and mate-calc with galculator.
This update fixes the following PR's:
PR: 193942, 191885
Submitted by: Gustau Perez <gustau.perez@gmail.com> via Gnome devel repo
Obtained from: gnome devel repo.
Notes
Notes:
svn path=/head/; revision=393031
Diffstat (limited to 'sysutils/mate-power-manager/files/patch-src_gpm-backlight-helper.c')
| -rw-r--r-- | sysutils/mate-power-manager/files/patch-src_gpm-backlight-helper.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/mate-power-manager/files/patch-src_gpm-backlight-helper.c b/sysutils/mate-power-manager/files/patch-src_gpm-backlight-helper.c new file mode 100644 index 000000000000..a3a21bd10aed --- /dev/null +++ b/sysutils/mate-power-manager/files/patch-src_gpm-backlight-helper.c @@ -0,0 +1,18 @@ +This code is linux specific. Disable it so users don't get warnings like this: + +** (mate-power-backlight-helper:82740): WARNING **: failed to find any devices: + Error opening directory '/sys/class/backlight': No such file or directory + +--- src/gpm-backlight-helper.c.orig 2015-07-22 11:33:09.058354000 +0200 ++++ src/gpm-backlight-helper.c 2015-07-22 11:34:39.476169000 +0200 +@@ -145,6 +145,10 @@ out: + gint + main (gint argc, gchar *argv[]) + { ++#ifdef __FreeBSD__ ++ return GCM_BACKLIGHT_HELPER_EXIT_CODE_FAILED; ++#endif ++ + GOptionContext *context; + gint uid; + gint euid; |
