[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#717949: tetzle: build failures on ARM

source: tetzle

----- Forwarded message from Graeme Gott <graeme@gottcode.org> -----

Date: Fri, 26 Jul 2013 18:16:01 -0400
From: Graeme Gott <graeme@gottcode.org>
To: Bart Martens <bartm@debian.org>
Subject: Build failures for Tetzle
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

I noticed that there are some build failures for Tetzle on ARM
platforms, and I have created a patch that should fix the issue.
Unfortunately, I don't have any ARM systems to test with, but I have
attached the patch in case you can test it or you want to add it to the
Debian package.

Graeme Gott

>From b614c9153681c21dbea6eec5511bf5ad5cc24616 Mon Sep 17 00:00:00 2001
From: Graeme Gott <graeme@gottcode.org>
Date: Fri, 26 Jul 2013 18:11:33 -0400
Subject: [PATCH] Fixed build failure on ARM.

 src/graphics_layer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/graphics_layer.cpp b/src/graphics_layer.cpp
index c9ff010..1ef447e 100644
--- a/src/graphics_layer.cpp
+++ b/src/graphics_layer.cpp
@@ -143,7 +143,7 @@ static inline void convertMatrix(const float* in, GLfloat* out)
 	std::copy(in, in + 16, out);
-static inline void convertMatrix(const qreal* in, GLfloat* out)
+static inline void convertMatrix(const double* in, GLfloat* out)
 	for (int i = 0; i < 16; ++i) {
 		out[i] = static_cast<GLfloat>(in[i]);

----- End forwarded message -----



Bart Martens

Reply to: