diff options
Diffstat (limited to 'app-mobilephone/gammu/files/gammu-1.26.0-skip-locktest.patch')
-rw-r--r-- | app-mobilephone/gammu/files/gammu-1.26.0-skip-locktest.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-mobilephone/gammu/files/gammu-1.26.0-skip-locktest.patch b/app-mobilephone/gammu/files/gammu-1.26.0-skip-locktest.patch new file mode 100644 index 000000000000..345aa0a0005b --- /dev/null +++ b/app-mobilephone/gammu/files/gammu-1.26.0-skip-locktest.patch @@ -0,0 +1,12 @@ +diff -Nru gammu-1.26.0.orig/tests/CMakeLists.txt gammu-1.26.0/tests/CMakeLists.txt +--- gammu-1.26.0.orig/tests/CMakeLists.txt 2009-09-04 10:56:25.000000000 +0200 ++++ gammu-1.26.0/tests/CMakeLists.txt 2009-09-05 07:46:58.000000000 +0200 +@@ -739,7 +739,7 @@ + + # Test for locking, only on !WIN32 and if we can write to lock dir + if (NOT WIN32) +- execute_process(COMMAND test -w /var/lock/ RESULT_VARIABLE VAR_LOCK_WRITABLE) ++ set (VAR_LOCK_WRITABLE 1) + if (VAR_LOCK_WRITABLE EQUAL 0) + add_executable(locking locking.c) + target_link_libraries(locking libGammu) |