Subject: CVS commit: pkgsrc/emulators/libretro-mgba
From: Nia Alarie
Date: 2018-09-07 20:54:02
Message id: 20180907185402.4CB72FBF8@cvs.NetBSD.org

Log Message:
emulators/libretro-mgba: Handle _POSIX_C_SOURCE and extensions properly.

A _POSIX_C_SOURCE definition is needed for some locale definitions, but
some non-standard functions are also used (notably futimes). Avoid using
a global definition for _POSIX_C_SOURCE and define it where necessary,
while also defining _BSD_SOURCE and _NETBSD_SOURCE to get the right
prototype for futimes where necessary.

Files:
RevisionActionfile
1.2modifypkgsrc/emulators/libretro-mgba/Makefile
1.2modifypkgsrc/emulators/libretro-mgba/distinfo
1.1addpkgsrc/emulators/libretro-mgba/patches/patch-include_mgba-util_common.h
1.1addpkgsrc/emulators/libretro-mgba/patches/patch-include_mgba-util_vfs.h
1.1addpkgsrc/emulators/libretro-mgba/patches/patch-src_util_vfs_vfs-fd.c
1.1addpkgsrc/emulators/libretro-mgba/patches/patch-src_util_vfs_vfs-fifo.c
1.1addpkgsrc/emulators/libretro-mgba/patches/patch-src_util_vfs_vfs-mem.c