Commit a64a01d4 authored by Florent Revest's avatar Florent Revest

lipstick: Fix build with GCC 6

parent 7945bc2a
From 7b73acdc5e10c3d4ffc0219504698bf4f489157b Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Sun, 30 Oct 2016 21:52:00 +0100
Subject: [PATCH] Add a missing math.h include
---
src/compositor/hwcimage.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/compositor/hwcimage.cpp b/src/compositor/hwcimage.cpp
index 25ee330..24a7364 100644
--- a/src/compositor/hwcimage.cpp
+++ b/src/compositor/hwcimage.cpp
@@ -28,6 +28,8 @@
#include <EGL/egl.h>
#include <EGL/eglext.h>
+#include <math.h>
+
static bool hwcimage_is_enabled();
#define HWCIMAGE_LOAD_EVENT ((QEvent::Type) (QEvent::User + 1))
--
2.10.1
...@@ -7,7 +7,8 @@ SRC_URI = "git://git.merproject.org/mer-core/lipstick.git;protocol=https \ ...@@ -7,7 +7,8 @@ SRC_URI = "git://git.merproject.org/mer-core/lipstick.git;protocol=https \
file://0001-Disables-tests-tools-and-doc-and-fixes-build.patch \ file://0001-Disables-tests-tools-and-doc-and-fixes-build.patch \
file://0002-Store-notifications-database-inside-cere-s-home-dire.patch \ file://0002-Store-notifications-database-inside-cere-s-home-dire.patch \
file://0003-Fix-build-with-no-accessibility.patch \ file://0003-Fix-build-with-no-accessibility.patch \
file://0004-notificationcategories-use-ion-icons.patch" file://0004-notificationcategories-use-ion-icons.patch \
file://0005-Add-a-missing-math.h-include.patch"
SRCREV = "d393a948d2d7d179dbe5dedf3ae68543e655507a" SRCREV = "d393a948d2d7d179dbe5dedf3ae68543e655507a"
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