Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-mobilephone/gammu/files: gammu-1.26.0-skip-locktest.patch
Date: Sat, 05 Sep 2009 06:19:04
Message-Id: E1Mjoc3-00073c-2v@stork.gentoo.org
1 mrness 09/09/05 06:19:03
2
3 Added: gammu-1.26.0-skip-locktest.patch
4 Log:
5 Add python USE flag (#283671). Version bump (#283670).
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-mobilephone/gammu/files/gammu-1.26.0-skip-locktest.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/files/gammu-1.26.0-skip-locktest.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/files/gammu-1.26.0-skip-locktest.patch?rev=1.1&content-type=text/plain
13
14 Index: gammu-1.26.0-skip-locktest.patch
15 ===================================================================
16 diff -Nru gammu-1.26.0.orig/tests/CMakeLists.txt gammu-1.26.0/tests/CMakeLists.txt
17 --- gammu-1.26.0.orig/tests/CMakeLists.txt 2009-09-04 10:56:25.000000000 +0200
18 +++ gammu-1.26.0/tests/CMakeLists.txt 2009-09-05 07:46:58.000000000 +0200
19 @@ -739,7 +739,7 @@
20
21 # Test for locking, only on !WIN32 and if we can write to lock dir
22 if (NOT WIN32)
23 - execute_process(COMMAND test -w /var/lock/ RESULT_VARIABLE VAR_LOCK_WRITABLE)
24 + set (VAR_LOCK_WRITABLE 1)
25 if (VAR_LOCK_WRITABLE EQUAL 0)
26 add_executable(locking locking.c)
27 target_link_libraries(locking libGammu)