From a087bd7e6985c57af0f85971eb972493fae43755 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Sat, 19 Jul 2008 22:09:57 -0400 Subject: [PATCH] Fix for the latest version of cfunge --- etc/IFFI.spec | 2 +- etc/cftoec.sh | 2 +- src/perpet.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/IFFI.spec b/etc/IFFI.spec index f666425..1ececa3 100644 --- a/etc/IFFI.spec +++ b/etc/IFFI.spec @@ -1,4 +1,4 @@ -%fingerprint-spec 1.1 +%fingerprint-spec 1.2 %fprint:IFFI %url:http://example.com %desc:INTERCAL-like Foreign Function Interface diff --git a/etc/cftoec.sh b/etc/cftoec.sh index 9d75a89..1b5eb0a 100644 --- a/etc/cftoec.sh +++ b/etc/cftoec.sh @@ -35,7 +35,7 @@ echo Compiling cfunge into a library suitable for use with C-INTERCAL: cd temp -CFLAGS="--std=c99 -DUSE32 -DDISABLE_GC -DFUNGE_EXTERNAL_LIBRARY -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -DFUNGEHANDPRINT=0x43464649" +CFLAGS="--std=c99 -DUSE32 -DDISABLE_GC -DFUNGE_EXTERNAL_LIBRARY -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -DFUNGE_OLD_HANDPRINT=0x43464649 '-DFUNGE_NEW_HANDPRINT=\"http://example.com/\"'" echo " " Duplicating cfunge source tree so that it can be modified... cp -r $CFUNGEPATH/src $CFUNGEPATH/lib . diff --git a/src/perpet.c b/src/perpet.c index bf2ed50..863c3df 100644 --- a/src/perpet.c +++ b/src/perpet.c @@ -696,7 +696,7 @@ int main(int argc, char *argv[]) #if 0 0) // to unconfuse Emacs #endif - " %s.cio -lick_ecto_b98 -lm", argv[optind]); + " %s.cio -lick_ecto_b98 -lm -lncurses", argv[optind]); /* Sort out the ecto_b98 expansion library. */ argv[optind] = "ecto_b98"; goto fixexpansionlibrary; -- 2.43.0