ports/databases/mysql-gui/files/patch-grant.cc
Pav Lucistnik e4b8424f33 - 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)
2003-12-14 18:03:48 +00:00

10 lines
240 B
C++

--- 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 */