summaryrefslogtreecommitdiff
path: root/misc/fep/patches/patch-ai
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-11-11 10:42:32 +0000
committerwiz <wiz@pkgsrc.org>2003-11-11 10:42:32 +0000
commitf164e3c423d83b4ebc93b74379866663ac501d9c (patch)
tree938e26e891940d351cd8360ec8f16bc16a7fb2cc /misc/fep/patches/patch-ai
parentf7268a6d62e2b4af50e01086f471285cf7980397 (diff)
downloadpkgsrc-f164e3c423d83b4ebc93b74379866663ac501d9c.tar.gz
Make patches apply again; use sed script in pre-build
to remove stuff after #endif to avoid RCS problems with patches (hi christos!).
Diffstat (limited to 'misc/fep/patches/patch-ai')
-rw-r--r--misc/fep/patches/patch-ai26
1 files changed, 11 insertions, 15 deletions
diff --git a/misc/fep/patches/patch-ai b/misc/fep/patches/patch-ai
index a1a3dd864a2..8feea4050ba 100644
--- a/misc/fep/patches/patch-ai
+++ b/misc/fep/patches/patch-ai
@@ -1,13 +1,9 @@
-$NetBSD: patch-ai,v 1.2 2003/11/07 16:35:51 christos Exp $
+$NetBSD: patch-ai,v 1.3 2003/11/11 10:42:32 wiz Exp $
---- fep_hist.c.orig 1988-11-25 06:45:42.000000000 -0500
-+++ fep_hist.c 2003-11-07 11:20:24.000000000 -0500
-@@ -3,9 +3,11 @@
- #ifndef lint
- static char rcsid[]=
- "$Header: /cvsroot/pkgsrc/misc/fep/patches/patch-ai,v 1.2 2003/11/07 16:35:51 christos Exp $ (SRA)";
--#endif lint
-+#endif /* lint */
+--- fep_hist.c.orig Fri Nov 25 12:45:42 1988
++++ fep_hist.c
+@@ -6,6 +6,8 @@ static char rcsid[]=
+ #endif lint
#include <stdio.h>
+#include <stdlib.h>
@@ -15,7 +11,7 @@ $NetBSD: patch-ai,v 1.2 2003/11/07 16:35:51 christos Exp $
#include <ctype.h>
#include "fep_defs.h"
#include "fep_glob.h"
-@@ -255,7 +257,7 @@
+@@ -255,7 +257,7 @@ historyExtract(string)
default:
{
@@ -24,7 +20,7 @@ $NetBSD: patch-ai,v 1.2 2003/11/07 16:35:51 christos Exp $
strcpy (buf, "^");
strncat (buf, string, 64);
-@@ -267,6 +269,7 @@
+@@ -267,6 +269,7 @@ historyExtract(string)
char *
search_reverse_history (string)
@@ -32,7 +28,7 @@ $NetBSD: patch-ai,v 1.2 2003/11/07 16:35:51 christos Exp $
{
register int i;
char *re_comp();
-@@ -291,6 +294,7 @@
+@@ -291,6 +294,7 @@ search_reverse_history (string)
char *
search_forward_history (string)
@@ -40,7 +36,7 @@ $NetBSD: patch-ai,v 1.2 2003/11/07 16:35:51 christos Exp $
{
register int i;
char *re_comp();
-@@ -412,7 +416,7 @@
+@@ -412,7 +416,7 @@ char *
mk_home_relative (cp)
char *cp;
{
@@ -49,7 +45,7 @@ $NetBSD: patch-ai,v 1.2 2003/11/07 16:35:51 christos Exp $
/*
* If variable "history-file" is not absolute path name,
-@@ -540,7 +544,7 @@
+@@ -540,7 +544,7 @@ read_history (file)
char *file;
{
FILE *fp;
@@ -58,7 +54,7 @@ $NetBSD: patch-ai,v 1.2 2003/11/07 16:35:51 christos Exp $
register int i;
if ((fp = fopen (file, "r")) == NULL) {
-@@ -550,7 +554,7 @@
+@@ -550,7 +554,7 @@ read_history (file)
return;
}