]> thyrsus.com Git - intercal.git/commitdiff
Cfunge patches are now merged into the upstream
authorAlex Smith <ais523@bham.ac.uk>
Tue, 8 Jul 2008 00:17:59 +0000 (20:17 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 26 Aug 2010 00:35:12 +0000 (20:35 -0400)
etc/cftoec.sh
etc/cfunge.patch [deleted file]

index c1dbfc3967a442b6fc2b846d36a25d6fe67b67f5..9d75a89b9c767ea44c52766ace4a2b2890c402ca 100644 (file)
@@ -40,8 +40,9 @@ CFLAGS="--std=c99 -DUSE32 -DDISABLE_GC -DFUNGE_EXTERNAL_LIBRARY -D_POSIX_C_SOURC
 echo "   " Duplicating cfunge source tree so that it can be modified...
 cp -r $CFUNGEPATH/src $CFUNGEPATH/lib .
 
-echo "   " Patching cfunge source tree for use with C-INTERCAL...
-patch -p0 < ../cfunge.patch
+# Comment these lines back in if patching is needed
+# echo "   " Patching cfunge source tree for use with C-INTERCAL...
+# patch -p0 < ../cfunge.patch
 
 echo "   " Adding the IFFI fingerprint...
 cp -r ../IFFI ../IFFI.spec src/fingerprints
diff --git a/etc/cfunge.patch b/etc/cfunge.patch
deleted file mode 100644 (file)
index 5e145b1..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-=== modified file 'src/global.h'
---- src/global.h       2008-06-30 15:54:08 +0000
-+++ src/global.h       2008-07-05 17:14:43 +0000
-@@ -158,7 +158,9 @@
- 
- 
- /// Handprint: CFUN
--#define FUNGEHANDPRINT 0x4346554e
-+#ifndef FUNGEHANDPRINT
-+#  define FUNGEHANDPRINT 0x4346554e
-+#endif
- /// Version, for -V.
- #define APPVERSION  "0.2.1-pre2"
- /// For y instruction.
-
---- src/funge-space/funge-space.c      2008-07-06 00:49:23.000000000 +0100
-+++ src/funge-space/funge-space.c      2008-07-06 18:09:22.000000000 +0100
-@@ -312,7 +312,7 @@
-       // Row in fungespace
-       FUNGEVECTORTYPE y = 0;
-       FUNGEVECTORTYPE x = 0;
--      size_t linelen = strlen(program) + 1;
-+      size_t linelen = strlen(program);
- 
-       for (size_t i = 0; i < linelen; i++) {
-               switch (program[i]) {