aboutsummaryrefslogtreecommitdiff
path: root/databases/usogres/files/patch-lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/usogres/files/patch-lock.cc')
-rw-r--r--databases/usogres/files/patch-lock.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/usogres/files/patch-lock.cc b/databases/usogres/files/patch-lock.cc
new file mode 100644
index 000000000000..fe9f055f9f7a
--- /dev/null
+++ b/databases/usogres/files/patch-lock.cc
@@ -0,0 +1,11 @@
+--- src/lock.cc.orig Wed Aug 20 19:50:03 2003
++++ src/lock.cc Wed Aug 20 19:50:17 2003
+@@ -115,7 +115,7 @@
+
+ if (oflag & O_CREAT) {
+ va_start(ap, oflag);
+- mode = va_arg(ap, mode_t);
++ mode = (int)va_arg(ap, int);
+ value = va_arg(ap, unsigned int);
+ va_end(ap);
+ if (mkfifo(path, mode) < 0) {