diff options
author | nia <nia@pkgsrc.org> | 2020-05-30 15:01:19 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-05-30 15:01:19 +0000 |
commit | a2149014206e887bda70fbf2e69b62234e23c760 (patch) | |
tree | 63ada7415633e4b578d99b7ca5ac3081f4b02bd6 | |
parent | 919e6520e415d71b05d2aac06adbc13ecfe20c2e (diff) | |
download | pkgsrc-a2149014206e887bda70fbf2e69b62234e23c760.tar.gz |
libretro-beetle-psx: missing patch
-rw-r--r-- | emulators/libretro-beetle-psx/patches/patch-libretro.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/emulators/libretro-beetle-psx/patches/patch-libretro.cpp b/emulators/libretro-beetle-psx/patches/patch-libretro.cpp new file mode 100644 index 00000000000..0fbc863adfe --- /dev/null +++ b/emulators/libretro-beetle-psx/patches/patch-libretro.cpp @@ -0,0 +1,19 @@ +$NetBSD: patch-libretro.cpp,v 1.1 2020/05/30 15:01:19 nia Exp $ + +libretro.cpp: In function 'int lightrec_init_mmap()': +libretro.cpp:1683:4: error: 'S_IRUSR' was not declared in this scope + S_IRUSR | S_IWUSR); + ^~~~~~~ +libretro.cpp:1683:14: error: 'S_IWUSR' was not declared in this scope + S_IRUSR | S_IWUSR); + +--- libretro.cpp.orig 2020-05-26 17:40:28.000000000 +0000 ++++ libretro.cpp +@@ -39,6 +39,7 @@ + #endif + + #if defined(HAVE_SHM) || defined(HAVE_ASHMEM) ++#include <sys/stat.h> + #include <fcntl.h> + #endif + |