From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Alex Myczko <tar@debian.org>
Date: Mar, 16 2026 15:39:09 +0000
Subject: [PATCH] <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-<Vendor>: <vendor-bugtracker-url>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>

--- openseachest-26.03.0+ds.orig/meson_options.txt
+++ openseachest-26.03.0+ds/meson_options.txt
@@ -24,6 +24,7 @@ option('tcg', type : 'feature', value :
 option('libc_musl', type : 'boolean', value : false)
 #openSeaChest_Security can set the password, however this is not enabled by default
 option('json_outputformat', type : 'boolean', value : true, description : 'Enable JSON output format for openSeaChest. Not all outputs are supported yet, but this is a start for the most popular options to output JSON formatted data to the screen.')
+option('use_system_json', type : 'boolean', value : false, description : 'Try to use system-installed json-c library instead of bundled subproject. Will attempt pkg-config, then find_library, then fallback to subproject if both fail.')
 #because enabling it may make the system unable to boot, the drive may not show up
 #in the OS if it DOES boot or if the drive it hotplugged in, or it may not be possible
 #for the user to enter the password they have set because the system, BIOS, or HBA has
