[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Add -DUPOWER_ENABLE_DEPRECATED to makefile (Bug 10931)

noreply at xfce.org noreply at xfce.org
Tue Jun 3 18:50:03 CEST 2014


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit c0d9ea83083058379a83fd96d407479247f06d74
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Tue Jun 3 19:45:54 2014 +0300

    Add -DUPOWER_ENABLE_DEPRECATED to makefile (Bug 10931)
    
    Xfpm requires the UPOWER_ENABLE_DEPRECATED symbol to be present
    for suspend/hibernate to still work on upower versions 0.9.8 thru
    0.9.23. Adding it for later versions of upower won't do anything,
    so there's no harm in just adding it.
    Thanks to Samuli Suominen for reporting and finding the correct
    fix for this.
---
 src/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 68ce9a2..ed59ec9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -48,6 +48,7 @@ xfce4_power_manager_CFLAGS =                    \
 	-DLOCALEDIR=\"$(localedir)\"            \
 	-DG_LOG_DOMAIN=\"xfce4-power-manager\"  \
 	-DSYSCONFDIR=\"$(sysconfdir)\"		\
+	-DUPOWER_ENABLE_DEPRECATED              \
 	-DXFPM_SUSPEND_HELPER_CMD=\"$(prefix)/bin/xfce4-pm-helper\" \
 	$(GOBJECT_CFLAGS)                       \
 	$(GTHREAD_CFLAGS)                       \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list