• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/matchbox-panel/0002-mb-applet-wireless.patch
Yann E. MORINYann E. MORIN committed 3b468acbb4e03 Jun 2015
Raw file
Source viewDiff to previous
 
1
mb-applet-wireless: fix undefined reference to `log' and `lrint'
2
​
3
mb-applet-wireless.o: In function `update_wireless':
4
.. matchbox-panel-0.9.3/applets/mb-applet-wireless.c:143: undefined reference to `log'
5
.. matchbox-panel-0.9.3/applets/mb-applet-wireless.c:143: undefined reference to `lrint'
6
​
7
Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
8
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
9
[arnout: add description and Signed-off-by]
10
---
11
diff -rup matchbox-panel-0.9.3.orig/applets/Makefile.in matchbox-panel-0.9.3/applets/Makefile.in
12
--- matchbox-panel-0.9.3.orig/applets/Makefile.in   2015-01-23 00:16:47.594850985 +0100
13
+++ matchbox-panel-0.9.3/applets/Makefile.in    2015-01-23 00:15:18.458694947 +0100
14
@@ -198,7 +198,7 @@ WANT_SMALL_ICONS_FALSE = @WANT_SMALL_ICO
15
 WANT_SMALL_ICONS_TRUE = @WANT_SMALL_ICONS_TRUE@
16
 WANT_WIFI_FALSE = @WANT_WIFI_FALSE@
17
 WANT_WIFI_TRUE = @WANT_WIFI_TRUE@
18
-WIRELESS_LIBS = @WIRELESS_LIBS@
19
+WIRELESS_LIBS = @WIRELESS_LIBS@ -lm
20
 XGETTEXT = @XGETTEXT@
21
 ac_ct_CC = @ac_ct_CC@
22
 ac_ct_STRIP = @ac_ct_STRIP@
23
diff -rup matchbox-panel-0.9.3.orig/applets/mb-applet-wireless.c matchbox-panel-0.9.3/applets/mb-applet-wireless.c
24
--- matchbox-panel-0.9.3.orig/applets/mb-applet-wireless.c  2015-01-23 00:16:31.531822865 +0100
25
+++ matchbox-panel-0.9.3/applets/mb-applet-wireless.c   2015-01-23 00:03:43.067563827 +0100
26
@@ -50,6 +50,8 @@
27
 
28
 #endif
29
 
30
+#include <math.h>
31
+
32
 #ifdef MB_HAVE_PNG
33
 #define IMG_EXT "png"
34
 #else
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.