diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-05-29 21:14:29 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-06 23:02:45 +0200 |
commit | d44bf71d2cb6d396ffb9c04d65c040f40f1d7952 (patch) | |
tree | 4df19e94f26f8b331f68895140619b7d1c9ecbd2 /package/stella/0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch | |
parent | 41e86cd5cad853d7778231be8ce7c6fdb87e3da4 (diff) | |
download | buildroot-d44bf71d2cb6d396ffb9c04d65c040f40f1d7952.tar.gz buildroot-d44bf71d2cb6d396ffb9c04d65c040f40f1d7952.zip |
package/stella: bump version to 4.7.3
Removed patch applied upstream:
https://github.com/stella-emu/stella/commit/be2f6f5b64266f4d68af6a2236bd4b59a7e6638d
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/stella/0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch')
-rw-r--r-- | package/stella/0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/stella/0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch b/package/stella/0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch new file mode 100644 index 0000000000..76d12a2cdd --- /dev/null +++ b/package/stella/0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch @@ -0,0 +1,35 @@ +From 6946a491cae42b971aad3bc5d822e0e549eca8bd Mon Sep 17 00:00:00 2001 +From: Sergio Prado <sergio.prado@e-labworks.com> +Date: Thu, 1 Dec 2016 15:20:33 -0200 +Subject: [PATCH] Use gnu++11 standard to prevent errors on PPC. + +PPC altivec vectorization triggers a bug when compiling with -std=c++11 +because "bool" is redefined in altivec.h. + +Acording to a bug report in GCC, "You need to use -std=g++11 or +undefine bool after the include of altivec.h as context sensitive +keywords is not part of the C++11 standard". + +So let's use gnu++11 standard. + +Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 6dd0129587b3..6ed50ea4c335 100644 +--- a/Makefile ++++ b/Makefile +@@ -51,7 +51,7 @@ else + endif + CXXFLAGS+= -Wall -Wextra -Wno-unused-parameter -Wno-ignored-qualifiers + ifdef HAVE_GCC +- CXXFLAGS+= -Wno-multichar -Wunused -fno-rtti -Woverloaded-virtual -Wnon-virtual-dtor -std=c++11 ++ CXXFLAGS+= -Wno-multichar -Wunused -fno-rtti -Woverloaded-virtual -Wnon-virtual-dtor -std=gnu++11 + endif + + ifdef PROFILE +-- +1.9.1 + |