]> thyrsus.com Git - intercal.git/commitdiff
Fix for the latest version of cfunge
authorAlex Smith <ais523@bham.ac.uk>
Sun, 20 Jul 2008 02:09:57 +0000 (22:09 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 26 Aug 2010 00:35:12 +0000 (20:35 -0400)
etc/IFFI.spec
etc/cftoec.sh
src/perpet.c

index f66642559334a17cb0a8e31c0684b1315c4a8f8f..1ececa332631782f20e8518a147d47b6da4ed995 100644 (file)
@@ -1,4 +1,4 @@
-%fingerprint-spec 1.1
+%fingerprint-spec 1.2
 %fprint:IFFI
 %url:http://example.com
 %desc:INTERCAL-like Foreign Function Interface
index 9d75a89b9c767ea44c52766ace4a2b2890c402ca..1b5eb0a95190c943038a7331f0945cdaaffe5865 100644 (file)
@@ -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 .
index bf2ed5039666fbced1c78a760bde10297b600fc6..863c3df5c20a2087c7fd7679ece15df5a8328313 100644 (file)
@@ -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;