summaryrefslogtreecommitdiff
path: root/editors/emacs/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-01-04 01:16:18 +0000
committertron <tron@pkgsrc.org>1999-01-04 01:16:18 +0000
commite05360e69c73babe80fa58ff4e4f91c3e8937286 (patch)
tree00b5524fa84d593141ed005147dd9269f45666f6 /editors/emacs/patches
parent81115155501c8856b00c3a3073b8102ab6f1fc03 (diff)
downloadpkgsrc-e05360e69c73babe80fa58ff4e4f91c3e8937286.tar.gz
Don't check for deprecated symbol "unix".
Diffstat (limited to 'editors/emacs/patches')
-rw-r--r--editors/emacs/patches/patch-ah17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-ah b/editors/emacs/patches/patch-ah
new file mode 100644
index 00000000000..71cd76c8f06
--- /dev/null
+++ b/editors/emacs/patches/patch-ah
@@ -0,0 +1,17 @@
+$NetBSD: patch-ah,v 1.1 1999/01/04 01:16:18 tron Exp $
+
+--- src/fileio.c.orig Mon Aug 10 08:12:32 1998
++++ src/fileio.c Mon Jan 4 02:03:29 1999
+@@ -3201,8 +3201,11 @@
+ return value;
+ }
+
+-#ifdef unix
++#ifdef __NetBSD__
++#define unix 42
++#endif
+
++#ifdef unix
+ DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "",
+ "Tell Unix to finish all pending disk updates.")
+ ()