Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/libretro-beetle-psx/patches libretro-beetle-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/030c772d90ca
branches:  trunk
changeset: 433062:030c772d90ca
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 30 15:01:19 2020 +0000

description:
libretro-beetle-psx: missing patch

diffstat:

 emulators/libretro-beetle-psx/patches/patch-libretro.cpp |  19 ++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r c0c84c9137e2 -r 030c772d90ca emulators/libretro-beetle-psx/patches/patch-libretro.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-beetle-psx/patches/patch-libretro.cpp  Sat May 30 15:01:19 2020 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index