summaryrefslogtreecommitdiff
path: root/editors/jove/files/patch-ae
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-12-22 16:42:19 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-12-22 16:42:19 +0000
commit641cfa39ea772623ec9ab550521e027de65393b1 (patch)
tree475c470b247c8de89b1630c70e3d343d6ca4bfe9 /editors/jove/files/patch-ae
parentUpdate to version 1.1.0 (diff)
- Support CFLAGS properly
- Support install macros - mktemp() -> mkstemp() - Remove unnecessary manpages PR: 23759 Submitted by: Ports Fury
Diffstat (limited to 'editors/jove/files/patch-ae')
-rw-r--r--editors/jove/files/patch-ae19
1 files changed, 19 insertions, 0 deletions
diff --git a/editors/jove/files/patch-ae b/editors/jove/files/patch-ae
new file mode 100644
index 000000000000..284c1eb35bc7
--- /dev/null
+++ b/editors/jove/files/patch-ae
@@ -0,0 +1,19 @@
+--- io.c.orig Fri Mar 8 02:34:42 1996
++++ io.c Wed Dec 20 05:19:17 2000
+@@ -1193,10 +1193,16 @@
+ #endif
+ );
+ tfname = copystr(buf);
++#ifdef NO_MKSTEMP
+ tfname = mktemp(tfname);
++#endif
+ #ifndef MSFILESYSTEM
++#ifndef NO_MKSTEMP
++ tmpfd = mkstemp(tfname);
++#else
+ (void) close(creat(tfname, 0600));
+ tmpfd = open(tfname, 2);
++#endif
+ #else /* MSFILESYSTEM */
+ tmpfd = open(tfname, O_CREAT|O_EXCL|O_BINARY|O_RDWR, S_IWRITE|S_IREAD);
+ #endif /* MSFILESYSTEM */