summaryrefslogtreecommitdiff
path: root/databases/mysql-gui/files/patch-grant.cc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-12-14 18:03:48 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-12-14 18:03:48 +0000
commite4b8424f336a69682278ac3b5d2bdc4a90ee0fff (patch)
tree7fa01b5d6e789a414aab041ca7a0197b3c41f716 /databases/mysql-gui/files/patch-grant.cc
parent- Force linker path so libobjc.so will still be found. (diff)
- Fix patching
- Fix build on 4.x - Add patches to build on 5.x from edwin Note this does not build on 5.x, my C++ fu is not good enough to overcome iterator usage in admin.cc. Patches are welcomed. PR: ports/47862 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to '')
-rw-r--r--databases/mysql-gui/files/patch-grant.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/mysql-gui/files/patch-grant.cc b/databases/mysql-gui/files/patch-grant.cc
new file mode 100644
index 000000000000..6f9e3b8b4110
--- /dev/null
+++ b/databases/mysql-gui/files/patch-grant.cc
@@ -0,0 +1,10 @@
+--- grant.cc.orig Wed Apr 11 21:12:24 2001
++++ grant.cc Mon Feb 3 03:47:34 2003
+@@ -23,6 +23,7 @@
+ #endif
+ #include <iomanip>
+ #include <string>
++#undef Success
+ #include <sqlplus.hh>
+
+ #define REFRESH_GRANT 1 /* Refresh grant tables */