Index: head/emulators/Makefile =================================================================== --- head/emulators/Makefile (revision 387238) +++ head/emulators/Makefile (revision 387239) @@ -1,176 +1,177 @@ # $FreeBSD$ # COMMENT = Emulators for other operating systems SUBDIR += adamem SUBDIR += advancemame SUBDIR += advancemenu SUBDIR += advancemess SUBDIR += aftp SUBDIR += aqemu SUBDIR += atari800 SUBDIR += bfe SUBDIR += bochs SUBDIR += bsvc SUBDIR += catapult SUBDIR += cinc SUBDIR += cingb SUBDIR += cpmemu SUBDIR += cpmtools SUBDIR += cpmtools2 SUBDIR += darcnes SUBDIR += dboxfe SUBDIR += desmume SUBDIR += dgen-sdl SUBDIR += dolphin-emu SUBDIR += dosbox SUBDIR += doscmd SUBDIR += dtcyber SUBDIR += dynagen SUBDIR += dynagui SUBDIR += dynamips SUBDIR += dynamips-community SUBDIR += dynamips-devel SUBDIR += e-uae SUBDIR += fceux SUBDIR += fmsx SUBDIR += frodo SUBDIR += fs-uae SUBDIR += fs-uae-launcher SUBDIR += fuse SUBDIR += fuse-roms SUBDIR += fuse-utils SUBDIR += gbe SUBDIR += gem5 SUBDIR += generator SUBDIR += generator-cbiere SUBDIR += gens SUBDIR += gngb SUBDIR += gngeo SUBDIR += gns3 SUBDIR += gnuboy SUBDIR += gxemul SUBDIR += hatari SUBDIR += hercules SUBDIR += higan SUBDIR += hugo SUBDIR += hyperv-is SUBDIR += i386-wine SUBDIR += i386-wine-compholio SUBDIR += i386-wine-devel SUBDIR += ia64sim SUBDIR += ines SUBDIR += javatari SUBDIR += joytran SUBDIR += jzintv SUBDIR += kcemu SUBDIR += klh10 SUBDIR += kqemu-kmod SUBDIR += kqemu-kmod-devel SUBDIR += lib765 SUBDIR += libdsk SUBDIR += libspectrum SUBDIR += linux-c6 SUBDIR += linux-f10 SUBDIR += linux_base-c6 SUBDIR += linux_base-f10 SUBDIR += lisaem SUBDIR += loemu SUBDIR += m2000 SUBDIR += mame SUBDIR += mastergear SUBDIR += mednafen SUBDIR += mess SUBDIR += minivmac SUBDIR += mtools SUBDIR += mupen64plus SUBDIR += mupen64plus-audio-sdl SUBDIR += mupen64plus-core SUBDIR += mupen64plus-input-sdl SUBDIR += mupen64plus-plugins SUBDIR += mupen64plus-rsp-hle SUBDIR += mupen64plus-rsp-z64 SUBDIR += mupen64plus-ui-console SUBDIR += mupen64plus-video-arachnoid SUBDIR += mupen64plus-video-glide64 SUBDIR += mupen64plus-video-glide64mk2 SUBDIR += mupen64plus-video-rice SUBDIR += mupen64plus-video-z64 SUBDIR += nonpareil SUBDIR += o2em SUBDIR += ods2reader SUBDIR += open-vm-tools SUBDIR += open-vm-tools-nox11 SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools SUBDIR += pcemu SUBDIR += pcsxr SUBDIR += pearpc SUBDIR += pipelight + SUBDIR += ppsspp SUBDIR += q4wine SUBDIR += qemu SUBDIR += qemu-devel SUBDIR += qemu-launcher SUBDIR += qemu-sbruno SUBDIR += qemu-user-static SUBDIR += qmc2 SUBDIR += qtemu SUBDIR += quasi88 SUBDIR += raine SUBDIR += rtc SUBDIR += rubygem-fission SUBDIR += sim6811 SUBDIR += simh SUBDIR += skyeye SUBDIR += snes9express SUBDIR += snes9x SUBDIR += snes9x-gtk SUBDIR += spim SUBDIR += stella SUBDIR += stonx SUBDIR += swine SUBDIR += tiemu3 SUBDIR += tilem SUBDIR += tme SUBDIR += tpm-emulator SUBDIR += tuxnes SUBDIR += uae SUBDIR += ucon64 SUBDIR += vba SUBDIR += vboxtool SUBDIR += vgb-bin SUBDIR += vgba-bin SUBDIR += vice SUBDIR += virtio-kmod SUBDIR += virtualbox-ose SUBDIR += virtualbox-ose-additions SUBDIR += virtualbox-ose-kmod SUBDIR += visualboyadvance-m SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmw SUBDIR += vxtools SUBDIR += wine SUBDIR += wine-compholio SUBDIR += wine-devel SUBDIR += wine-gecko SUBDIR += wine-gecko-devel SUBDIR += wine-mono SUBDIR += wine-mono-devel SUBDIR += wxmupen64plus SUBDIR += x48 SUBDIR += x49gp SUBDIR += xbraitenberg SUBDIR += xcpc SUBDIR += xen SUBDIR += xen-kernel SUBDIR += xhomer SUBDIR += xsystem35 SUBDIR += xzx SUBDIR += yabause SUBDIR += yape SUBDIR += zsnes .include Index: head/emulators/ppsspp/Makefile =================================================================== --- head/emulators/ppsspp/Makefile (nonexistent) +++ head/emulators/ppsspp/Makefile (revision 387239) @@ -0,0 +1,110 @@ +# $FreeBSD$ + +PORTNAME= ppsspp +PORTVERSION= 1.0.1 +DISTVERSIONPREFIX= v +CATEGORIES= emulators +.ifndef GITHUB_GROUPS +MASTER_SITES= https://codeload.github.com/${GH_ACCOUNT}/${PORTNAME}-lang/tar.gz/52c757e?dummy=/:lang \ + https://codeload.github.com/${GH_ACCOUNT}/native/tar.gz/52ce9c1?dummy=/:native \ + https://codeload.github.com/Kingcom/armips/tar.gz/a0b878f?dummy=/:ext_armips +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \ + ${GH_ACCOUNT}-${PORTNAME}-lang-52c757e_GH${_GITHUB_REV}${EXTRACT_SUFX}:lang \ + ${GH_ACCOUNT}-native-52ce9c1_GH${_GITHUB_REV}${EXTRACT_SUFX}:native \ + Kingcom-armips-a0b878f_GH${_GITHUB_REV}${EXTRACT_SUFX}:ext_armips +.endif + +PATCH_SITES= https://projects.archlinux.org/svntogit/community.git/plain/trunk/ +PATCHFILES= ${PORTNAME}-ffmpeg.patch?id=f2b9251:-p1 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= PSP emulator in C++ with dynarec JIT for x86, ARM, MIPS + +LICENSE= GPLv2 # or any later version + +LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg + +USE_GITHUB= yes +.ifndef GITHUB_GROUPS +GH_ACCOUNT= hrydgard +.else # XXX D2608 version, groups are converted to paths later +GH_ACCOUNT= hrydgard:DEFAULT,lang,native Kingcom:ext_armips +GH_PROJECT= ${PORTNAME}-lang:lang native:native armips:ext_armips +GH_TAGNAME= 52c757e:lang 52ce9c1:native a0b878f:ext_armips +.endif + +USES= compiler:c++11-lib pkgconfig +USE_GL= glu +USE_SDL= sdl2 # joystick +QMAKE_SOURCE_PATH= ${WRKSRC}/Qt/PPSSPPQt.pro +QMAKE_ARGS= CONFIG+="system_ffmpeg" LREL_TOOL="${LRELEASE}" +NINJA_VERBOSE= yes +INSTALLS_ICONS= yes + +OPTIONS_DEFAULT=QT5 +OPTIONS_SINGLE= GUI +OPTIONS_SINGLE_GUI= QT4 QT5 SDL + +QT4_USES= qmake:outsource +QT4_USE= QT4=qmake_build,moc_build,rcc_build,uic_build,linguisttools_build,gui,opengl +QT5_USES= qmake:outsource +QT5_USE= QT5=qmake_build,buildtools_build,linguisttools_build,gui,opengl,widgets +SDL_USES= cmake:outsource ninja +SDL_LDFLAGS= -L${LOCALBASE}/lib # ffmpeg + +.include + +.if ! ${PORT_OPTIONS:MQT*} +PORTDATA+= assets ${PORTNAME} +.endif + +post-extract: +.ifndef GITHUB_GROUPS + @${RMDIR} ${WRKSRC}/lang + @${MV} ${WRKDIR}/${PORTNAME}-lang-52c757e ${WRKSRC}/lang + @${RMDIR} ${WRKSRC}/native + @${MV} ${WRKDIR}/native-52ce9c1 ${WRKSRC}/native + @${RMDIR} ${WRKSRC}/ext/armips + @${MV} ${WRKDIR}/armips-a0b878f ${WRKSRC}/ext/armips +.else # XXX D2608 version +# Convert USE_GITHUB groups to git-submodule(1) paths +.for group in ${GH_PROJECT:C/.*://} + @${RMDIR} ${WRKSRC}/${group:S,_,/,g} + @${MV} ${WRKSRC_${group}} ${WRKSRC}/${group:S,_,/,g} +.endfor +.endif + +post-patch: + @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ + ${WRKSRC}/UI/NativeApp.cpp + @${REINPLACE_CMD} -e '/find_package(Git)/d' \ + -e 's/"unknown"/"${GH_TAGNAME}"/' \ + -e 's/^\(VERSION =\).*/\1 ${GH_TAGNAME}/' \ + ${WRKSRC}/git-version.cmake \ + ${WRKSRC}/Qt/Settings.pri + +do-install: +.if ! ${PORT_OPTIONS:MQT*} +# cmake doesn't pack assets into the app unlike qmake +# XXX Convert to ${PORTDATA:N${PORTNAME}} once fmake is EOL + (cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} \ + "${PORTDATA:Nppsspp}" ${STAGEDIR}${DATADIR}) +# Install the app alongside assets to avoid warnings with GetExeDirectory() + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME:tu}* \ + ${STAGEDIR}${DATADIR}/${PORTNAME} + ${LN} -sf ${DATADIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin +.else + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin +.endif + ${INSTALL_DATA} ${WRKSRC}/debian/${PORTNAME}.desktop \ + ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/debian/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 + (cd ${WRKSRC}/assets/unix-icons && ${COPYTREE_SHARE} \ + "hicolor" ${STAGEDIR}${PREFIX}/share/icons) + ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps + ${INSTALL_DATA} ${WRKSRC}/assets/unix-icons/icon-512.svg \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg + +.include Property changes on: head/emulators/ppsspp/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/distinfo =================================================================== --- head/emulators/ppsspp/distinfo (nonexistent) +++ head/emulators/ppsspp/distinfo (revision 387239) @@ -0,0 +1,10 @@ +SHA256 (hrydgard-ppsspp-v1.0.1_GH0.tar.gz) = e2d656671301a13e13f94c0a3021eaacacc9428fa9df60307b16ed5b4498812c +SIZE (hrydgard-ppsspp-v1.0.1_GH0.tar.gz) = 14199883 +SHA256 (hrydgard-ppsspp-lang-52c757e_GH0.tar.gz) = 9f9c97e1d506645f68dfb7fbd6c380be0bb66d23f56a33251bb50ac95b498e8a +SIZE (hrydgard-ppsspp-lang-52c757e_GH0.tar.gz) = 193165 +SHA256 (hrydgard-native-52ce9c1_GH0.tar.gz) = 2d3fbcc0685046326f21158892c235a1dcd4770d1cfedd29da0e06daa9c2ce5e +SIZE (hrydgard-native-52ce9c1_GH0.tar.gz) = 1393991 +SHA256 (Kingcom-armips-a0b878f_GH0.tar.gz) = 64623bbddda609f9692904e6b6823b1d2d4dd0149349f2be9edcc600bf12bafa +SIZE (Kingcom-armips-a0b878f_GH0.tar.gz) = 136535 +SHA256 (ppsspp-ffmpeg.patch?id=f2b9251) = 4d60b99f9e6fe1bb81b2b1b648845f9e76289ba824fcb5e53f2117d0319e086d +SIZE (ppsspp-ffmpeg.patch?id=f2b9251) = 6304 Property changes on: head/emulators/ppsspp/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-CMakeLists.txt =================================================================== --- head/emulators/ppsspp/files/patch-CMakeLists.txt (nonexistent) +++ head/emulators/ppsspp/files/patch-CMakeLists.txt (revision 387239) @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2015-02-26 20:05:06 UTC ++++ CMakeLists.txt +@@ -21,6 +21,8 @@ if(CMAKE_SYSTEM_PROCESSOR) + if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^armv7") + set(ARMV7 ON) + endif() ++ elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^amd64") ++ set(X86 ON) + elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "i.86") + set(X86 ON) + elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^mips") +@@ -250,7 +252,7 @@ if(NOT MSVC) + if (NOT CMAKE_C_COMPILER_ID STREQUAL "Intel" AND NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") + add_definitions(-Wno-psabi) + endif() +- add_definitions(-D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D__BSD_VISIBLE=1) ++ add_definitions(-D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED -D__BSD_VISIBLE=1) + add_definitions(-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64) + endif() + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") Property changes on: head/emulators/ppsspp/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Common_CPUDetect.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Common_CPUDetect.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Common_CPUDetect.cpp (revision 387239) @@ -0,0 +1,21 @@ +--- Common/CPUDetect.cpp.orig 2015-02-26 20:05:06 UTC ++++ Common/CPUDetect.cpp +@@ -62,17 +62,7 @@ static unsigned long long _xgetbv(unsign + #define _XCR_XFEATURE_ENABLED_MASK 0 + #endif + +-#if defined __FreeBSD__ +-#include +-#include +- +-void do_cpuidex(u32 regs[4], u32 cpuid_leaf, u32 ecxval) { +- __cpuidex((int *)regs, cpuid_leaf, ecxval); +-} +-void do_cpuid(u32 regs[4], u32 cpuid_leaf) { +- __cpuid((int *)regs, cpuid_leaf); +-} +-#elif !defined(MIPS) ++#if !defined(MIPS) + + void do_cpuidex(u32 regs[4], u32 cpuid_leaf, u32 ecxval) { + #if defined(__i386__) && defined(__PIC__) Property changes on: head/emulators/ppsspp/files/patch-Common_CPUDetect.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Common_FileUtil.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Common_FileUtil.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Common_FileUtil.cpp (revision 387239) @@ -0,0 +1,40 @@ +--- Common/FileUtil.cpp.orig 2015-02-26 20:05:06 UTC ++++ Common/FileUtil.cpp +@@ -35,6 +35,11 @@ + #include + #endif + ++#if defined(__DragonFly__) || defined(__FreeBSD__) ++#include // KERN_PROC_PATHNAME ++#include // getpid ++#endif ++ + #if defined(__APPLE__) + #include + #include +@@ -703,7 +708,7 @@ const std::string &GetExeDirectory() + ExePath = program_path; + #endif + +-#elif (defined(__APPLE__) && !defined(IOS)) || defined(__linux__) ++#elif (defined(__APPLE__) && !defined(IOS)) || defined(__linux__) || defined(KERN_PROC_PATHNAME) + char program_path[4096]; + uint32_t program_path_size = sizeof(program_path) - 1; + +@@ -711,6 +716,16 @@ const std::string &GetExeDirectory() + if (readlink("/proc/self/exe", program_path, 4095) > 0) + #elif defined(__APPLE__) && !defined(IOS) + if (_NSGetExecutablePath(program_path, &program_path_size) == 0) ++#elif defined(KERN_PROC_PATHNAME) ++ int mib[4] = { ++ CTL_KERN, ++ KERN_PROC, ++ KERN_PROC_PATHNAME, ++ getpid() ++ }; ++ size_t sz = program_path_size; ++ ++ if (sysctl(mib, 4, program_path, &sz, NULL, 0) == 0) + #else + #error Unmatched ifdef. + #endif Property changes on: head/emulators/ppsspp/files/patch-Common_FileUtil.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Common_MemArena.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Common_MemArena.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Common_MemArena.cpp (revision 387239) @@ -0,0 +1,11 @@ +--- Common/MemArena.cpp.orig 2015-02-26 20:05:06 UTC ++++ Common/MemArena.cpp +@@ -189,7 +189,7 @@ void *MemArena::CreateView(s64 offset, s + // Do not sync memory to underlying file. Linux has this by default. + #ifdef BLACKBERRY + MAP_NOSYNCFILE | +-#elif defined(__FreeBSD__) ++#elif defined(__DragonFly__) || defined(__FreeBSD__) + MAP_NOSYNC | + #endif + ((base == 0) ? 0 : MAP_FIXED), fd, offset); Property changes on: head/emulators/ppsspp/files/patch-Common_MemArena.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Common_MemoryUtil.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Common_MemoryUtil.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Common_MemoryUtil.cpp (revision 387239) @@ -0,0 +1,47 @@ +--- Common/MemoryUtil.cpp.orig 2015-02-26 20:05:06 UTC ++++ Common/MemoryUtil.cpp +@@ -49,6 +49,13 @@ static SYSTEM_INFO sys_info; + #define round_page(x) ((((uintptr_t)(x)) + PAGE_MASK) & ~(PAGE_MASK)) + #endif + ++#if defined(__FreeBSD__) ++/* setrlimit(2) */ ++#include ++#include ++#include ++#endif ++ + #ifdef __SYMBIAN32__ + #include + #define CODECHUNK_SIZE 1024*1024*20 +@@ -142,6 +149,21 @@ void* AllocateExecutableMemory(size_t si + map_hint = (char*)round_page(&hint_location) - 0x20000000; // 0.5gb lower than our approximate location + else + map_hint = (char*)0x20000000; // 0.5GB mark in memory ++ ++#if defined(__FreeBSD__) ++ // XXX Fix maximum data segment size (data + BSS + heap) to 256 MB. ++ // This allows avoiding calling mmap(2) with MAP_FIXED. ++ // On FreeBSD, without lowering this limit, calling mmap(2) ++ // without MAP_FIXED will result in getting an address just ++ // beyond maximum data segment size which will be far beyond ++ // the desired 2 GB. ++ struct rlimit limit; ++ limit.rlim_cur = 0x10000000; // 256 MB ++ limit.rlim_max = 0x10000000; ++ if(setrlimit(RLIMIT_DATA, &limit) != 0) { ++ PanicAlert("Failed to lower maximum data segment size"); ++ } ++#endif + } + else if (exec && (uintptr_t) map_hint > 0xFFFFFFFFULL) + { +@@ -160,7 +182,7 @@ void* AllocateExecutableMemory(size_t si + // printf("Mapped executable memory at %p (size %ld)\n", ptr, + // (unsigned long)size); + +-#if defined(__FreeBSD__) ++#if !defined(_WIN32) && !defined(__SYMBIAN32__) + if (ptr == MAP_FAILED) + { + ptr = NULL; Property changes on: head/emulators/ppsspp/files/patch-Common_MemoryUtil.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Common_StdMutex.h =================================================================== --- head/emulators/ppsspp/files/patch-Common_StdMutex.h (nonexistent) +++ head/emulators/ppsspp/files/patch-Common_StdMutex.h (revision 387239) @@ -0,0 +1,17 @@ +--- Common/StdMutex.h.orig 2015-02-26 20:05:06 UTC ++++ Common/StdMutex.h +@@ -4,12 +4,10 @@ + #define GCC_VER(x,y,z) ((x) * 10000 + (y) * 100 + (z)) + #define GCC_VERSION GCC_VER(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__) + +-// Note: __MAC_10_7 is defined on 10.7+. +-#if (GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ || defined(__APPLE__)) \ +-/* GCC 4.4 provides , except on these platforms: */ \ +- && !defined(ANDROID) && !defined(__SYMBIAN32__) && !defined(MACGNUSTD) ++#if __cplusplus >= 201103L + #include + #else ++#warning "partial implementation" + + // partial implementation for win32/pthread + #include Property changes on: head/emulators/ppsspp/files/patch-Common_StdMutex.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Common_Swap.h =================================================================== --- head/emulators/ppsspp/files/patch-Common_Swap.h (nonexistent) +++ head/emulators/ppsspp/files/patch-Common_Swap.h (revision 387239) @@ -0,0 +1,18 @@ +--- Common/Swap.h.orig 2015-02-26 20:05:06 UTC ++++ Common/Swap.h +@@ -71,6 +71,15 @@ inline unsigned long long bswap64(unsign + inline unsigned int bswap32(unsigned int x) { return __loadwordbytereverse(0, &x); } + inline unsigned short bswap16(unsigned short x) { return __loadshortbytereverse(0, &x); } + #endif ++#elif defined(__DragonFly__) || defined(__FreeBSD__) || \ ++ defined(__NetBSD__) || defined(__OpenBSD__) ++#include ++# ifdef __OpenBSD__ ++#define bswap16 swap16 ++#define bswap32 swap32 ++#define bswap64 swap64 ++#define ++# endif + #else + // TODO: speedup + inline unsigned short bswap16(unsigned short x) { return (x << 8) | (x >> 8); } Property changes on: head/emulators/ppsspp/files/patch-Common_Swap.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Core_FileSystems_tlzrc.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Core_FileSystems_tlzrc.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Core_FileSystems_tlzrc.cpp (revision 387239) @@ -0,0 +1,12 @@ +--- Core/FileSystems/tlzrc.cpp.orig 2015-02-26 20:05:06 UTC ++++ Core/FileSystems/tlzrc.cpp +@@ -22,9 +22,6 @@ + #include + #include + #include +-#if !defined(__SYMBIAN32__) && !defined(__MAC_10_6) +-#include +-#endif + + #include "Common.h" + Property changes on: head/emulators/ppsspp/files/patch-Core_FileSystems_tlzrc.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Core_HLE_ReplaceTables.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Core_HLE_ReplaceTables.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Core_HLE_ReplaceTables.cpp (revision 387239) @@ -0,0 +1,11 @@ +--- Core/HLE/ReplaceTables.cpp.orig 2015-02-26 20:05:06 UTC ++++ Core/HLE/ReplaceTables.cpp +@@ -1007,6 +1007,8 @@ static int Hook_photokano_download_frame + #define JITFUNC(f) (&MIPSComp::Jit::f) + #elif defined(MIPS) + #define JITFUNC(f) (&MIPSComp::Jit::f) ++#else ++#define JITFUNC(f) (&MIPSComp::FakeJit::f) + #endif + + // Can either replace with C functions or functions emitted in Asm/ArmAsm. Property changes on: head/emulators/ppsspp/files/patch-Core_HLE_ReplaceTables.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Core_HLE_sceRtc.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Core_HLE_sceRtc.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Core_HLE_sceRtc.cpp (revision 387239) @@ -0,0 +1,38 @@ +--- Core/HLE/sceRtc.cpp.orig 2015-02-26 20:05:06 UTC ++++ Core/HLE/sceRtc.cpp +@@ -459,7 +459,7 @@ static int sceRtcConvertLocalTimeToUTC(u + { + u64 srcTick = Memory::Read_U64(tickLocalPtr); + // TODO : Let the user select his timezone / daylight saving instead of taking system param ? +-#if defined(__GLIBC__) || defined(BLACKBERRY) || defined(__SYMBIAN32__) ++#if 1 // #else block uses undeclared `timezone' + time_t timezone = 0; + tm *time = localtime(&timezone); + srcTick -= time->tm_gmtoff*1000000ULL; +@@ -482,7 +482,7 @@ static int sceRtcConvertUtcToLocalTime(u + { + u64 srcTick = Memory::Read_U64(tickUTCPtr); + // TODO : Let the user select his timezone / daylight saving instead of taking system param ? +-#if defined(__GLIBC__) || defined(BLACKBERRY) || defined(__SYMBIAN32__) ++#if 1 // #else block uses undeclared `timezone' + time_t timezone = 0; + tm *time = localtime(&timezone); + srcTick += time->tm_gmtoff*1000000ULL; +@@ -1015,7 +1015,7 @@ static int sceRtcFormatRFC2822LocalTime( + } + + int tz_seconds; +-#if defined(__GLIBC__) || defined(BLACKBERRY) || defined(__SYMBIAN32__) ++#if 1 // #else block uses undeclared `timezone' + time_t timezone = 0; + tm *time = localtime(&timezone); + tz_seconds = time->tm_gmtoff; +@@ -1050,7 +1050,7 @@ static int sceRtcFormatRFC3339LocalTime( + } + + int tz_seconds; +-#if defined(__GLIBC__) || defined(BLACKBERRY) || defined(__SYMBIAN32__) ++#if 1 // #else block uses undeclared `timezone' + time_t timezone = 0; + tm *time = localtime(&timezone); + tz_seconds = time->tm_gmtoff; Property changes on: head/emulators/ppsspp/files/patch-Core_HLE_sceRtc.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Core_Loaders.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Core_Loaders.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Core_Loaders.cpp (revision 387239) @@ -0,0 +1,26 @@ +--- Core/Loaders.cpp.orig 2015-02-26 20:05:06 UTC ++++ Core/Loaders.cpp +@@ -15,6 +15,9 @@ + // Official git repository and contact information can be found at + // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. + ++// XXX ports/193528 ++#define _GLIBCXX_USE_C99 1 ++ + #include + #include + +@@ -310,12 +313,7 @@ HTTPFileLoader::HTTPFileLoader(const std + size_pos = header.find_first_not_of(' ', size_pos); + } + if (size_pos != header.npos) { +- // TODO: Find a way to get this to work right on Symbian? +-#ifndef __SYMBIAN32__ +- filesize_ = atoll(&header[size_pos]); +-#else +- filesize_ = atoi(&header[size_pos]); +-#endif ++ filesize_ = std::atoll(&header[size_pos]); + } + } + if (startsWithNoCase(header, "Accept-Ranges:")) { Property changes on: head/emulators/ppsspp/files/patch-Core_Loaders.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Core_MIPS_JitCommon_JitCommon.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Core_MIPS_JitCommon_JitCommon.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Core_MIPS_JitCommon_JitCommon.cpp (revision 387239) @@ -0,0 +1,27 @@ +--- Core/MIPS/JitCommon/JitCommon.cpp.orig 2015-02-26 20:05:06 UTC ++++ Core/MIPS/JitCommon/JitCommon.cpp +@@ -27,8 +27,10 @@ + namespace MIPSComp { + #if defined(ARM) + ArmJit *jit; +-#else ++#elif defined(_M_IX86) || defined(_M_X64) || defined(MIPS) + Jit *jit; ++#else ++ FakeJit *jit; + #endif + void JitAt() { + jit->Compile(currentMIPS->pc); +@@ -95,10 +97,12 @@ const char *ppsspp_resolver(struct ud*, + *offset = addr - (uint64_t)MIPSComp::jit->GetBasePtr(); + return "jitcode"; + } ++#if defined(_M_IX86) || defined(_M_X64) || defined(MIPS) + if (MIPSComp::jit->Asm().IsInSpace((u8 *)(intptr_t)addr)) { + *offset = addr - (uint64_t)MIPSComp::jit->Asm().GetBasePtr(); + return "dispatcher"; + } ++#endif + + return NULL; + } Property changes on: head/emulators/ppsspp/files/patch-Core_MIPS_JitCommon_JitCommon.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Core_MIPS_fake_FakeJit.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Core_MIPS_fake_FakeJit.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Core_MIPS_fake_FakeJit.cpp (revision 387239) @@ -0,0 +1,11 @@ +--- Core/MIPS/fake/FakeJit.cpp.orig 2015-02-26 20:05:06 UTC ++++ Core/MIPS/fake/FakeJit.cpp +@@ -138,7 +138,7 @@ void FakeJit::RunLoopUntil(u64 globaltic + ((void (*)())enterCode)(); + } + +-const u8 *FakeJit::DoFakeJit(u32 em_address, FakeJitBlock *b) ++const u8 *FakeJit::DoJit(u32 em_address, JitBlock *b) + { + return b->normalEntry; + } Property changes on: head/emulators/ppsspp/files/patch-Core_MIPS_fake_FakeJit.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Core_MemMap.cpp =================================================================== --- head/emulators/ppsspp/files/patch-Core_MemMap.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-Core_MemMap.cpp (revision 387239) @@ -0,0 +1,14 @@ +--- Core/MemMap.cpp.orig 2015-02-26 20:05:06 UTC ++++ Core/MemMap.cpp +@@ -194,7 +194,11 @@ static bool Memory_TryBase(u32 flags) { + *view.out_ptr = *views[i - 1].out_ptr; + } else { + *view.out_ptr = (u8*)g_arena.CreateView( ++#ifdef _ARCH_32 + position, view.size, base + (view.virtual_address & MEMVIEW32_MASK)); ++#else ++ position, view.size, base + view.virtual_address); ++#endif + if (!*view.out_ptr) + goto bail; + } Property changes on: head/emulators/ppsspp/files/patch-Core_MemMap.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-GPU_GLES_TextureScaler.cpp =================================================================== --- head/emulators/ppsspp/files/patch-GPU_GLES_TextureScaler.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-GPU_GLES_TextureScaler.cpp (revision 387239) @@ -0,0 +1,13 @@ +--- GPU/GLES/TextureScaler.cpp.orig 2015-02-26 20:05:06 UTC ++++ GPU/GLES/TextureScaler.cpp +@@ -34,8 +34,8 @@ + #include + #include + +-#if _M_SSE >= 0x402 +-#include ++#if _M_SSE >= 0x401 ++#include + #endif + + // Report the time and throughput for each larger scaling operation in the log Property changes on: head/emulators/ppsspp/files/patch-GPU_GLES_TextureScaler.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Qt_PPSSPP.pro =================================================================== --- head/emulators/ppsspp/files/patch-Qt_PPSSPP.pro (nonexistent) +++ head/emulators/ppsspp/files/patch-Qt_PPSSPP.pro (revision 387239) @@ -0,0 +1,11 @@ +--- Qt/PPSSPP.pro.orig 2015-02-26 20:05:06 UTC ++++ Qt/PPSSPP.pro +@@ -91,7 +91,7 @@ mobile_platform { + INCLUDEPATH += $$P/Qt $$P/Qt/Debugger + + # Creating translations should be done by Qt, really +- LREL_TOOL = lrelease ++ isEmpty(LREL_TOOL): LREL_TOOL = lrelease + # Grab all possible directories (win32/unix) + win32: PATHS = $$split($$(PATH), ;) + else: PATHS = $$split($$(PATH), :) Property changes on: head/emulators/ppsspp/files/patch-Qt_PPSSPP.pro ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Qt_Platform_linux.pri =================================================================== --- head/emulators/ppsspp/files/patch-Qt_Platform_linux.pri (nonexistent) +++ head/emulators/ppsspp/files/patch-Qt_Platform_linux.pri (revision 387239) @@ -0,0 +1,12 @@ +--- Qt/Platform/linux.pri.orig 2015-02-26 20:05:06 UTC ++++ Qt/Platform/linux.pri +@@ -6,7 +6,8 @@ + } + + # Executable +- LIBS += -ldl -lrt ++ LIBS += $$QMAKE_LIBS_DYNLOAD ++ linux-*|hpux-*|solaris-*: LIBS += -lrt + + # Packaging + icon16.files = $$P/assets/unix-icons/hicolor/16x16/apps/ppsspp.png Property changes on: head/emulators/ppsspp/files/patch-Qt_Platform_linux.pri ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-Qt_Settings.pri =================================================================== --- head/emulators/ppsspp/files/patch-Qt_Settings.pri (nonexistent) +++ head/emulators/ppsspp/files/patch-Qt_Settings.pri (revision 387239) @@ -0,0 +1,12 @@ +--- Qt/Settings.pri.orig 2015-02-26 20:05:06 UTC ++++ Qt/Settings.pri +@@ -12,7 +12,8 @@ RCC_DIR = $$CONFIG_DIR/.rcc/$$TARGET + QMAKE_CLEAN += -r $$OBJECTS_DIR $$MOC_DIR $$UI_DIR $$RCC_DIR + + P = $$_PRO_FILE_PWD_/.. +-INCLUDEPATH += $$P/ext/zlib $$P/Common ++INCLUDEPATH += $$P/Common ++contains(QT_CONFIG, no-zlib): INCLUDEPATH += $$P/ext/zlib + + # Work out arch name + include(Platform/ArchDetection.pri) Property changes on: head/emulators/ppsspp/files/patch-Qt_Settings.pri ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-UI_NativeApp.cpp =================================================================== --- head/emulators/ppsspp/files/patch-UI_NativeApp.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-UI_NativeApp.cpp (revision 387239) @@ -0,0 +1,12 @@ +--- UI/NativeApp.cpp.orig 2015-02-26 20:05:06 UTC ++++ UI/NativeApp.cpp +@@ -291,7 +291,8 @@ void NativeInit(int argc, const char *ar + #elif defined(BLACKBERRY) || defined(IOS) + // Packed assets are included in app + VFSRegister("", new DirectoryAssetReader(external_directory)); +-#elif defined(__APPLE__) || (defined(__linux__) && !defined(ANDROID)) ++#elif defined(__APPLE__) || (defined(__linux__) && !defined(ANDROID)) || \ ++ defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) + VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory() + "assets/").c_str())); + VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory()).c_str())); + VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/")); Property changes on: head/emulators/ppsspp/files/patch-UI_NativeApp.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-native_base_basictypes.h =================================================================== --- head/emulators/ppsspp/files/patch-native_base_basictypes.h (nonexistent) +++ head/emulators/ppsspp/files/patch-native_base_basictypes.h (revision 387239) @@ -0,0 +1,11 @@ +--- native/base/basictypes.h.orig 2015-02-23 23:22:58 UTC ++++ native/base/basictypes.h +@@ -87,7 +87,7 @@ inline uint64 swap64(uint64 _data) {retu + inline uint16 swap16(uint16 _data) {return bswap_16(_data);} + inline uint32 swap32(uint32 _data) {return bswap_32(_data);} + inline uint64 swap64(uint64 _data) {return bswap_64(_data);} +-#elif defined(__FreeBSD__) ++#elif defined(__DragonFly__) || defined(__FreeBSD__) + #include + inline uint16 swap16(uint16 _data) {return bswap16(_data);} + inline uint32 swap32(uint32 _data) {return bswap32(_data);} Property changes on: head/emulators/ppsspp/files/patch-native_base_basictypes.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp =================================================================== --- head/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp (revision 387239) @@ -0,0 +1,11 @@ +--- native/ext/cityhash/city.cpp.orig 2015-02-23 23:22:58 UTC ++++ native/ext/cityhash/city.cpp +@@ -68,7 +68,7 @@ static uint32 UNALIGNED_LOAD32(const cha + #define bswap_32(x) BSWAP_32(x) + #define bswap_64(x) BSWAP_64(x) + +-#elif defined(__FreeBSD__) ++#elif defined(__DragonFly__) || defined(__FreeBSD__) + #include + #define bswap_32(x) bswap32(x) + #define bswap_64(x) bswap64(x) Property changes on: head/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-native_ext_stb__vorbis_stb__vorbis.c =================================================================== --- head/emulators/ppsspp/files/patch-native_ext_stb__vorbis_stb__vorbis.c (nonexistent) +++ head/emulators/ppsspp/files/patch-native_ext_stb__vorbis_stb__vorbis.c (revision 387239) @@ -0,0 +1,12 @@ +--- native/ext/stb_vorbis/stb_vorbis.c.orig 2015-02-23 23:22:58 UTC ++++ native/ext/stb_vorbis/stb_vorbis.c +@@ -15,7 +15,8 @@ + #pragma warning (disable:4996) + #pragma warning (disable:4244) + #include +-#elif !defined(__SYMBIAN32__) ++#elif !defined(__SYMBIAN32__) && !defined(__DragonFly__) && \ ++ !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) + #include + #endif + Property changes on: head/emulators/ppsspp/files/patch-native_ext_stb__vorbis_stb__vorbis.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-native_file_file__util.cpp =================================================================== --- head/emulators/ppsspp/files/patch-native_file_file__util.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-native_file_file__util.cpp (revision 387239) @@ -0,0 +1,11 @@ +--- native/file/file_util.cpp.orig 2015-02-23 23:22:58 UTC ++++ native/file/file_util.cpp +@@ -25,7 +25,7 @@ + #include "file/file_util.h" + #include "util/text/utf8.h" + +-#if defined(__FreeBSD__) || defined(__APPLE__) ++#if !defined(__linux__) && !defined(__SYMBIAN32__) + #define stat64 stat + #endif + Property changes on: head/emulators/ppsspp/files/patch-native_file_file__util.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-native_net_http__client.h =================================================================== --- head/emulators/ppsspp/files/patch-native_net_http__client.h (nonexistent) +++ head/emulators/ppsspp/files/patch-native_net_http__client.h (revision 387239) @@ -0,0 +1,14 @@ +--- native/net/http_client.h.orig 2015-02-23 23:22:58 UTC ++++ native/net/http_client.h +@@ -11,11 +11,8 @@ + #define NOMINMAX + #include + #else +-#if defined(__FreeBSD__) || defined(__SYMBIAN32__) + #include +-#else + #include +-#endif + #include + #include + #endif Property changes on: head/emulators/ppsspp/files/patch-native_net_http__client.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-native_net_http__headers.cpp =================================================================== --- head/emulators/ppsspp/files/patch-native_net_http__headers.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-native_net_http__headers.cpp (revision 387239) @@ -0,0 +1,26 @@ +--- native/net/http_headers.cpp.orig 2015-02-23 23:22:58 UTC ++++ native/net/http_headers.cpp +@@ -1,11 +1,5 @@ + #include "net/http_headers.h" + +-#ifdef _WIN32 +- +-#include // for timeval +- +-#endif +- + #include + #include + +@@ -132,11 +126,6 @@ int RequestHeader::ParseHttpHeader(const + } + + void RequestHeader::ParseHeaders(int fd) { +- // Get the request, with a timeout. +- struct ::timeval tv; +- tv.tv_sec = 5; +- tv.tv_usec = 0; +- + int line_count = 0; + // Loop through request headers. + while (true) { Property changes on: head/emulators/ppsspp/files/patch-native_net_http__headers.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-native_net_http__server.cpp =================================================================== --- head/emulators/ppsspp/files/patch-native_net_http__server.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-native_net_http__server.cpp (revision 387239) @@ -0,0 +1,10 @@ +--- native/net/http_server.cpp.orig 2015-02-23 23:22:58 UTC ++++ native/net/http_server.cpp +@@ -12,6 +12,7 @@ + #include /* socket types */ + #include /* for waitpid() */ + #include /* inet (3) funtions */ ++#include /* struct sockaddr_in */ + #include /* misc. UNIX functions */ + + #endif Property changes on: head/emulators/ppsspp/files/patch-native_net_http__server.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/files/patch-native_net_resolve.cpp =================================================================== --- head/emulators/ppsspp/files/patch-native_net_resolve.cpp (nonexistent) +++ head/emulators/ppsspp/files/patch-native_net_resolve.cpp (revision 387239) @@ -0,0 +1,14 @@ +--- native/net/resolve.cpp.orig 2015-02-23 23:22:58 UTC ++++ native/net/resolve.cpp +@@ -14,11 +14,8 @@ + #undef min + #undef max + #else +-#if defined(__FreeBSD__) + #include +-#else + #include +-#endif + #include + #include + #include Property changes on: head/emulators/ppsspp/files/patch-native_net_resolve.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/pkg-descr =================================================================== --- head/emulators/ppsspp/pkg-descr (nonexistent) +++ head/emulators/ppsspp/pkg-descr (revision 387239) @@ -0,0 +1,11 @@ +PPSSPP is a HLE ("high level emulation") emulator, it simulates the +PSP OS as seen by the game rather than the full hardware. A program +running on the PSP OS can send raw display lists to the graphics +chips, but can't access the flash controller or the Media Engine +directly, instead it has to go through libraries and the PSP OS +kernel. We simply simulate these. This is a lot of work though, the +PSP OS is large and has plenty of functionality so achieving 100% +compatibility is difficult bordering on the impossible. We can get +close though. + +WWW: http://www.ppsspp.org/ Property changes on: head/emulators/ppsspp/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/ppsspp/pkg-plist =================================================================== --- head/emulators/ppsspp/pkg-plist (nonexistent) +++ head/emulators/ppsspp/pkg-plist (revision 387239) @@ -0,0 +1,13 @@ +bin/ppsspp +man/man1/ppsspp.1.gz +share/applications/ppsspp.desktop +share/icons/hicolor/128x128/apps/ppsspp.png +share/icons/hicolor/16x16/apps/ppsspp.png +share/icons/hicolor/24x24/apps/ppsspp.png +share/icons/hicolor/256x256/apps/ppsspp.png +share/icons/hicolor/32x32/apps/ppsspp.png +share/icons/hicolor/48x48/apps/ppsspp.png +share/icons/hicolor/512x512/apps/ppsspp.png +share/icons/hicolor/64x64/apps/ppsspp.png +share/icons/hicolor/96x96/apps/ppsspp.png +share/icons/hicolor/scalable/apps/ppsspp.svg Property changes on: head/emulators/ppsspp/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property