From: Alex Smith Date: Sun, 20 Jul 2008 02:09:57 +0000 (-0400) Subject: Fix for the latest version of cfunge X-Git-Tag: 0.29~198 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=a087bd7e6985c57af0f85971eb972493fae43755;p=intercal.git Fix for the latest version of cfunge --- 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;