Jakub Skrzypnik <j.skrzyp...@openmailbox.org> writes: > Build system is pretty messy, I wasted few hours for non-defining > BSD_VISIBLE definition (added it to C{,XX}FLAGS finally),
Have you tried to remove -D_XOPEN_SOURCE* lines in CMakeLists.txt? Each BSD seems to have slightly different way to hide namespace pollution to be POSIX-ly correct. > > From DESCR: >> PPSSPP is an Sony PlayStation Portable emulator using HLE (high-Level >> Emulation), so you don't need a operating system's ROM to use it. > > PS: I used my own storage for DISTFILES, becuase the Git source tree > contains about 10 submodules, PPSSPP v1.3 only needs 3 distfiles while v1.4 - only 6. It should build fine without downloading submodules for dx9sdk, ffmpeg, pspautotests or glslang (before v1.4). > LIB_DEPENDS = graphics/ffmpeg \ Beware of https://github.com/hrydgard/ppsspp/issues/9026 > graphics/png \ PPSSPP v1.3 has bundled libpng v1.7.0beta35 which is affected by CVE-2016-10087, CVE-2015-8472, CVE-2015-8126, CVE-2014-9495, CVE-2015-0973. Maybe unbundle e.g., https://svnweb.freebsd.org/ports/head/emulators/ppsspp/files/patch-system-libpng16?revision=422387&view=markup > archivers/snappy\ libzip can also be unbundled. > CONFIGURE_ARGS =-DUSE_SYSTEM_FFMPEG=True arm* may also want -DUSING_EGL=off as EGL doesn't seem to work with X11. aarch64 would have to wait for v1.4 or later.