mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix build compile errors
- Remove BROKEN Approved by: culot / jpaetzel (mentors, implicit)
This commit is contained in:
parent
a43e8d886a
commit
f914cb7673
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320195
@ -11,8 +11,6 @@ COMMENT= A persistent DB connection pooling/proxying/load balancing system
|
||||
|
||||
LIB_DEPENDS= rudiments.1:${PORTSDIR}/devel/rudiments
|
||||
|
||||
BROKEN= does not compile
|
||||
|
||||
WANT_GNOME= yes
|
||||
USE_GMAKE= yes
|
||||
USE_AUTOTOOLS= autoconf libtool
|
||||
|
26
databases/sqlrelay/files/patch-const-char-ptr
Normal file
26
databases/sqlrelay/files/patch-const-char-ptr
Normal file
@ -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;
|
||||
}
|
12
databases/sqlrelay/files/patch-undeclared-umask
Normal file
12
databases/sqlrelay/files/patch-undeclared-umask
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user