summaryrefslogtreecommitdiff
path: root/databases/firebird20-server/files/patch-jrd::isc_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/firebird20-server/files/patch-jrd::isc_file.c')
-rw-r--r--databases/firebird20-server/files/patch-jrd::isc_file.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/firebird20-server/files/patch-jrd::isc_file.c b/databases/firebird20-server/files/patch-jrd::isc_file.c
new file mode 100644
index 000000000000..7047f182d59c
--- /dev/null
+++ b/databases/firebird20-server/files/patch-jrd::isc_file.c
@@ -0,0 +1,15 @@
+--- jrd/isc_file.c.orig Tue Dec 18 01:40:18 2001
++++ jrd/isc_file.c Sat Jul 6 18:04:55 2002
+@@ -106,6 +106,12 @@
+ #define MTAB_CLOSE(stream) ib_fclose (stream)
+ #endif
+
++#ifdef FREEBSD
++#define MTAB "/etc/fstab"
++#define MTAB_OPEN(path,type) ib_fopen (path, type)
++#define MTAB_CLOSE(stream) ib_fclose (stream)
++#endif
++
+ #ifdef DARWIN
+ #define MTAB "/etc/fstab.hd"
+ #define MTAB_OPEN(path,type) ib_fopen (path, type)