Commit 7ae1220d authored by Florent Revest's avatar Florent Revest

qtaround: Fix build with GCC 6

parent 6ea24611
From 1586d7e8e2bd8de1b8ee12924871adf240e831da Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Sun, 30 Oct 2016 18:13:39 +0100
Subject: [PATCH] Add a missing math.h include
---
src/util.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/util.cpp b/src/util.cpp
index d738815..0843785 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -11,6 +11,8 @@
#include <QString>
#include <QMap>
+#include <math.h>
+
namespace qtaround {
namespace error {
--
2.10.1
...@@ -3,7 +3,8 @@ HOMEPAGE = "https://git.merproject.org/mer-core/qtaround" ...@@ -3,7 +3,8 @@ HOMEPAGE = "https://git.merproject.org/mer-core/qtaround"
LICENSE = "LGPL-2.1+" LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9d1d95673c01a94e06648bf72ecda12d" LIC_FILES_CHKSUM = "file://LICENSE;md5=9d1d95673c01a94e06648bf72ecda12d"
SRC_URI = "git://git.merproject.org/mer-core/qtaround.git;protocol=https" SRC_URI = "git://git.merproject.org/mer-core/qtaround.git;protocol=https \
file://0001-Add-a-missing-math.h-include.patch"
SRCREV = "bf7f438ea7281d3341f6b353a427a15b2cf10a7c" SRCREV = "bf7f438ea7281d3341f6b353a427a15b2cf10a7c"
PR = "r1" PR = "r1"
PV = "+git${SRCREV}" PV = "+git${SRCREV}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment