diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-06-07 11:59:11 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-06-07 11:59:11 +0000 |
commit | f914cb767331d25796a89e973b0f61a8e72f7ae2 (patch) | |
tree | 07ea9c54c8e1f13ad695c78997bf13339d9c4e68 /databases/sqlrelay/files | |
parent | a43e8d886a49499c2347615d0dd9fcea50c8a43b (diff) |
- Fix build compile errors
- Remove BROKEN
Approved by: culot / jpaetzel (mentors, implicit)
Notes
Notes:
svn path=/head/; revision=320195
Diffstat (limited to 'databases/sqlrelay/files')
-rw-r--r-- | databases/sqlrelay/files/patch-const-char-ptr | 26 | ||||
-rw-r--r-- | databases/sqlrelay/files/patch-undeclared-umask | 12 |
2 files changed, 38 insertions, 0 deletions
diff --git a/databases/sqlrelay/files/patch-const-char-ptr b/databases/sqlrelay/files/patch-const-char-ptr new file mode 100644 index 000000000000..8e38b1e4631e --- /dev/null +++ b/databases/sqlrelay/files/patch-const-char-ptr @@ -0,0 +1,26 @@ +diff --git src/connection/sqlrcursor/queryparse.C src/connection/sqlrcursor/queryparse.C +index 989cc50..fed0738 100644 +--- src/connection/sqlrcursor/queryparse.C ++++ src/connection/sqlrcursor/queryparse.C +@@ -61,7 +61,7 @@ void sqlrcursor_svr::checkForTempTable(const char *query, uint32_t length) { + // see if the query matches the pattern for a temporary query that + // creates a temporary table + if (createtemp.match(ptr)) { +- ptr=createtemp.getSubstringEnd(0); ++ ptr=(char *)createtemp.getSubstringEnd(0); + } else { + return; + } +diff --git src/connections/router/routerconnection.C src/connections/router/routerconnection.C +index b8b4b34..f67fb4b 100644 +--- src/connections/router/routerconnection.C ++++ src/connections/router/routerconnection.C +@@ -632,7 +632,7 @@ void routercursor::checkForTempTable(const char *query, uint32_t length) { + + // look for "create global temporary table " + if (createoratemp.match(ptr)) { +- ptr=createoratemp.getSubstringEnd(0); ++ ptr=(char *)createoratemp.getSubstringEnd(0); + } else { + return; + } diff --git a/databases/sqlrelay/files/patch-undeclared-umask b/databases/sqlrelay/files/patch-undeclared-umask new file mode 100644 index 000000000000..1ce1787ee7fa --- /dev/null +++ b/databases/sqlrelay/files/patch-undeclared-umask @@ -0,0 +1,12 @@ +diff --git src/util/debugfile.C src/util/debugfile.C +index 12237ee..965edf7 100644 +--- src/util/debugfile.C ++++ src/util/debugfile.C +@@ -5,6 +5,7 @@ + #include <rudiments/stringbuffer.h> + #include <rudiments/process.h> + #include <config.h> ++#include <sys/stat.h> + + debugfile::debugfile() { + dbgfile=NULL; |