From a54fbf5fa4f4e1124b98e0651748ebe35c5a2a57 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 7 Apr 2015 23:48:16 +0200 Subject: [PATCH] fortune-mod: crappy utility expects signed chars. Else off.c loops infinitely. --- srcpkgs/fortune-mod/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/fortune-mod/template b/srcpkgs/fortune-mod/template index 8e99bc5aa3e..13a667a7302 100644 --- a/srcpkgs/fortune-mod/template +++ b/srcpkgs/fortune-mod/template @@ -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 }