Skip to content

Commit 17dc3c2

Browse files
authored
Merge pull request #116 from igaw/update-json-c-wrap
Update json c wrap
2 parents 6ec4694 + b5d5485 commit 17dc3c2

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

meson.build

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ conf.set10(
120120
description: 'Is isblank() available?'
121121
)
122122

123-
config_h = configure_file(
124-
output: 'config.h',
123+
configure_file(
124+
output: 'libnvme-config.h',
125125
configuration: conf
126126
)
127127

@@ -137,7 +137,8 @@ configure_file(
137137
)
138138

139139
################################################################################
140-
add_project_arguments(['-fomit-frame-pointer', '-D_GNU_SOURCE', '-include', 'config.h'], language : 'c')
140+
add_project_arguments(['-fomit-frame-pointer', '-D_GNU_SOURCE',
141+
'-include', 'libnvme-config.h'], language : 'c')
141142
incdir = include_directories(['.', 'ccan', 'src'])
142143

143144
################################################################################

subprojects/json-c.wrap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ directory = json-c-0.15
33
source_url = https://s3.amazonaws.com/json-c_releases/releases/json-c-0.15.tar.gz
44
source_filename = json-c-0.15.tar.gz
55
source_hash = b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6
6-
patch_filename = json-c_0.15-1_patch.zip
7-
patch_url = https://wrapdb.mesonbuild.com/v2/json-c_0.15-1/get_patch
8-
patch_hash = 002b44f87063a129b5f518ffb2dba7d107ecc665ba29f97e5547ffcae41de3a9
6+
patch_filename = json-c_0.15-2_patch.zip
7+
patch_url = https://wrapdb.mesonbuild.com/v2/json-c_0.15-2/get_patch
8+
patch_hash = 2c5c95cf463804ac61309930c76ba9f57b157fef6247d1c6da4395b31a5bfac7
99

1010
[provide]
1111
json-c = json_c_dep

0 commit comments

Comments
 (0)