mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
1. On powerpc: ../src/api/utf8.c:854:22: error: use of undeclared identifier 'INT_MAX' 854 | if (pose - posi >= INT_MAX) /* (lua_Integer -> int) overflow? */ | ^ 2. Also set USES=luajit to use luajit-openresty on powerpc64*.
10 lines
213 B
C
10 lines
213 B
C
--- src/api/utf8.c.orig 2025-01-21 19:20:49 UTC
|
|
+++ src/api/utf8.c
|
|
@@ -29,6 +29,7 @@
|
|
#include <lualib.h>
|
|
|
|
#include <assert.h>
|
|
+#include <limits.h>
|
|
#include <string.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|