Skip to content

Commit

Permalink
lang/luajit-openresty: 2.1-20210510 -> 2.1-20211210
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatuska committed Dec 22, 2021
1 parent 60237d1 commit efa9fe9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lang/luajit-openresty/Makefile
Expand Up @@ -2,7 +2,7 @@

PORTNAME= luajit
DISTVERSIONPREFIX= v
DISTVERSION= 2.1-20210510
DISTVERSION= 2.1-20211210
CATEGORIES= lang
PKGNAMESUFFIX= -openresty

Expand Down
6 changes: 3 additions & 3 deletions lang/luajit-openresty/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1623459677
SHA256 (openresty-luajit2-v2.1-20210510_GH0.tar.gz) = 1ee6dad809a5bb22efb45e6dac767f7ce544ad652d353a93d7f26b605f69fe3f
SIZE (openresty-luajit2-v2.1-20210510_GH0.tar.gz) = 1106201
TIMESTAMP = 1640213067
SHA256 (openresty-luajit2-v2.1-20211210_GH0.tar.gz) = 605a8ac048ce8fcb872286abf674491467c3483d759e071721cea9a50e5bd220
SIZE (openresty-luajit2-v2.1-20211210_GH0.tar.gz) = 1141394
6 changes: 3 additions & 3 deletions lang/luajit-openresty/files/patch-src_lj__ccallback.c
@@ -1,10 +1,10 @@
--- src/lj_ccallback.c.orig 2020-10-28 11:55:44 UTC
--- src/lj_ccallback.c.orig 2021-11-17 04:07:33 UTC
+++ src/lj_ccallback.c
@@ -20,6 +20,7 @@
#include "lj_mcode.h"
#include "lj_trace.h"
#include "lj_vm.h"
+#include "lualib.h"

/* -- Target-specific handling of callback slots -------------------------- */

#if LJ_ARCH_PPC_ELFV2
#include "lualib.h"
12 changes: 6 additions & 6 deletions lang/luajit-openresty/files/patch-src_lj__prng.c
@@ -1,16 +1,16 @@
--- src/lj_prng.c.orig 2020-10-02 19:16:39 UTC
--- src/lj_prng.c.orig 2021-11-17 04:07:33 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;
#if LJ_TARGET_OSX && !LJ_TARGET_IOS
/*
** In their infinite wisdom Apple decided to disallow getentropy() in the
@@ -123,6 +124,7 @@ static PRGR libfunc_rgr;
#endif
#elif LJ_TARGET_BSD || LJ_TARGET_SOLARIS || LJ_TARGET_CYGWIN
#elif (LJ_TARGET_BSD && !defined(__NetBSD__)) || LJ_TARGET_SOLARIS || LJ_TARGET_CYGWIN
#define LJ_TARGET_HAS_GETENTROPY 1
+#endif
#endif
Expand Down

0 comments on commit efa9fe9

Please sign in to comment.