1 |
tetromino 14/06/03 01:29:40 |
2 |
|
3 |
Added: gnome-bluetooth-3.12.0-gold.patch |
4 |
Log: |
5 |
Fix build failure with ld.gold |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-wireless/gnome-bluetooth/files/gnome-bluetooth-3.12.0-gold.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/gnome-bluetooth/files/gnome-bluetooth-3.12.0-gold.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/gnome-bluetooth/files/gnome-bluetooth-3.12.0-gold.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: gnome-bluetooth-3.12.0-gold.patch |
16 |
=================================================================== |
17 |
From 34f21eea0ae2b7bace570eb2d49cf868699e9213 Mon Sep 17 00:00:00 2001 |
18 |
From: Bastien Nocera <hadess@××××××.net> |
19 |
Date: Tue, 25 Mar 2014 14:25:04 +0100 |
20 |
Subject: [PATCH] build: Explicitely link to libm |
21 |
|
22 |
For the "pow()" call. |
23 |
|
24 |
https://bugzilla.gnome.org/show_bug.cgi?id=726693 |
25 |
--- |
26 |
configure.ac | 2 ++ |
27 |
gnome-bluetooth-1.0.pc.in | 2 +- |
28 |
lib/Makefile.am | 2 +- |
29 |
3 files changed, 4 insertions(+), 2 deletions(-) |
30 |
|
31 |
diff --git a/configure.ac b/configure.ac |
32 |
index 31e47f7..f7a74ed 100644 |
33 |
--- a/configure.ac |
34 |
+++ b/configure.ac |
35 |
@@ -51,6 +51,8 @@ GLIB_GSETTINGS |
36 |
|
37 |
AC_PATH_PROG([XMLLINT],[xmllint]) |
38 |
|
39 |
+AC_CHECK_LIB([m],[sin]) |
40 |
+ |
41 |
dnl gtk-doc checks |
42 |
GTK_DOC_CHECK(1.9) |
43 |
|
44 |
diff --git a/gnome-bluetooth-1.0.pc.in b/gnome-bluetooth-1.0.pc.in |
45 |
index 4350bc8..46d7dc1 100644 |
46 |
--- a/gnome-bluetooth-1.0.pc.in |
47 |
+++ b/gnome-bluetooth-1.0.pc.in |
48 |
@@ -8,5 +8,5 @@ Description: Widgets for Bluetooth device selection |
49 |
Version: @VERSION@ |
50 |
Requires: gtk+-3.0 gio-2.0 |
51 |
Requires.private: libudev |
52 |
-Libs: -L${libdir} -lgnome-bluetooth |
53 |
+Libs: -L${libdir} -lgnome-bluetooth -lm |
54 |
Cflags: -I${includedir}/gnome-bluetooth |
55 |
diff --git a/lib/Makefile.am b/lib/Makefile.am |
56 |
index c558d0c..c110c27 100644 |
57 |
--- a/lib/Makefile.am |
58 |
+++ b/lib/Makefile.am |
59 |
@@ -48,7 +48,7 @@ libgnome_bluetooth_la_SOURCES = \ |
60 |
$(libgnome_bluetooth_private_headers) \ |
61 |
$(libgnome_bluetooth_c_sources) |
62 |
|
63 |
-libgnome_bluetooth_la_LIBADD = $(LIBGNOMEBT_LIBS) |
64 |
+libgnome_bluetooth_la_LIBADD = $(LIBGNOMEBT_LIBS) $(LIBS) |
65 |
|
66 |
libgnome_bluetooth_la_LDFLAGS = \ |
67 |
-version-info $(GNOMEBT_LT_VERSION) \ |
68 |
-- |
69 |
2.0.0 |