Remove this patch; it's wrong and introduced a segfault at logout.
This commit is contained in:
parent
f18e4d4cba
commit
3d08c654cd
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.66 2011/11/11 09:32:07 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.67 2011/11/16 19:25:51 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT= GNOME settings daemon
|
||||
|
||||
GNOME_PROJECT= gnome-settings-daemon
|
||||
GNOME_VERSION= 3.2.2
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
@ -1,22 +0,0 @@
|
||||
$OpenBSD: patch-plugins_color_gcm-dmi_c,v 1.1 2011/11/11 09:32:07 ajacoutot Exp $
|
||||
|
||||
No sysfs on OpenBSD.
|
||||
|
||||
--- plugins/color/gcm-dmi.c.orig Fri Nov 11 10:25:42 2011
|
||||
+++ plugins/color/gcm-dmi.c Fri Nov 11 10:26:24 2011
|
||||
@@ -122,6 +122,7 @@ gcm_dmi_class_init (GcmDmiClass *klass)
|
||||
static void
|
||||
gcm_dmi_init (GcmDmi *dmi)
|
||||
{
|
||||
+#ifdef __linux__
|
||||
const gchar *sysfs_name[] = {
|
||||
"/sys/class/dmi/id/product_name",
|
||||
"/sys/class/dmi/id/board_name",
|
||||
@@ -143,6 +144,7 @@ gcm_dmi_init (GcmDmi *dmi)
|
||||
dmi->priv->name = gcm_dmi_get_from_filenames (sysfs_name);
|
||||
dmi->priv->version = gcm_dmi_get_from_filenames (sysfs_version);
|
||||
dmi->priv->vendor = gcm_dmi_get_from_filenames (sysfs_vendor);
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void
|
Loading…
Reference in New Issue
Block a user