ports/databases/mysql-gui/files/patch-single.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

20 lines
556 B
C++

--- single.cc.orig Wed Apr 11 21:12:23 2001
+++ single.cc Mon Feb 3 04:05:55 2003
@@ -1,16 +1,14 @@
// generated by Fast Light User Interface Designer (fluid) version 1.00
-
#include <client.h>
+#undef Success
#include <sqlplus.hh>
+#undef Time
//
// This file implements the file I/O routines for the editor engine.
// These are simple ASCII I/O routines, just for getting text out of
// a file, or putting it into one.
//
#include "single.h"
-#include <FL/vartypes.h>
-#include <FL/strings.h>
-#include <FL/editor.h>
extern Connection *con;