Skip to content

Commit

Permalink
Fix compile errors on Focal
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsleuth committed Feb 17, 2025
1 parent 1589be5 commit 49aa216
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion bitcurator/packages/lightgrep.sls
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,22 @@ bitcurator-package-lightgrep-git:
- require:
- sls: bitcurator.packages.git

bitcurator-package-lightgrep-modify-example:
file.replace:
- name: '/usr/local/src/lightgrep/examples/c_example/main.c'
- pattern: {{ 'int main(int, char**) {' | regex_escape }}
- repl: 'int main(int argv, char** argc) {\n (void)argv;\n (void)argc;\n'
- count: 1
- prepend_if_not_found: False
- require:
- git: bitcurator-package-lightgrep-git

bitcurator-package-lightgrep-build:
cmd.run:
- names:
- autoreconf -fi
- ./configure
- make -j4
- make -j8
- make install
- ldconfig
- cwd: /usr/local/src/lightgrep
Expand Down

0 comments on commit 49aa216

Please sign in to comment.