Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37709492
en ru br
Репозитории ALT
S:2.3.6-alt2
D:1.6.0-alt1
5.1: 1.7.2-alt0.M51.1
www.altlinux.org/Changes

Группа :: Звук
Пакет: mixxx

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: mixxx-2.0.0-upstream-gcc6.patch
Скачать


--- ./src/util/math.h.orig	2016-07-14 04:13:22.861482580 +0100
+++ ./src/util/math.h	2016-07-14 04:15:36.966067224 +0100
@@ -4,7 +4,13 @@
 // Causes MSVC to define M_PI and friends.
 // http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
 #define _USE_MATH_DEFINES
-#include <cmath>
+#include <math.h>
+#include <cmath> 
+// Note: Because of our fpclassify hack, we actualy need to inlude both, 
+// the c and the c++ version of the math header.  
+// From GCC 6.1.1 math.h depends on cmath, which failes to compile if included 
+// after our fpclassify hack 
+
 #include <algorithm>
 
 #include "util/assert.h"
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin