fortune-mod: crappy utility expects signed chars.
Else off.c loops infinitely.
This commit is contained in:
parent
f9a2d0fd67
commit
a54fbf5fa4
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'fortune-mod'
|
||||
pkgname=fortune-mod
|
||||
version=1.99.1
|
||||
revision=2
|
||||
revision=3
|
||||
hostmakedepends="recode"
|
||||
makedepends="recode-devel"
|
||||
short_desc="Implementation of the BSDGames 'fortune' program"
|
||||
|
@ -13,7 +13,7 @@ checksum=fc51aee1f73c936c885f4e0f8b6b48f4f68103e3896eaddc6a45d2b71e14eace
|
|||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
sed -i "s|^CFLAGS=.*|CFLAGS=${CFLAGS} \$(DEFINES)|" Makefile
|
||||
sed -i "s|^CFLAGS=.*|CFLAGS=${CFLAGS} -fsigned-char \$(DEFINES)|" Makefile
|
||||
sed -i "s|^LDFLAGS=.*|LDFLAGS=${LDFLAGS}|" Makefile
|
||||
make CC=$CC COOKIEDIR=/usr/share/fortunes
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue