summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2010-06-26 20:25:17 +0000
committerChristoph Mende <angelos@gentoo.org>2010-06-26 20:25:17 +0000
commit8a1f8b085143eba9adef7a65e984f67bf6671f90 (patch)
tree916fb8c0ac697b420ffa60fb74dc53fd85c43fe2 /dev-java/rxtx/files
parentRemove old. (diff)
downloadgentoo-2-8a1f8b085143eba9adef7a65e984f67bf6671f90.tar.gz
gentoo-2-8a1f8b085143eba9adef7a65e984f67bf6671f90.tar.bz2
gentoo-2-8a1f8b085143eba9adef7a65e984f67bf6671f90.zip
Fixed compilation with USE=lfd and stable on amd64 wrt bug #309111
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/rxtx/files')
-rw-r--r--dev-java/rxtx/files/rxtx-2.1-7r2-lfd-include-limits.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-java/rxtx/files/rxtx-2.1-7r2-lfd-include-limits.diff b/dev-java/rxtx/files/rxtx-2.1-7r2-lfd-include-limits.diff
new file mode 100644
index 000000000000..3d32f360d188
--- /dev/null
+++ b/dev-java/rxtx/files/rxtx-2.1-7r2-lfd-include-limits.diff
@@ -0,0 +1,12 @@
+diff --git a/src/lfd/lockdaemon.c b/src/lfd/lockdaemon.c
+index bdb8553..d13c5eb 100644
+--- a/src/lfd/lockdaemon.c
++++ b/src/lfd/lockdaemon.c
+@@ -30,6 +30,7 @@
+ #include <errno.h>
+ #include <signal.h>
+ #include <pwd.h>
++#include <limits.h>
+
+ #define FHS
+ #define LOCKFILEPREFIX "LCK.."