summaryrefslogtreecommitdiff
path: root/community/java-rxtx/rxtx-2.2-lock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/java-rxtx/rxtx-2.2-lock.patch')
-rw-r--r--community/java-rxtx/rxtx-2.2-lock.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/java-rxtx/rxtx-2.2-lock.patch b/community/java-rxtx/rxtx-2.2-lock.patch
new file mode 100644
index 000000000..c418fc4ad
--- /dev/null
+++ b/community/java-rxtx/rxtx-2.2-lock.patch
@@ -0,0 +1,12 @@
+diff -up ./src/SerialImp.h.lock ./src/SerialImp.h
+--- ./src/SerialImp.h.lock 2010-11-09 15:59:54.891179571 +0100
++++ ./src/SerialImp.h 2010-11-09 16:01:12.257819409 +0100
+@@ -158,7 +158,7 @@ struct event_info_struct
+ # endif /* CMSPAR */
+ #
+ # define DEVICEDIR "/dev/"
+-# define LOCKDIR "/var/lock"
++# define LOCKDIR "/var/lock/lockdev"
+ # define LOCKFILEPREFIX "LCK.."
+ # define FHS
+ #endif /* __linux__ */