Skip to content

Commit f881230

Browse files
committed
Fix building on Ubuntu 24.04
1 parent f854c3f commit f881230

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"scripts": {
2929
"test": "rm test/*.hdt.index.* 2> /dev/null; mocha",
3030
"lint": "eslint --fix lib/*.js test/*.js bin/*",
31-
"validate": "npm ls"
31+
"validate": "npm ls",
32+
"dependencies": "replace-in-file --configFile=replace-in-file.json"
3233
},
3334
"dependencies": {
3435
"minimist": "^1.1.0",
@@ -40,6 +41,7 @@
4041
"eslint": "^5.3.0",
4142
"mocha": "^6.2.2",
4243
"precommit-hook": "^3.0.0",
44+
"replace-in-file": "^8.3.0",
4345
"should": "^13.1.0",
4446
"@comunica/utils-bindings-factory": "^4.0.2"
4547
},

replace-in-file.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files": "deps/libhdt/src/util/StopWatch.cpp",
3+
"from": "uint64_t",
4+
"to": "unsigned long long"
5+
}

0 commit comments

Comments
 (0)