pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-beetle-psx/patches



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat May 30 15:01:19 UTC 2020

Added Files:
        pkgsrc/emulators/libretro-beetle-psx/patches: patch-libretro.cpp

Log Message:
libretro-beetle-psx: missing patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-beetle-psx/patches/patch-libretro.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/emulators/libretro-beetle-psx/patches/patch-libretro.cpp
diff -u /dev/null pkgsrc/emulators/libretro-beetle-psx/patches/patch-libretro.cpp:1.1
--- /dev/null   Sat May 30 15:01:19 2020
+++ pkgsrc/emulators/libretro-beetle-psx/patches/patch-libretro.cpp     Sat May 30 15:01:19 2020
@@ -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