diff options
Diffstat (limited to 'development/quickjs/patches/02-qjsc.c.patch')
-rw-r--r-- | development/quickjs/patches/02-qjsc.c.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/development/quickjs/patches/02-qjsc.c.patch b/development/quickjs/patches/02-qjsc.c.patch new file mode 100644 index 0000000000..13d725fba2 --- /dev/null +++ b/development/quickjs/patches/02-qjsc.c.patch @@ -0,0 +1,12 @@ +This is a simple patch to compile on 64 bit systems. +--- quickjs-2024-01-13/qjsc.c 2024-01-13 07:20:39.000000000 -0300 ++++ quickjs-2024-01-13m/qjsc.c 2024-02-04 01:43:19.516094810 -0300 +@@ -419,7 +419,7 @@ + pstrcpy(lib_dir, sizeof(lib_dir), exe_dir); + } else { + snprintf(inc_dir, sizeof(inc_dir), "%s/include/quickjs", CONFIG_PREFIX); +- snprintf(lib_dir, sizeof(lib_dir), "%s/lib/quickjs", CONFIG_PREFIX); ++ snprintf(lib_dir, sizeof(lib_dir), "%s/quickjs", CONFIG_LIBDIR); + } + + lto_suffix = ""; |