summaryrefslogtreecommitdiff
path: root/databases/pgadmin3-12/files/patch-src-include-pgFunction.h
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2006-12-18 10:19:16 +0000
committerMax Khon <fjoe@FreeBSD.org>2006-12-18 10:19:16 +0000
commitd148c69d7825a834719f74a886a93fbf2abb124b (patch)
tree0e90785b827b01a9454de3aa1b3865d2b0f24742 /databases/pgadmin3-12/files/patch-src-include-pgFunction.h
parentThis port now builds with gcc 4.0+ (diff)
- Fix build with gcc 4.1.
- Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=180062
Diffstat (limited to 'databases/pgadmin3-12/files/patch-src-include-pgFunction.h')
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-pgFunction.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/pgadmin3-12/files/patch-src-include-pgFunction.h b/databases/pgadmin3-12/files/patch-src-include-pgFunction.h
new file mode 100644
index 000000000000..d3db42602fa5
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-pgFunction.h
@@ -0,0 +1,11 @@
+--- src/include/pgFunction.h.orig Mon Dec 18 14:03:22 2006
++++ src/include/pgFunction.h Mon Dec 18 14:03:33 2006
+@@ -33,7 +33,7 @@
+ int GetIcon() { return PGICON_FUNCTION; }
+ void ShowTreeDetail(wxTreeCtrl *browser, frmMain *form=0, ctlListView *properties=0, ctlSQLBox *sqlPane=0);
+ static pgObject *ReadObjects(pgCollection *collection, wxTreeCtrl *browser);
+- static pgFunction *pgFunction::AppendFunctions(pgObject *obj, pgSchema *schema, wxTreeCtrl *browser, const wxString &restriction);
++ static pgFunction *AppendFunctions(pgObject *obj, pgSchema *schema, wxTreeCtrl *browser, const wxString &restriction);
+
+ wxString GetFullName() const {return GetName()+wxT("(")+GetArgTypes()+wxT(")"); }
+ wxString GetArgTypeNames() const { return argTypeNames; }