fix(file)

This commit is contained in:
Jacob Heider 2023-07-27 18:02:18 -04:00
parent 5a34063324
commit 0f359252df
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -18,10 +18,18 @@ build:
tea.xyz/gx/cc: c99 tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*' tea.xyz/gx/make: '*'
git-scm.org: 2 git-scm.org: 2
script: | script:
git apply props/relocatable.diff - git apply props/relocatable.diff
./configure --prefix={{prefix}}
make --jobs {{hw.concurrency}} install # 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: | test: |
file {{prefix}}/bin/file file {{prefix}}/bin/file