mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
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'
|
# Template file for 'fortune-mod'
|
||||||
pkgname=fortune-mod
|
pkgname=fortune-mod
|
||||||
version=1.99.1
|
version=1.99.1
|
||||||
revision=2
|
revision=3
|
||||||
hostmakedepends="recode"
|
hostmakedepends="recode"
|
||||||
makedepends="recode-devel"
|
makedepends="recode-devel"
|
||||||
short_desc="Implementation of the BSDGames 'fortune' program"
|
short_desc="Implementation of the BSDGames 'fortune' program"
|
||||||
|
@ -13,7 +13,7 @@ checksum=fc51aee1f73c936c885f4e0f8b6b48f4f68103e3896eaddc6a45d2b71e14eace
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
do_build() {
|
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
|
sed -i "s|^LDFLAGS=.*|LDFLAGS=${LDFLAGS}|" Makefile
|
||||||
make CC=$CC COOKIEDIR=/usr/share/fortunes
|
make CC=$CC COOKIEDIR=/usr/share/fortunes
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue