aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-power-manager/0001-get_nprocs-patch.patch
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2015-11-09 11:58:10 +0100
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-11-09 11:58:47 +0100
commitcdcc1580d7cb9355ea43aa8dbe8c314ec5a6c274 (patch)
tree6764f9e21789624eb5cac4d2368787149e29b4de /community/mate-power-manager/0001-get_nprocs-patch.patch
parent4dd718bf53cdde5b7cd6fad035e2020eb42a20c3 (diff)
downloadaports-cdcc1580d7cb9355ea43aa8dbe8c314ec5a6c274.tar.bz2
aports-cdcc1580d7cb9355ea43aa8dbe8c314ec5a6c274.tar.xz
main/mate-power-manager: move to community
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
+