freebsd-ports/databases/metakit/files/patch-ac
Maxim Sobolev 289b236303 Update to 2.01.
Other improvements:
- make USE_LIBTOOL actually working;
- enable building of python module and make python the secondary category;
- install api documentation;
- reshape PLIST to fully use screen estate;
- replace ugly ${FILESDIR}/patch.Makefile with normal patch.
2000-07-31 08:38:54 +00:00

15 lines
429 B
Text

--- ../tcl/mk4tcl.cpp.orig Fri Jul 28 19:40:17 2000
+++ ../tcl/mk4tcl.cpp Fri Jul 28 19:40:21 2000
@@ -565,10 +565,12 @@
#include <fcntl.h>
#include <errno.h>
+#if !defined(__FreeBSD__)
#define LOCK_SH 1 /* Shared lock. */
#define LOCK_EX 2 /* Exclusive lock. */
#define LOCK_UN 8 /* Unlock. */
#define LOCK_NB 4 /* Don't block when locking. */
+#endif
static int my_flock(int fd, int type)
{