summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2006-12-18 10:19:16 +0000
committerfjoe <fjoe@FreeBSD.org>2006-12-18 10:19:16 +0000
commitda9dd303a0f0c885de82e8bafc20ce53c88167c5 (patch)
tree77505250994c6f5563ebcd64644201291d62552b /databases
parent0a5aad19f651d467a36a68ed0fa9991734b7065c (diff)
downloadFreeBSD-ports-da9dd303a0f0c885de82e8bafc20ce53c88167c5.zip
FreeBSD-ports-da9dd303a0f0c885de82e8bafc20ce53c88167c5.tar.gz
- Fix build with gcc 4.1.
- Bump PORTREVISION.
Diffstat (limited to 'databases')
-rw-r--r--databases/pgadmin3-12/Makefile2
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-pgFunction.h11
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-pgObject.h11
3 files changed, 23 insertions, 1 deletions
diff --git a/databases/pgadmin3-12/Makefile b/databases/pgadmin3-12/Makefile
index e71b07a..522ef37 100644
--- a/databases/pgadmin3-12/Makefile
+++ b/databases/pgadmin3-12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pgadmin3
PORTVERSION= 1.2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
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 0000000..d3db426
--- /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; }
diff --git a/databases/pgadmin3-12/files/patch-src-include-pgObject.h b/databases/pgadmin3-12/files/patch-src-include-pgObject.h
new file mode 100644
index 0000000..f93e219
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-pgObject.h
@@ -0,0 +1,11 @@
+--- src/include/pgObject.h.orig Mon Dec 18 14:02:09 2006
++++ src/include/pgObject.h Mon Dec 18 14:02:19 2006
+@@ -223,7 +223,7 @@
+ pgSchemaObject(pgSchema *newSchema, int newType, const wxString& newName = wxT("")) : pgDatabaseObject(newType, newName)
+ { tableOid=0; SetSchema(newSchema); wxLogInfo(wxT("Creating a pg") + GetTypeName() + wxT(" object")); }
+
+- pgSchemaObject::~pgSchemaObject()
++ ~pgSchemaObject()
+ { wxLogInfo(wxT("Destroying a pg") + GetTypeName() + wxT(" object")); }
+
+ bool GetSystemObject() const;
OpenPOWER on IntegriCloud