mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(file)
This commit is contained in:
parent
5a34063324
commit
0f359252df
|
@ -18,10 +18,18 @@ build:
|
|||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
git-scm.org: 2
|
||||
script: |
|
||||
git apply props/relocatable.diff
|
||||
./configure --prefix={{prefix}}
|
||||
make --jobs {{hw.concurrency}} install
|
||||
script:
|
||||
- git apply props/relocatable.diff
|
||||
|
||||
# Our diff has old labels
|
||||
- run: |
|
||||
sed -i.bak -e 's/^protected const char/file_protected const char/' magic.c
|
||||
rm magic.c.bak
|
||||
working-directory: src
|
||||
if: '>=5.45'
|
||||
|
||||
- ./configure --prefix={{prefix}}
|
||||
- make --jobs {{hw.concurrency}} install
|
||||
|
||||
test: |
|
||||
file {{prefix}}/bin/file
|
||||
|
|
Loading…
Reference in a new issue