Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/glib-networking/files: glib-networking-2.40.1-unittests.patch
Date: Sun, 27 Apr 2014 17:41:38
Message-Id: 20140427174132.BDD7A2004C@flycatcher.gentoo.org
1 eva 14/04/27 17:41:32
2
3 Added: glib-networking-2.40.1-unittests.patch
4 Log:
5 Version bump for Gnome 3.12.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C6085806)
8
9 Revision Changes Path
10 1.1 net-libs/glib-networking/files/glib-networking-2.40.1-unittests.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/glib-networking/files/glib-networking-2.40.1-unittests.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/glib-networking/files/glib-networking-2.40.1-unittests.patch?rev=1.1&content-type=text/plain
14
15 Index: glib-networking-2.40.1-unittests.patch
16 ===================================================================
17 From 8867e6a0b3b84b41b5a61c5194fa1300c5c39d8c Mon Sep 17 00:00:00 2001
18 From: Gilles Dartiguelongue <eva@g.o>
19 Date: Fri, 25 Apr 2014 22:59:01 +0200
20 Subject: [PATCH] test connection is not PKCS#11 related
21
22 Avoids silly test failure:
23
24 CCLD connection
25 /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/Scrt1.o: In
26 function `_start':
27 (.text+0x20): undefined reference to `main'
28 collect2: error: ld returned 1 exit status
29 Makefile:897: recipe for target 'connection' failed
30 make[4]: *** [connection] Error 1
31 ---
32 tls/tests/Makefile.am | 6 +++---
33 1 file changed, 3 insertions(+), 3 deletions(-)
34
35 diff --git a/tls/tests/Makefile.am b/tls/tests/Makefile.am
36 index 6287b9c..009b388 100644
37 --- a/tls/tests/Makefile.am
38 +++ b/tls/tests/Makefile.am
39 @@ -15,6 +15,9 @@ test_programs = \
40 connection \
41 $(NULL)
42
43 +connection_SOURCES = connection.c \
44 + mock-interaction.c mock-interaction.h
45 +
46 if HAVE_PKCS11
47
48 test_programs += \
49 @@ -33,9 +36,6 @@ pkcs11_slot_SOURCES = pkcs11-slot.c \
50 mock-pkcs11.c mock-pkcs11.h \
51 mock-interaction.c mock-interaction.h
52
53 -connection_SOURCES = connection.c \
54 - mock-interaction.c mock-interaction.h
55 -
56 endif
57
58 testfiles_data = \
59 --
60 1.9.0