summaryrefslogtreecommitdiff
path: root/clementine/clementine-gcc6.patch
blob: 24c38735e9ad107fafb5a5d17e4b8e11c4a1d239 (plain)
    1 From e31278c05666f8ae0e819bd831c65e8766ba2679 Mon Sep 17 00:00:00 2001
    2 From: Bigard Florian <florian.bigard@gmail.com>
    3 Date: Mon, 9 May 2016 11:55:34 +0200
    4 Subject: [PATCH] Fix projectm compilation with GCC 6 (#5371)
    5 
    6 ---
    7  3rdparty/libprojectm/CMakeLists.txt | 2 ++
    8  1 file changed, 2 insertions(+)
    9 
   10 diff --git a/3rdparty/libprojectm/CMakeLists.txt b/3rdparty/libprojectm/CMakeLists.txt
   11 index e6287f176..0ef785c49 100644
   12 --- a/3rdparty/libprojectm/CMakeLists.txt
   13 +++ b/3rdparty/libprojectm/CMakeLists.txt
   14 @@ -24,6 +24,8 @@ set(BUILD_PROJECTM_STATIC ON)
   15  set(DISABLE_NATIVE_PRESETS ON)
   16  set(DISABLE_MILKDROP_PRESETS OFF)
   17  
   18 +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++98")
   19 +
   20  if(DISABLE_NATIVE_PRESETS)
   21    ADD_DEFINITIONS(-DDISABLE_NATIVE_PRESETS)
   22  endif(DISABLE_NATIVE_PRESETS)

Generated by cgit