summaryrefslogtreecommitdiffstats
path: root/package/stella
Commit message (Collapse)AuthorAgeFilesLines
* stella: fix error when building with uClibc-ngSergio Prado2017-09-171-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uClibc-ng C library defines a type called R0 that conflits with a global variable called R0 from PaddleReader.cxx. src/emucore/tia/PaddleReader.cxx:25:3: error: ‘constexpr const double R0’ redeclared as different kind of symbol R0 = 1.5e3, ^ /home/sprado/workspace/build/buildroot/build/stella_uclibc/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/sys/ucontext.h:42:3:note: previous declaration ‘<anonymous enum> R0’ R0 = 0, ^~ So let's redefine R0 as a private member of the PaddleReader class. This patch has already been accepted upstream [1] and should be removed in the next version bump. [1] https://github.com/stella-emu/stella/commit/391601d2386e41372d6fa198fbe40287d2e87542 Fixes: http://autobuild.buildroot.net/results/9ab5772f01236eaa7def66a2f443f13efca8c34c http://autobuild.buildroot.net/results/5a4a194fe85e04ab31b146367c5a45e4f7688fca http://autobuild.buildroot.net/results/31f6bb3f5879d056fe152ca19b6b0367cc636212 ... Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* stella: fix build without threads supportSergio Prado2017-09-091-1/+3
| | | | | | | | | | | | | | | | | | | Fix build error when building using toolchain without threads support: src/common/tv_filters/AtariNTSC.hxx:172:16: error: 'thread' is not a member of 'std' unique_ptr<std::thread[]> myThreads; ^~~ Since version 5.0.2, Stella needs a toolchain with threads support. Fixes: http://autobuild.buildroot.net/results/bd30388ee24294158d0a373764408c8c846853d4 http://autobuild.buildroot.net/results/ad1571cecfc697650b436c147b5f3a1b4326091d http://autobuild.buildroot.net/results/10b73362358f3af45534a0cd096672dd1460a7d0 Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/stella: bump version to 5.0.2Bernd Kuhls2017-09-032-2/+2
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/stella: bump version to 5.0.1Sergio Prado2017-08-107-73/+15
| | | | | | | | | | | | | | Removed 0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch, since stella now uses -std=c++14 that builds fine when using PPC altivec vectorization. Removed 0004-gcc7.patch, backported from upstream. Update toolchain dependencies to gcc 4.9 since codebase now uses C++14 features. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> [Arnout: also remove 0004-gcc7.patch] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/stella: fix gcc7 supportBernd Kuhls2017-08-091-0/+23
| | | | | | | | Fixes http://autobuild.buildroot.net/results/6ed/6edd7950c402dbf433f3904193c645ebc8531c7e/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/stella: bump version to 4.7.3Bernd Kuhls2017-06-064-46/+2
| | | | | | | | 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>
* package/stella: fix project URLsBernd Kuhls2017-05-292-2/+2
| | | | | | | The project moved to github: http://stella.sourceforge.net/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/s*/Config.in: fix ordering of statementsAdam Duskett2017-05-021-3/+3
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter s in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* stella: fix bug when compiling with PPC altivec vectorizationSergio Prado2016-12-021-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | PPC altivec vectorization triggers a bug when compiling with -std=c++11 because "bool" is redefined in altivec.h. src/emucore/Event.hxx:112:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment myKeyTable[i] = false; ^ Acording to a bug report in GCC [1], "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 compile with -std=gnu++11 by default. Tested on ARM, x86 and PPC. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241#c3 Fixes: http://autobuild.buildroot.net/results/0970d2c8e1787ceffc46b589522e53d52675e03c http://autobuild.buildroot.net/results/ec1bc57675b6e53af0cd33d7b99cd2e3bf5d9d7e Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* stella: fix compiler search in configure scriptZakharov Vlad2016-08-171-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In configure script there are some tests that are looking for a suitable compiler. For this purpose script tries to compile and link some C++ code that is hardcoded in the body of script. The problem is that only linker flags ($LDFLAGS) are passed to the compiler when the script is compiling test code. Therefore some necessary command line options can be lost and this would lead to errors. This exactly happens to ARC: 1. -matomic option is lost as it compiler option, 2. test code compilation fails, 3. the script decides not to use arc-buildroot-linux-uclibc-g++, 4. scipt checks host compiler (x86_64-linux-gnu-g++ in your case), 5. package is being built for x86_64, not for ARC. About last 2 steps - I don't know why configure script should try to build stella for host machine. As for me an error should be raised and a build should be stopped. But this is up to stella developers. Current patch adds compiler options ($CXXFLAGS) when compiling test code in configure script. Fixes stella build for ARC, e. g.: http://autobuild.buildroot.net/results/c23/c23d655137b1c1825b1da69b18307c6a1d4b23b8// [Peter: s/CPPFLAGS/CXXFLAGS/] Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* stella: new packageSergio Prado2016-07-275-0/+111
Stella is a multi-platform Atari 2600 VCS emulator. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud