aboutsummaryrefslogtreecommitdiff
path: root/editors/em
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-16 09:56:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-16 09:56:49 +0000
commit60ad617801dd2cce7fe543e9373b4bafbb565afe (patch)
tree4a546f295335f7eb0afab7b77a1e8963b75d9b3b /editors/em
parent45bed1be03caeb3cb9c338f80b9072245c66d1cf (diff)
downloadports-60ad617801dd2cce7fe543e9373b4bafbb565afe.tar.gz
ports-60ad617801dd2cce7fe543e9373b4bafbb565afe.zip
Notes
Diffstat (limited to 'editors/em')
-rw-r--r--editors/em/files/patch-ag30
1 files changed, 25 insertions, 5 deletions
diff --git a/editors/em/files/patch-ag b/editors/em/files/patch-ag
index 33267b37d56a..d94a2dac738a 100644
--- a/editors/em/files/patch-ag
+++ b/editors/em/files/patch-ag
@@ -1,5 +1,5 @@
--- main.c.orig Fri Jan 26 21:31:22 2001
-+++ main.c Sun Jun 13 00:19:43 2004
++++ main.c Fri Dec 15 01:11:42 2006
@@ -49,11 +49,17 @@
*
* 4.0 Petri Kutvonen, 1-Sep-91
@@ -22,12 +22,18 @@
*/
#include <stdio.h>
-@@ -89,6 +95,13 @@
+@@ -89,6 +95,19 @@
#include <signal.h>
#endif
+static int prtuse(char*);
+
++#if UNIX
++static void emergencyexit();
++#ifdef SIGWINCH
++extern void sizesignal();
++#endif
++#endif
+
+#if defined(TOYCODE) && defined(BSD)
+#include <sys/unistd.h>
@@ -36,7 +42,21 @@
#if CALLED
emacs(argc, argv)
#else
-@@ -225,9 +238,21 @@
+@@ -131,13 +150,6 @@
+ int sink; /* for file name scan */
+ #endif
+
+-#if UNIX
+- static void emergencyexit();
+-#ifdef SIGWINCH
+- extern void sizesignal();
+-#endif
+-#endif
+-
+ #if PKCODE & VMS
+ (void) umask(-1); /* use old protection (this is at wrong place) */
+ #endif
+@@ -225,9 +237,21 @@
#if TOYCODE
case 't': /* -t for tabmask change */
case 'T':
@@ -61,7 +81,7 @@
#endif
default: /* unknown switch */
/* ignore this for now */
-@@ -273,7 +298,11 @@
+@@ -273,7 +297,11 @@
sink = strlen(argv[carg]);
if (sink >= 2 && (argv[carg][sink-2] == '.' &&
(argv[carg][sink-1] == 'c' || argv[carg][sink-1] == 'h')))
@@ -74,7 +94,7 @@
#endif
}
}
-@@ -769,7 +798,7 @@
+@@ -769,7 +797,7 @@
ALWAYS null terminate
*/