From 88e5cb576d37f9ecc536c68eb1614fbd1f08e538 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 30 Oct 2012 23:44:24 -0400 Subject: improve java/java-rxtx --- java/java-rxtx/0003-lockdir-location.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 java/java-rxtx/0003-lockdir-location.patch (limited to 'java/java-rxtx/0003-lockdir-location.patch') diff --git a/java/java-rxtx/0003-lockdir-location.patch b/java/java-rxtx/0003-lockdir-location.patch new file mode 100644 index 000000000..78a757f81 --- /dev/null +++ b/java/java-rxtx/0003-lockdir-location.patch @@ -0,0 +1,18 @@ +Fix the location of device lock files. + +Use the new semi-standard device lock file directory on GNU/Linux. This is +nescessary on (at least) Arch Linux and Parabola GNU/Linux. + +http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html + +--- RXTX.orig/src/SerialImp.h ++++ RXTX/src/SerialImp.h +@@ -109,7 +109,7 @@ + /* Ports known on the OS */ + #if defined(__linux__) + # define DEVICEDIR "/dev/" +-# define LOCKDIR "/var/lock" ++# define LOCKDIR "/var/lock/lockdev" + # define LOCKFILEPREFIX "LCK.." + # define FHS + #endif /* __linux__ */ -- cgit v1.2.3