pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

node-sqlcipher: add fixes



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Mon Nov 23 19:49:04 2026 +0100
Changeset:	55ba87e20295a80a372970cde9f5cd7e1b41d64c

Modified Files:
	node-sqlcipher/distinfo
Added Files:
	node-sqlcipher/patches/patch-binding.gyp
	node-sqlcipher/patches/patch-deps_sqlcipher_sqlcipher.gyp

Log Message:
node-sqlcipher: add fixes

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=55ba87e20295a80a372970cde9f5cd7e1b41d64c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 node-sqlcipher/distinfo                                   |  2 ++
 node-sqlcipher/patches/patch-binding.gyp                  | 15 +++++++++++++++
 node-sqlcipher/patches/patch-deps_sqlcipher_sqlcipher.gyp | 15 +++++++++++++++
 3 files changed, 32 insertions(+)

diffs:
diff --git a/node-sqlcipher/distinfo b/node-sqlcipher/distinfo
index 4aa14a4e03..6bad0f0276 100644
--- a/node-sqlcipher/distinfo
+++ b/node-sqlcipher/distinfo
@@ -246,6 +246,8 @@ Size (winnow-0.7.15.crate) = 187092 bytes
 BLAKE2s (zmij-1.0.23.crate) = 09f6f3e1ddf6abff21579db43caec1b708ad2de496f17489b16849f016b7ae5e
 SHA512 (zmij-1.0.23.crate) = 12f8d9726b232b6be68cefbe294505debb7a98715c11b95d89682a596fe1a02d9d7b2a6cdba97f2e8d47fa947ffbce9506a18568f2cab749ca3d03121e5fb66d
 Size (zmij-1.0.23.crate) = 28612 bytes
+SHA1 (patch-binding.gyp) = d462afd335474a713fc50de8228e79ad2f118a8d
 SHA1 (patch-deps_extension_Cargo.toml) = 903855fd51855cfe94da077692ba13eaa63447ba
 SHA1 (patch-deps_extension_extension.gyp) = e8c6c98e5e0297abfb0425283985130c8028aa03
+SHA1 (patch-deps_sqlcipher_sqlcipher.gyp) = 7a6a704ba03dd80262833a9ed34c15bfdc11c559
 SHA1 (patch-src_addon.cc) = 0cc896b4f9c74fb7e306317025ad34a12e73c5c1
diff --git a/node-sqlcipher/patches/patch-binding.gyp b/node-sqlcipher/patches/patch-binding.gyp
new file mode 100644
index 0000000000..8f938872b1
--- /dev/null
+++ b/node-sqlcipher/patches/patch-binding.gyp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* Add NetBSD support
+
+--- binding.gyp.orig	2026-08-20 17:23:05.000000000 +0000
++++ binding.gyp
+@@ -10,7 +10,7 @@
+       ],
+       'sources': ['src/addon.cc'],
+       'conditions': [
+-        ['OS=="linux"', {
++        ['OS=="linux" or OS=="netbsd"', {
+           'ldflags': [
+             '-Wl,-Bsymbolic',
+             '-Wl,--exclude-libs,ALL',
diff --git a/node-sqlcipher/patches/patch-deps_sqlcipher_sqlcipher.gyp b/node-sqlcipher/patches/patch-deps_sqlcipher_sqlcipher.gyp
new file mode 100644
index 0000000000..6686d61ba2
--- /dev/null
+++ b/node-sqlcipher/patches/patch-deps_sqlcipher_sqlcipher.gyp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* use the compiler provided version of alloca(3)
+
+--- deps/sqlcipher/sqlcipher.gyp.orig	2026-08-20 17:23:05.000000000 +0000
++++ deps/sqlcipher/sqlcipher.gyp
+@@ -17,7 +17,7 @@
+           '.',
+         ],
+       },
+-      'cflags': ['-std=c99', '-w'],
++      'cflags': ['-std=gnu99', '-w'],
+       'xcode_settings': {
+         'OTHER_CFLAGS': ['-std=c99'],
+         'WARNING_CFLAGS': ['-w'],


Home | Main Index | Thread Index | Old Index