summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch')
-rw-r--r--dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch b/dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch
new file mode 100644
index 000000000000..1e4ff4af57b7
--- /dev/null
+++ b/dev-java/rxtx/files/rxtx-2.2_pre2-limits.patch
@@ -0,0 +1,10 @@
+--- src/lfd/lockdaemon.c.orig 2007-04-26 06:26:07.000000000 +0100
++++ src/lfd/lockdaemon.c 2016-02-17 20:41:09.137509089 +0000
+@@ -69,6 +69,7 @@
+ #include <errno.h>
+ #include <signal.h>
+ #include <pwd.h>
++#include <limits.h>
+
+ #define FHS
+ #define LOCKFILEPREFIX "LCK.."