summaryrefslogtreecommitdiff
path: root/sys-devel/icecream/files/0.9.7-glibc2.16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/icecream/files/0.9.7-glibc2.16.patch')
-rw-r--r--sys-devel/icecream/files/0.9.7-glibc2.16.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-devel/icecream/files/0.9.7-glibc2.16.patch b/sys-devel/icecream/files/0.9.7-glibc2.16.patch
new file mode 100644
index 000000000000..7ccbd735a46f
--- /dev/null
+++ b/sys-devel/icecream/files/0.9.7-glibc2.16.patch
@@ -0,0 +1,16 @@
+Fix building with glibc-2.16
+
+https://bugs.gentoo.org/show_bug.cgi?id=425248
+
+Patch written by Kacper Kowalik <xarthisius@gentoo.org>
+--- a/daemon/workit.cpp
++++ b/daemon/workit.cpp
+@@ -26,6 +26,7 @@
+ #include "exitcode.h"
+ #include "logging.h"
+ #include <sys/select.h>
++#include <sys/resource.h>
+ #include <algorithm>
+
+ #ifdef __FreeBSD__
+