Skip to content

Commit

Permalink
Fix building on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Feb 11, 2025
1 parent f854c3f commit 7d7d0e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"scripts": {
"test": "rm test/*.hdt.index.* 2> /dev/null; mocha",
"lint": "eslint --fix lib/*.js test/*.js bin/*",
"validate": "npm ls"
"validate": "npm ls",
"preinstall": "if [ -e replace-in-file.json ]; then replace-in-file --configFile=replace-in-file.json; fi"
},
"dependencies": {
"minimist": "^1.1.0",
Expand All @@ -40,6 +41,7 @@
"eslint": "^5.3.0",
"mocha": "^6.2.2",
"precommit-hook": "^3.0.0",
"replace-in-file": "^8.3.0",
"should": "^13.1.0",
"@comunica/utils-bindings-factory": "^4.0.2"
},
Expand Down
5 changes: 5 additions & 0 deletions replace-in-file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files": "deps/libhdt/src/util/StopWatch.cpp",
"from": "uint64_t",
"to": "unsigned long long"
}

0 comments on commit 7d7d0e2

Please sign in to comment.