pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/elinks
Module Name: pkgsrc
Committed By: leot
Date: Thu Nov 13 23:18:47 UTC 2025
Modified Files:
pkgsrc/www/elinks: distinfo
Added Files:
pkgsrc/www/elinks/patches: patch-src_js_quickjs.h
Log Message:
elinks: Fix build with quickjs-20250913
JS_VALUE_GET_STRING is no longer publicly exposed so redefine it in.
Thanks to <wiz> for informing me about the regression!
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/www/elinks/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/elinks/patches/patch-src_js_quickjs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/elinks/distinfo
diff -u pkgsrc/www/elinks/distinfo:1.37 pkgsrc/www/elinks/distinfo:1.38
--- pkgsrc/www/elinks/distinfo:1.37 Fri Feb 7 16:18:14 2025
+++ pkgsrc/www/elinks/distinfo Thu Nov 13 23:18:47 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.37 2025/02/07 16:18:14 pho Exp $
+$NetBSD: distinfo,v 1.38 2025/11/13 23:18:47 leot Exp $
BLAKE2s (elinks-0.18.0.tar.xz) = 65d0190de47ff7953789b90b861cf45ac50c6a9e858560b4f3c5078aea56a124
SHA512 (elinks-0.18.0.tar.xz) = e0ff737e06d4b591d362257b9a375b938f9d6222cf6ee4df2065c7b47f883a5eacf76dabae8fc7c0b32cf9b7df56267752217d6999b0ae24c2482763b5b0ccb9
Size (elinks-0.18.0.tar.xz) = 2078656 bytes
SHA1 (patch-meson.build) = 11a16613cef254e8e179e844bb302f98ce925e2d
+SHA1 (patch-src_js_quickjs.h) = ea31a77b00bd1740b64e8de1bbc4c8a27830bb89
SHA1 (patch-src_terminal_sixel.c) = 330bf0c751f1b37944be6afd7b022782411224ec
SHA1 (patch-src_util_memory.c) = dc390442f65d7cee70d28d6a6cba5ee0981eb83a
Added files:
Index: pkgsrc/www/elinks/patches/patch-src_js_quickjs.h
diff -u /dev/null pkgsrc/www/elinks/patches/patch-src_js_quickjs.h:1.1
--- /dev/null Thu Nov 13 23:18:47 2025
+++ pkgsrc/www/elinks/patches/patch-src_js_quickjs.h Thu Nov 13 23:18:47 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_js_quickjs.h,v 1.1 2025/11/13 23:18:47 leot Exp $
+
+JS_VALUE_GET_STRING is no longer exposed in quickjs-20250913,
+define it.
+
+--- src/js/quickjs.h.orig 2025-11-13 23:13:29.293860974 +0000
++++ src/js/quickjs.h
+@@ -10,6 +10,10 @@ inline int operator<(JSValueConst a, JSV
+ }
+ #endif
+
++#if !defined(JS_VALUE_GET_STRING)
++#define JS_VALUE_GET_STRING(v) ((JSString *)JS_VALUE_GET_PTR(v))
++#endif
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
Home |
Main Index |
Thread Index |
Old Index