You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/arch/tde-deps/gnokii/gnokii-lock.patch

16 lines
542 B

diff -Naur gnokii-0.6.31.orig/common/misc.c gnokii-0.6.31/common/misc.c
--- gnokii-0.6.31.orig/common/misc.c 2011-12-02 15:53:04.000000000 +0100
+++ gnokii-0.6.31/common/misc.c 2013-08-12 18:38:41.021668458 +0200
@@ -448,9 +448,9 @@
#define BUFFER_MAX_LENGTH 128
#if defined (__svr4__)
-# define lock_path "/var/run/LCK.."
+# define lock_path "/var/run/lockdev/LCK.."
#else
-# define lock_path "/var/lock/LCK.."
+# define lock_path "/var/lock/lockdev/LCK.."
#endif
/* Lock the device. Return allocated string with a lock name */