View | Details | Raw Unified | Return to bug 175531
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 8-13 Link Here
8
8
9
PORTNAME=	upower
9
PORTNAME=	upower
10
PORTVERSION=	0.9.7
10
PORTVERSION=	0.9.7
11
PORTREVISION=	1
11
CATEGORIES=	sysutils
12
CATEGORIES=	sysutils
12
MASTER_SITES=	http://upower.freedesktop.org/releases/
13
MASTER_SITES=	http://upower.freedesktop.org/releases/
13
14
(-)files/patch-src__freebsd__up-backend.c (+11 lines)
Line 0 Link Here
1
--- ./src/freebsd/up-backend.c.orig	2010-11-01 12:28:43.000000000 +0100
2
+++ ./src/freebsd/up-backend.c	2013-01-23 02:42:21.293236052 +0100
3
@@ -227,7 +227,7 @@
4
 	gchar *lid_state;
5
 
6
 	lid_state = up_get_string_sysctl (NULL, "hw.acpi.lid_switch_state");
7
-	if (lid_state && strcmp (lid_state, "NONE")) {
8
+	if (lid_state) {
9
 		up_daemon_set_lid_is_present (backend->priv->daemon, TRUE);
10
 	}
11
 	g_free (lid_state);

Return to bug 175531