aboutsummaryrefslogtreecommitdiff
path: root/databases/firebird21-server/files/patch-src%lock%lock.cpp
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-12-20 09:05:05 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-12-20 09:05:05 +0000
commit0ec9572a9572c604f67e7b7c6f9004ada9b579d8 (patch)
treefa3457d076f0b13287407cc2597e6ded7da9b838 /databases/firebird21-server/files/patch-src%lock%lock.cpp
parent1b7843d71710b043e2a4739d39535cd3ba73a9c2 (diff)
downloadports-0ec9572a9572c604f67e7b7c6f9004ada9b579d8.tar.gz
ports-0ec9572a9572c604f67e7b7c6f9004ada9b579d8.zip
- New port: databases/firebird21-server
Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981. Firebird is completely free of any registration, licensing or deployment fees. It may be deployed freely for use with any third-party software, whether commercial or not. WWW: http://sourceforge.net/projects/firebird/ WWW: http://www.firebirdsql.org/ PR: 152402 Submitted by: Max Kochubey <root at hangover.org.ru>
Notes
Notes: svn path=/head/; revision=266634
Diffstat (limited to 'databases/firebird21-server/files/patch-src%lock%lock.cpp')
-rw-r--r--databases/firebird21-server/files/patch-src%lock%lock.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/firebird21-server/files/patch-src%lock%lock.cpp b/databases/firebird21-server/files/patch-src%lock%lock.cpp
new file mode 100644
index 000000000000..279324733739
--- /dev/null
+++ b/databases/firebird21-server/files/patch-src%lock%lock.cpp
@@ -0,0 +1,16 @@
+--- src/lock/lock.cpp.orig Fri Feb 3 16:13:23 2006
++++ src/lock/lock.cpp Wed Aug 16 12:41:32 2006
+@@ -2708,7 +2708,12 @@
+ #ifdef DEBUG_MANAGER
+ gds__prefix(string, DEBUG_MANAGER);
+ #else
+- gds__prefix(string, LOCK_MANAGER);
++ if (! getenv("FIREBIRD")) {
++ strlcpy(string, FB_EXEC_PREFIX "/", MAXPATHLEN);
++ strlcat(string, LOCK_MANAGER, MAXPATHLEN);
++ } else {
++ gds__prefix(string, LOCK_MANAGER);
++ }
+ #endif
+ if (statistics(string, &stat_buf) == -1) {
+ // bug() fills the vector with this address, it must be static.