mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(inetutils)
clang on mac complaining something awful: ``` syslogd.c:281:7: error: conflicting types for 'ttymsg' char *ttymsg (struct iovec *, int, char *, int); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/util.h:103:9: note: previous declaration is here char *ttymsg(struct iovec *, int, const char *, int); ``` closes #4659
This commit is contained in:
parent
f1036cbdf3
commit
aea1470b5d
1 changed files with 15 additions and 6 deletions
|
@ -14,12 +14,21 @@ dependencies:
|
||||||
invisible-island.net/ncurses: '*'
|
invisible-island.net/ncurses: '*'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: |
|
dependencies:
|
||||||
./configure $ARGS
|
gnu.org/help2man: 1
|
||||||
make SUIDMODE= install
|
script:
|
||||||
mkdir "{{prefix}}"/sbin
|
# 2.5.0 has a conflicting definition on darwin
|
||||||
cd "{{prefix}}"/libexec
|
- run: |
|
||||||
for x in *; do ln -s ../libexec/$x ../sbin; done
|
if test "{{hw.platform}}" = "darwin"; then
|
||||||
|
sed -i -e 's/char \*ttymsg (struct iovec \*, int, char \*, int);/char *ttymsg (struct iovec *, int, const char *, int);/' syslogd.c
|
||||||
|
fi
|
||||||
|
working-directory: src
|
||||||
|
if: 2.5.0
|
||||||
|
- ./configure $ARGS
|
||||||
|
- make SUIDMODE= install
|
||||||
|
- mkdir "{{prefix}}"/sbin
|
||||||
|
- run: for x in *; do ln -s ../libexec/$x ../sbin; done
|
||||||
|
working-directory: '{{prefix}}/libexec'
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
|
|
Loading…
Reference in a new issue