mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
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.
18 lines
573 B
C
18 lines
573 B
C
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;
|