svn commit: r551229 - head/lang/luajit-openresty/files

Martin Matuska mm at FreeBSD.org
Fri Oct 2 19:25:50 UTC 2020


Author: mm
Date: Fri Oct  2 19:25:50 2020
New Revision: 551229
URL: https://svnweb.freebsd.org/changeset/ports/551229

Log:
  Add patch missing in previous commit
  
  PR:		250049

Added:
  head/lang/luajit-openresty/files/patch-src_lj__prng.c   (contents, props changed)

Added: head/lang/luajit-openresty/files/patch-src_lj__prng.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/luajit-openresty/files/patch-src_lj__prng.c	Fri Oct  2 19:25:50 2020	(r551229)
@@ -0,0 +1,18 @@
+--- src/lj_prng.c.orig	2020-10-02 19:16:39 UTC
++++ src/lj_prng.c
+@@ -109,6 +109,7 @@ static PRGR libfunc_rgr;
+ #include <sys/syscall.h>
+ #else
+ 
++#ifndef LJ_TARGET_HAS_GETENTROPY
+ #if LJ_TARGET_OSX
+ #include <Availability.h>
+ #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200 || \
+@@ -117,6 +118,7 @@ static PRGR libfunc_rgr;
+ #endif
+ #elif LJ_TARGET_BSD || LJ_TARGET_SOLARIS || LJ_TARGET_CYGWIN
+ #define LJ_TARGET_HAS_GETENTROPY	1
++#endif
+ #endif
+ 
+ #if LJ_TARGET_HAS_GETENTROPY


More information about the svn-ports-all mailing list