aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-power-manager/0001-get_nprocs-patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mate-power-manager/0001-get_nprocs-patch.patch')
-rw-r--r--community/mate-power-manager/0001-get_nprocs-patch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/mate-power-manager/0001-get_nprocs-patch.patch b/community/mate-power-manager/0001-get_nprocs-patch.patch
new file mode 100644
index 0000000000..c71fabedea
--- /dev/null
+++ b/community/mate-power-manager/0001-get_nprocs-patch.patch
@@ -0,0 +1,27 @@
+From 274b58cef2501ff45e18e8ba98ce7a2e0f1478a3 Mon Sep 17 00:00:00 2001
+From: Alan Lacerda <alacerda@alpinelinux.org>
+Date: Fri, 17 Apr 2015 20:02:16 +0000
+Subject: [PATCH] get_nprocs patch
+
+---
+ src/gpm-load.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gpm-load.c b/src/gpm-load.c
+index 3b0f572..5e78cb7 100644
+--- a/src/gpm-load.c
++++ b/src/gpm-load.c
+@@ -29,9 +29,9 @@
+ #include <string.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
++#include <sys/sysinfo.h>
+ #if defined(sun) && defined(__SVR4)
+ #include <kstat.h>
+-#include <sys/sysinfo.h>
+ #endif
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+--
+2.3.3
+