aboutsummaryrefslogtreecommitdiffstats
path: root/comms/xcept
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-04-24 10:24:22 +0800
committerasami <asami@FreeBSD.org>1997-04-24 10:24:22 +0800
commit4e90e04239a229a72da8eac054949be5fc69deb0 (patch)
treef5674962c78a7a13dba8e657db31975d7de887e8 /comms/xcept
parent022f715196cbe003d2791a9c212f2a88994b2e0a (diff)
downloadfreebsd-ports-gnome-4e90e04239a229a72da8eac054949be5fc69deb0.tar.gz
freebsd-ports-gnome-4e90e04239a229a72da8eac054949be5fc69deb0.tar.zst
freebsd-ports-gnome-4e90e04239a229a72da8eac054949be5fc69deb0.zip
Merge two files that were patching the same file (xcept/script.h). In
xcept/scripts.h (note the `s'), #include <sys/types.h> before <dirent.h>.
Diffstat (limited to 'comms/xcept')
-rw-r--r--comms/xcept/files/patch-ae8
-rw-r--r--comms/xcept/files/patch-af20
2 files changed, 18 insertions, 10 deletions
diff --git a/comms/xcept/files/patch-ae b/comms/xcept/files/patch-ae
index 2d9b6d596bd4..d5e99520061a 100644
--- a/comms/xcept/files/patch-ae
+++ b/comms/xcept/files/patch-ae
@@ -99,6 +99,14 @@
--- xcept/script.c.orig Fri Sep 24 16:07:29 1993
+++ xcept/script.c Sun Sep 1 14:08:13 1996
+@@ -809,7 +809,6 @@
+ if(a->value == b->value)
+ return error("pc: %d - variables don't differ!\n",pc);
+ len = strlen(a->value) + strlen(b->value) + 1;
+- free(a->value);
+ if(!(a->value = ralloc(a->value,len))) return errorp("realloc\n");
+ strcat(a->value,b->value);
+
@@ -1082,7 +1082,8 @@
printf( "%s", b->value );
fflush(stdout);
diff --git a/comms/xcept/files/patch-af b/comms/xcept/files/patch-af
index 002dbba6106b..601e917b430e 100644
--- a/comms/xcept/files/patch-af
+++ b/comms/xcept/files/patch-af
@@ -1,10 +1,10 @@
---- xcept/script.c.orig Sun Sep 1 18:24:46 1996
-+++ xcept/script.c Sun Sep 1 18:32:08 1996
-@@ -809,7 +809,6 @@
- if(a->value == b->value)
- return error("pc: %d - variables don't differ!\n",pc);
- len = strlen(a->value) + strlen(b->value) + 1;
-- free(a->value);
- if(!(a->value = ralloc(a->value,len))) return errorp("realloc\n");
- strcat(a->value,b->value);
-
+--- ./xcept/scripts.c.org Thu Apr 14 10:21:58 1994
++++ ./xcept/scripts.c Wed Apr 23 19:08:32 1997
+@@ -36,6 +36,7 @@
+ #include <stdio.h>
+ #include <errno.h>
+ #include <string.h>
++#include <sys/types.h>
+ #include <dirent.h>
+ #include "scripts.h"
+