summaryrefslogtreecommitdiff
path: root/libre/clementine/clementine-gcc6.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-06 16:34:03 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-08-06 16:34:03 -0500
commitf3718e975c91fd89b6af19408621b37f34b06c5a (patch)
tree0bb75c60da06c587943d3e5c32dd56c74299cd2a /libre/clementine/clementine-gcc6.patch
parent12a5b238a074a6b2e9d3e623661d3c301ff61bdf (diff)
downloadabslibre-f3718e975c91fd89b6af19408621b37f34b06c5a.tar.gz
abslibre-f3718e975c91fd89b6af19408621b37f34b06c5a.tar.bz2
abslibre-f3718e975c91fd89b6af19408621b37f34b06c5a.zip
clementine-1.3.1-9.parabola1: GLEW 2.1.0 rebuild
Diffstat (limited to 'libre/clementine/clementine-gcc6.patch')
-rw-r--r--libre/clementine/clementine-gcc6.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/libre/clementine/clementine-gcc6.patch b/libre/clementine/clementine-gcc6.patch
new file mode 100644
index 000000000..24c38735e
--- /dev/null
+++ b/libre/clementine/clementine-gcc6.patch
@@ -0,0 +1,22 @@
+From e31278c05666f8ae0e819bd831c65e8766ba2679 Mon Sep 17 00:00:00 2001
+From: Bigard Florian <florian.bigard@gmail.com>
+Date: Mon, 9 May 2016 11:55:34 +0200
+Subject: [PATCH] Fix projectm compilation with GCC 6 (#5371)
+
+---
+ 3rdparty/libprojectm/CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/3rdparty/libprojectm/CMakeLists.txt b/3rdparty/libprojectm/CMakeLists.txt
+index e6287f176..0ef785c49 100644
+--- a/3rdparty/libprojectm/CMakeLists.txt
++++ b/3rdparty/libprojectm/CMakeLists.txt
+@@ -24,6 +24,8 @@ set(BUILD_PROJECTM_STATIC ON)
+ set(DISABLE_NATIVE_PRESETS ON)
+ set(DISABLE_MILKDROP_PRESETS OFF)
+
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++98")
++
+ if(DISABLE_NATIVE_PRESETS)
+ ADD_DEFINITIONS(-DDISABLE_NATIVE_PRESETS)
+ endif(DISABLE_NATIVE_PRESETS)