svn commit: r530485 - in head/emulators/emu64: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Apr 3 12:16:01 UTC 2020
Author: pkubaj
Date: Fri Apr 3 12:15:52 2020
New Revision: 530485
URL: https://svnweb.freebsd.org/changeset/ports/530485
Log:
emulators/emu64: fix build on PPC and ARM
char on PPC and ARM is unsigned.
PR: 245200
MFH: 2020Q2 (build fix blanket)
Added:
head/emulators/emu64/files/
head/emulators/emu64/files/patch-src_c64__class.cpp (contents, props changed)
Modified:
head/emulators/emu64/Makefile
Modified: head/emulators/emu64/Makefile
==============================================================================
--- head/emulators/emu64/Makefile Fri Apr 3 10:53:15 2020 (r530484)
+++ head/emulators/emu64/Makefile Fri Apr 3 12:15:52 2020 (r530485)
@@ -15,10 +15,12 @@ LIB_DEPENDS= libquazip5.so:archivers/quazip \
libpng.so:graphics/png \
libavcodec.so:multimedia/ffmpeg
-USES= compiler:c++11-lang desktop-file-utils gl pkgconfig \
+USES= compiler:c++11-lang desktop-file-utils dos2unix gl pkgconfig \
qmake:outsource qt:5 sdl
USE_GL= gl glu
USE_QT= core gui widgets buildtools_build linguisttools_build
+
+DOS2UNIX_FILES= src/c64_class.cpp
USE_SDL= sdl2 image2
USE_GITHUB= yes
Added: head/emulators/emu64/files/patch-src_c64__class.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/emu64/files/patch-src_c64__class.cpp Fri Apr 3 12:15:52 2020 (r530485)
@@ -0,0 +1,11 @@
+--- src/c64_class.cpp.orig 2020-04-03 11:33:28 UTC
++++ src/c64_class.cpp
+@@ -1757,7 +1757,7 @@ void C64Class::SetFullscreenAspectRatio(bool enable)
+ void C64Class::AnalyzeSDLEvent(SDL_Event *event)
+ {
+ static bool joy_center_flag = true;
+- static char joy_axis_tbl[5] = {1,1,0,0,-1};
++ static signed char joy_axis_tbl[5] = {1,1,0,0,-1};
+
+ SDL_Keymod keymod;
+
More information about the svn-ports-all
mailing list