normalise patches

This commit is contained in:
sthen 2021-11-28 13:38:21 +00:00
parent edba61079f
commit 5d8b1bc79e
2 changed files with 13 additions and 7 deletions

View File

@ -1,5 +1,8 @@
--- Makefile.orig Wed Feb 24 06:21:39 1993
+++ Makefile Thu Mar 1 10:44:58 2001
$OpenBSD: patch-Makefile,v 1.1 2021/11/28 13:38:21 sthen Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -1,9 +1,9 @@
-CC=cc
+CC=cc -DCHINDICT=\"$(PREFIX)/share/chinese/gb/TONEPY.tit\"

View File

@ -1,6 +1,9 @@
--- c2t.c.orig Tue Feb 23 22:29:23 1993
+++ c2t.c Mon Mar 2 21:12:22 1998
@@ -22,10 +22,14 @@
$OpenBSD: patch-c2t_c,v 1.1 2021/11/28 13:38:21 sthen Exp $
Index: c2t.c
--- c2t.c.orig
+++ c2t.c
@@ -22,10 +22,14 @@ main(argc, argv)
int argc;
char **argv;
{
@ -16,7 +19,7 @@
register int rpit=0, tila=0, rraja=0, mulpin=0;
int monitila=0;
FILE *piffi=0;
@@ -57,12 +61,12 @@
@@ -57,12 +61,12 @@ char **argv;
i =0;
} /*if argc > 1 */
if ((piffi = fopen (DICT, "r")) == 0) {
@ -31,7 +34,7 @@
exit (-2);
}
pipo = taulu;
@@ -81,13 +85,13 @@
@@ -81,13 +85,13 @@ char **argv;
} else {
if (rivi[0] == '#') continue;
if ((*pipo = (char *)malloc (rpit+8)) == 0) {