diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-08-23 19:35:21 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-08-23 19:35:21 +0000 |
commit | 0108f5bf0d377f866ef08e30aa379a9ad31a4dc8 (patch) | |
tree | 660ada8f412f29adde0ee767c7442c72d373e484 /net/tintin++ | |
parent | aee14464506ee6702a8fe99d9de629a5cef0c6d8 (diff) | |
download | ports-0108f5bf0d377f866ef08e30aa379a9ad31a4dc8.tar.gz ports-0108f5bf0d377f866ef08e30aa379a9ad31a4dc8.zip |
Notes
Diffstat (limited to 'net/tintin++')
-rw-r--r-- | net/tintin++/files/patch-ac | 17 | ||||
-rw-r--r-- | net/tintin++/files/patch-ad | 57 | ||||
-rw-r--r-- | net/tintin++/files/patch-ae | 25 | ||||
-rw-r--r-- | net/tintin++/files/patch-af | 20 | ||||
-rw-r--r-- | net/tintin++/files/patch-ag | 15 | ||||
-rw-r--r-- | net/tintin++/files/patch-ah | 17 |
6 files changed, 77 insertions, 74 deletions
diff --git a/net/tintin++/files/patch-ac b/net/tintin++/files/patch-ac index 6e2682995667..5e38e3befa80 100644 --- a/net/tintin++/files/patch-ac +++ b/net/tintin++/files/patch-ac @@ -38,20 +38,3 @@ # Autocompile all .c files into .o files using this rule: .c.o: ---- install.sh.orig Thu Mar 25 11:13:50 1999 -+++ install.sh Tue Sep 26 18:13:52 2000 -@@ -6,11 +6,12 @@ - echo " " - echo "Copying the tintin++ executable to \"$1\"..." - #strip tt++ --cp tt++ "$1" -+install -c -s -o bin -g bin -m 555 tt++ "$1" - - echo "Copying the tintin++ help file to \"$2\"..." - if [ "$3" ]; then -- cp support/.tt_help.txt.Z "$2/" -+ [ -d "$2" ] || mkdir -p "$2" -+ install -c -o bin -g bin -m 555 support/.tt_help.txt.Z "$2/" - fi - - echo diff --git a/net/tintin++/files/patch-ad b/net/tintin++/files/patch-ad index 3765c1dda3e4..2d06a9015f70 100644 --- a/net/tintin++/files/patch-ad +++ b/net/tintin++/files/patch-ad @@ -53,60 +53,3 @@ sprintf(fn, "%c[%d;1f%c7", E, split_line-1, E); write(1,fn,strlen(fn)); sprintf(fn, "%c[%d;1f", E, input_row); ---- misc.c.orig Fri Mar 5 21:40:11 1999 -+++ misc.c Tue Sep 26 17:20:07 2000 -@@ -106,7 +106,7 @@ - char temp[2]; - temp[0]=7; - temp[1]=0; -- write(1, temp, 2); -+ write(1, temp, 1); - } - - -@@ -176,7 +176,7 @@ - } - ses=NULL; - if (is_split) -- write(1, "c", 3); -+ write(1, "c", 2); - tintin_puts2("TINTIN suffers from bloodlack, and the lack of a beating heart...", ses); - tintin_puts2("TINTIN is dead! R.I.P.", ses); - tintin_puts2("Your blood freezes as you hear TINTIN's death cry.", ses); ---- parse.c.orig Sun Aug 28 22:12:10 1994 -+++ parse.c Tue Sep 26 17:20:07 2000 -@@ -670,10 +670,10 @@ - if(ses && !PSEUDO_PROMPT) - write_line_mud("", ses); - else if (!is_split) -- write(1,"> ", 3); -+ write(1,"> ", 2); - else { - sprintf(strng,"8> 7[%d;%df", input_row, input_col); -- write(1,strng, strlen(strng)+1); -+ write(1,strng, strlen(strng)); - display_col+=2; - } - } ---- utils.c.orig Fri Mar 5 00:58:57 1999 -+++ utils.c Tue Sep 26 17:23:23 2000 -@@ -21,6 +21,8 @@ - #include <unistd.h> - #endif - -+#include <sys/param.h> -+ - void syserr(); - - /*********************************************/ -@@ -56,7 +58,9 @@ - char *msg; - { - extern int errno, sys_nerr; -- //extern char *sys_errlist[]; -+#if !defined(BSD) || (BSD < 199306) -+ extern char *sys_errlist[]; -+#endif - - fprintf(stderr,"ERROR: %s (%d",msg, errno); - if(errno>0 && errno<sys_nerr) diff --git a/net/tintin++/files/patch-ae b/net/tintin++/files/patch-ae new file mode 100644 index 000000000000..a4fdcd71b16e --- /dev/null +++ b/net/tintin++/files/patch-ae @@ -0,0 +1,25 @@ +--- utils.c.orig Thu Mar 4 08:58:57 1999 ++++ utils.c Fri Aug 23 12:30:37 2002 +@@ -21,6 +21,10 @@ + #include <unistd.h> + #endif + ++#include <stdio.h> ++#include <errno.h> ++#include <sys/param.h> ++ + void syserr(); + + /*********************************************/ +@@ -55,8 +59,9 @@ + void syserr(msg) + char *msg; + { +- extern int errno, sys_nerr; +- //extern char *sys_errlist[]; ++#if !defined(BSD) || (BSD < 199306) ++ extern char *sys_errlist[]; ++#endif + + fprintf(stderr,"ERROR: %s (%d",msg, errno); + if(errno>0 && errno<sys_nerr) diff --git a/net/tintin++/files/patch-af b/net/tintin++/files/patch-af new file mode 100644 index 000000000000..6fc54c273c05 --- /dev/null +++ b/net/tintin++/files/patch-af @@ -0,0 +1,20 @@ +--- misc.c.orig Fri Mar 5 21:40:11 1999 ++++ misc.c Tue Sep 26 17:20:07 2000 +@@ -106,7 +106,7 @@ + char temp[2]; + temp[0]=7; + temp[1]=0; +- write(1, temp, 2); ++ write(1, temp, 1); + } + + +@@ -176,7 +176,7 @@ + } + ses=NULL; + if (is_split) +- write(1, "c", 3); ++ write(1, "c", 2); + tintin_puts2("TINTIN suffers from bloodlack, and the lack of a beating heart...", ses); + tintin_puts2("TINTIN is dead! R.I.P.", ses); + tintin_puts2("Your blood freezes as you hear TINTIN's death cry.", ses); diff --git a/net/tintin++/files/patch-ag b/net/tintin++/files/patch-ag new file mode 100644 index 000000000000..a48a9a6792d5 --- /dev/null +++ b/net/tintin++/files/patch-ag @@ -0,0 +1,15 @@ +--- parse.c.orig Sun Aug 28 22:12:10 1994 ++++ parse.c Tue Sep 26 17:20:07 2000 +@@ -670,10 +670,10 @@ + if(ses && !PSEUDO_PROMPT) + write_line_mud("", ses); + else if (!is_split) +- write(1,"> ", 3); ++ write(1,"> ", 2); + else { + sprintf(strng,"8> 7[%d;%df", input_row, input_col); +- write(1,strng, strlen(strng)+1); ++ write(1,strng, strlen(strng)); + display_col+=2; + } + } diff --git a/net/tintin++/files/patch-ah b/net/tintin++/files/patch-ah new file mode 100644 index 000000000000..9000101e63ab --- /dev/null +++ b/net/tintin++/files/patch-ah @@ -0,0 +1,17 @@ +--- install.sh.orig Thu Mar 25 11:13:50 1999 ++++ install.sh Tue Sep 26 18:13:52 2000 +@@ -6,11 +6,12 @@ + echo " " + echo "Copying the tintin++ executable to \"$1\"..." + #strip tt++ +-cp tt++ "$1" ++install -c -s -o bin -g bin -m 555 tt++ "$1" + + echo "Copying the tintin++ help file to \"$2\"..." + if [ "$3" ]; then +- cp support/.tt_help.txt.Z "$2/" ++ [ -d "$2" ] || mkdir -p "$2" ++ install -c -o bin -g bin -m 555 support/.tt_help.txt.Z "$2/" + fi + + echo |