summarylogtreecommitdiffstats
path: root/libseekthermal.patch
blob: ce94000cddd73047419c4b65afe087f8d00710ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
diff -ura libseekthermal.orig/CMakeLists.txt libseekthermal.new/CMakeLists.txt
--- libseekthermal.orig/CMakeLists.txt	2019-01-15 07:01:20.088124744 -0500
+++ libseekthermal.new/CMakeLists.txt	2019-01-15 07:11:04.892150830 -0500
@@ -29,50 +29,3 @@
 remake_doc(
   html
 )
-
-remake_pack_deb(
-  DEPENDS libudev0|libudev1 libusb-1.0-0 libboost-chrono[0-9.]*
-)
-remake_pack_deb(
-  COMPONENT utils
-  DESCRIPTION "utilities"
-  DEPENDS libseekthermal libpng12-0
-)
-remake_pack_deb(
-  COMPONENT gui
-  DESCRIPTION "GUI"
-  DEPENDS libseekthermal libqtgui4
-)
-remake_pack_deb(
-  COMPONENT dev
-  DESCRIPTION "development headers"
-  DEPENDS libseekthermal
-)
-remake_pack_deb(
-  COMPONENT udev
-  DESCRIPTION "udev rules"
-  DEPENDS udev
-  EXTRA debian/rules/*
-)
-remake_pack_deb(
-  ARCH all
-  COMPONENT doc
-  DESCRIPTION "documentation"
-)
-
-remake_distribute_deb(
-  DISTRIBUTION precise
-  SECTION libs
-  UPLOAD ppa:kralf/asl
-  DEPENDS libboost-chrono1.48-dev libudev-dev libusb-1.0-0-dev
-    libpng12-dev libqt4-dev remake doxygen pkg-config
-  PASS CMAKE_BUILD_TYPE LIBSEEKTHERMAL_GIT_REVISION
-)
-remake_distribute_deb(
-  DISTRIBUTION trusty
-  SECTION libs
-  UPLOAD ppa:kralf/asl
-  DEPENDS libboost-chrono-dev libudev-dev libusb-1.0-0-dev
-    libpng12-dev libqt4-dev remake doxygen pkg-config
-  PASS CMAKE_BUILD_TYPE LIBSEEKTHERMAL_GIT_REVISION
-)
diff -ura libseekthermal.orig/src/bin/gui/view.cpp libseekthermal.new/src/bin/gui/view.cpp
--- libseekthermal.orig/src/bin/gui/view.cpp	2019-01-15 07:01:20.088124744 -0500
+++ libseekthermal.new/src/bin/gui/view.cpp	2019-01-15 07:13:23.432931063 -0500
@@ -18,6 +18,7 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
+#include <cmath>
 #include <iostream>
 #include <csignal>
 #include <limits>