aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-system-monitor/011-max-nice-linux.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-25 16:32:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-25 19:52:57 +0000
commit2749b73eab8f40766ed08ed06771943107704f94 (patch)
tree1edf576255ee5b7fddad4cb5f82dac4b68eb73a9 /main/gnome-system-monitor/011-max-nice-linux.patch
parentd98256295edd37208538ecd0241d17eedf5fbeb0 (diff)
downloadaports-2749b73eab8f40766ed08ed06771943107704f94.tar.bz2
aports-2749b73eab8f40766ed08ed06771943107704f94.tar.xz
main/gnome-system-monitor: rebuild against glib-2.32
Diffstat (limited to 'main/gnome-system-monitor/011-max-nice-linux.patch')
-rw-r--r--main/gnome-system-monitor/011-max-nice-linux.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/gnome-system-monitor/011-max-nice-linux.patch b/main/gnome-system-monitor/011-max-nice-linux.patch
new file mode 100644
index 0000000000..55d4e4110d
--- /dev/null
+++ b/main/gnome-system-monitor/011-max-nice-linux.patch
@@ -0,0 +1,21 @@
+From 7c493352b24fb6d0d8b003f25043b070244eeb2e Mon Sep 17 00:00:00 2001
+From: Chris Kühl <chrisk@openismus.com>
+Date: Fri, 15 Apr 2011 09:18:10 +0000
+Subject: Make maximum nice value 19 instead of 20 on Linux.
+
+---
+diff --git a/src/procdialogs.h b/src/procdialogs.h
+index eba3212..61decf8 100644
+--- a/src/procdialogs.h
++++ b/src/procdialogs.h
+@@ -26,7 +26,7 @@
+ /* These are the actual range of settable values. Values outside this range
+ are scaled back to these limits. So show these limits in the slider
+ */
+-#ifdef linux
++#ifdef __linux__
+ #define RENICE_VAL_MIN -20
+ #define RENICE_VAL_MAX 19
+ #else /* ! linux */
+--
+cgit v0.9