summaryrefslogtreecommitdiffstats
path: root/databases/pgadmin3-12
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2004-06-27 21:18:25 +0000
committerfjoe <fjoe@FreeBSD.org>2004-06-27 21:18:25 +0000
commit762268be86847d23f905c96668b9eaf4d3a9b793 (patch)
tree413c3951fb63ab412ff017d371b8f326af3d82d7 /databases/pgadmin3-12
parentbd3e0984666e218f3b84186bde0cad66ade4191a (diff)
downloadFreeBSD-ports-762268be86847d23f905c96668b9eaf4d3a9b793.zip
FreeBSD-ports-762268be86847d23f905c96668b9eaf4d3a9b793.tar.gz
Update to 1.0.2.
Use wxWidgets 2.5.2.
Diffstat (limited to 'databases/pgadmin3-12')
-rw-r--r--databases/pgadmin3-12/Makefile27
-rw-r--r--databases/pgadmin3-12/distinfo4
-rw-r--r--databases/pgadmin3-12/files/patch-configure15
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-dlgForeignKey.h11
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-dlgFunction.h10
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-dlgRule.h10
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-dlgTable.h31
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-dlgView.h10
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-frmQuery.h11
-rw-r--r--databases/pgadmin3-12/files/patch-src-include-frmStatus.h12
-rw-r--r--databases/pgadmin3-12/files/patch-src-ui-dlgForeignKey.cpp11
-rw-r--r--databases/pgadmin3-12/files/patch-src-ui-dlgFunction.cpp23
-rw-r--r--databases/pgadmin3-12/files/patch-src-ui-dlgRule.cpp24
-rw-r--r--databases/pgadmin3-12/files/patch-src-ui-dlgTable.cpp114
-rw-r--r--databases/pgadmin3-12/files/patch-src-ui-dlgView.cpp24
-rw-r--r--databases/pgadmin3-12/files/patch-src-ui-events.cpp10
-rw-r--r--databases/pgadmin3-12/files/patch-src-ui-frmQuery.cpp11
-rw-r--r--databases/pgadmin3-12/files/patch-src-ui-frmStatus.cpp39
-rw-r--r--databases/pgadmin3-12/pkg-plist19
19 files changed, 399 insertions, 17 deletions
diff --git a/databases/pgadmin3-12/Makefile b/databases/pgadmin3-12/Makefile
index ac31925..6e7c664 100644
--- a/databases/pgadmin3-12/Makefile
+++ b/databases/pgadmin3-12/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pgadmin3
-PORTVERSION= 1.0.1
-PORTREVISION= 3
+PORTVERSION= 1.0.2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= pgadmin3/release/src
@@ -17,21 +16,31 @@ COMMENT= PostgreSQL database design and management system
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-wx=${X11BASE}
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
POSTGRESQL_PORT?= databases/postgresql7
+post-patch:
+ @${FIND} ${WRKSRC}/src \( -name '*.cpp' -or -name '*.h' \) -print0 | \
+ ${XARGS} -0 ${REINPLACE_CMD} -e 's,wxNotifyEvent,wxCommandEvent,g'
+
.include <bsd.port.pre.mk>
-#.if ${OSVERSION} < 500000
-LIB_DEPENDS+= wx_gtk2_stc-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2-contrib
-CONFIGURE_ARGS+=--with-wx-config=wxgtk2-2.4-config
-#.else
-#LIB_DEPENDS+= wx_gtk2u_stc-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-contrib
-#CONFIGURE_ARGS+=--with-wx-config=wxgtk2u-2.4-config
-#.endif
+.if defined(WITH_UNICODE)
+.if ${OSVERSION} < 500000
+IGNORE= Systems prior to FreeBSD 5.0 currently out of support
+.else
+LIB_DEPENDS+= wx_gtk2u_stc-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-contrib-devel
+CONFIGURE_ARGS+=--with-wx-config=wxgtk2u-2.5-config
+.endif
+.else
+LIB_DEPENDS+= wx_gtk2_stc-2.5.2:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-devel
+CONFIGURE_ARGS+=--with-wx-config=wxgtk2-2.5-config
+.endif # WITH_UNICODE
.include <bsd.port.post.mk>
diff --git a/databases/pgadmin3-12/distinfo b/databases/pgadmin3-12/distinfo
index 064b634..55610c9 100644
--- a/databases/pgadmin3-12/distinfo
+++ b/databases/pgadmin3-12/distinfo
@@ -1,2 +1,2 @@
-MD5 (pgadmin3-1.0.1.tar.gz) = bbdc2b4568bbaac103e3652aa04e6bf1
-SIZE (pgadmin3-1.0.1.tar.gz) = 3292840
+MD5 (pgadmin3-1.0.2.tar.gz) = 6f0c61d2d0736d057b80a319b8148fd2
+SIZE (pgadmin3-1.0.2.tar.gz) = 3321033
diff --git a/databases/pgadmin3-12/files/patch-configure b/databases/pgadmin3-12/files/patch-configure
index 15f3ec3..45fe8d0 100644
--- a/databases/pgadmin3-12/files/patch-configure
+++ b/databases/pgadmin3-12/files/patch-configure
@@ -1,10 +1,19 @@
---- configure.orig Tue Oct 14 20:10:14 2003
-+++ configure Wed Nov 5 03:55:28 2003
+--- configure.orig Fri Nov 28 17:36:36 2003
++++ configure Mon Jun 28 01:33:07 2004
+@@ -5017,7 +5017,7 @@
+ LIBS="$LIBS -lwx_gtk2d_stc-${WX_VERSION} -lwx_gtk2d_xrc-${WX_VERSION}"
+ LIBS="$LIBS $WX_NEW_LDFLAGS"
+ ;;
+- *wx_gtk2u-*)
++ *wx_gtk2u*)
+ LIBS="$LIBS -lwx_gtk2u_stc-${WX_VERSION} -lwx_gtk2u_xrc-${WX_VERSION}"
+ LIBS="$LIBS $WX_NEW_LDFLAGS"
+ ;;
@@ -5033,13 +5033,18 @@
LIBS="$LIBS -lwx_gtk_stc-${WX_VERSION} -lwx_gtk_xrc-${WX_VERSION}"
LIBS="$LIBS $WX_NEW_LDFLAGS"
;;
-+ *wx_gtk2-*)
++ *wx_gtk2*)
+ LIBS="$LIBS -lwx_gtk2_stc-${WX_VERSION} -lwx_gtk2_xrc-${WX_VERSION}"
+ LIBS="$LIBS $WX_NEW_LDFLAGS"
+ ;;
diff --git a/databases/pgadmin3-12/files/patch-src-include-dlgForeignKey.h b/databases/pgadmin3-12/files/patch-src-include-dlgForeignKey.h
new file mode 100644
index 0000000..5b0f937
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-dlgForeignKey.h
@@ -0,0 +1,11 @@
+--- src/include/dlgForeignKey.h.orig Mon Jun 28 01:12:17 2004
++++ src/include/dlgForeignKey.h Mon Jun 28 01:12:29 2004
+@@ -35,7 +35,7 @@
+
+ void OnChange(wxNotifyEvent &ev);
+ void OnCheckDeferrable(wxNotifyEvent &ev);
+- void OnSelChangeCol(wxNotifyEvent &ev);
++ void OnSelChangeCol(wxListEvent &ev);
+ void OnSelChangeRef(wxNotifyEvent &ev);
+ void OnSelChangeRefCol(wxNotifyEvent &ev);
+ void OnAddRef(wxNotifyEvent &ev);
diff --git a/databases/pgadmin3-12/files/patch-src-include-dlgFunction.h b/databases/pgadmin3-12/files/patch-src-include-dlgFunction.h
new file mode 100644
index 0000000..519ae51
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-dlgFunction.h
@@ -0,0 +1,10 @@
+--- src/include/dlgFunction.h.orig Mon Jun 28 00:49:55 2004
++++ src/include/dlgFunction.h Mon Jun 28 00:50:16 2004
+@@ -33,6 +33,7 @@
+ pgFunction *function;
+
+ void OnChange(wxNotifyEvent &ev);
++ void OnChangeStyled(wxStyledTextEvent &ev);
+ void OnSelChangeLanguage(wxNotifyEvent &ev);
+ void OnSelChangeArg(wxNotifyEvent &ev);
+ void OnSelChangeType(wxNotifyEvent &ev);
diff --git a/databases/pgadmin3-12/files/patch-src-include-dlgRule.h b/databases/pgadmin3-12/files/patch-src-include-dlgRule.h
new file mode 100644
index 0000000..95c28f0
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-dlgRule.h
@@ -0,0 +1,10 @@
+--- src/include/dlgRule.h.orig Mon Jun 28 00:58:04 2004
++++ src/include/dlgRule.h Mon Jun 28 00:58:20 2004
+@@ -34,6 +34,7 @@
+ wxString oldDefinition;
+
+ void OnChange(wxNotifyEvent &ev);
++ void OnChangeStyled(wxStyledTextEvent &ev);
+
+ bool didChange();
+
diff --git a/databases/pgadmin3-12/files/patch-src-include-dlgTable.h b/databases/pgadmin3-12/files/patch-src-include-dlgTable.h
new file mode 100644
index 0000000..357ba54
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-dlgTable.h
@@ -0,0 +1,31 @@
+--- src/include/dlgTable.h.orig Mon Aug 11 17:36:55 2003
++++ src/include/dlgTable.h Mon Jun 28 00:41:25 2004
+@@ -32,19 +32,19 @@
+ pgSchema *schema;
+ pgTable *table;
+
+- void OnChange(wxNotifyEvent &ev);
++ void OnChange(wxCommandEvent &ev);
+
+- void OnAddTable(wxNotifyEvent &ev);
+- void OnRemoveTable(wxNotifyEvent &ev);
+- void OnSelChangeTable(wxListEvent &ev);
++ void OnAddTable(wxCommandEvent &ev);
++ void OnRemoveTable(wxCommandEvent &ev);
++ void OnSelChangeTable(wxCommandEvent &ev);
+
+- void OnAddCol(wxNotifyEvent &ev);
+- void OnChangeCol(wxNotifyEvent &ev);
+- void OnRemoveCol(wxNotifyEvent &ev);
++ void OnAddCol(wxCommandEvent &ev);
++ void OnChangeCol(wxCommandEvent &ev);
++ void OnRemoveCol(wxCommandEvent &ev);
+ void OnSelChangeCol(wxListEvent &ev);
+
+- void OnAddConstr(wxNotifyEvent &ev);
+- void OnRemoveConstr(wxNotifyEvent &ev);
++ void OnAddConstr(wxCommandEvent &ev);
++ void OnRemoveConstr(wxCommandEvent &ev);
+ void OnSelChangeConstr(wxListEvent &ev);
+
+ void FillConstraint();
diff --git a/databases/pgadmin3-12/files/patch-src-include-dlgView.h b/databases/pgadmin3-12/files/patch-src-include-dlgView.h
new file mode 100644
index 0000000..8d77181
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-dlgView.h
@@ -0,0 +1,10 @@
+--- src/include/dlgView.h.orig Mon Jun 28 00:53:54 2004
++++ src/include/dlgView.h Mon Jun 28 00:54:12 2004
+@@ -34,6 +34,7 @@
+ wxString oldDefinition;
+
+ void OnChange(wxNotifyEvent &ev);
++ void OnChangeStyled(wxStyledTextEvent &ev);
+
+ ctlSQLBox *sqlBox;
+
diff --git a/databases/pgadmin3-12/files/patch-src-include-frmQuery.h b/databases/pgadmin3-12/files/patch-src-include-frmQuery.h
new file mode 100644
index 0000000..1c9862e
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-frmQuery.h
@@ -0,0 +1,11 @@
+--- src/include/frmQuery.h.orig Mon Aug 4 04:39:32 2003
++++ src/include/frmQuery.h Mon Jun 28 00:41:25 2004
+@@ -48,7 +48,7 @@
+ void OnSave(wxCommandEvent& event);
+ void OnSaveAs(wxCommandEvent& event);
+ void OnExport(wxCommandEvent& event);
+- void OnChange(wxNotifyEvent& event);
++ void OnChange(wxStyledTextEvent& event);
+ void OnExit(wxCommandEvent& event);
+ void OnRecent(wxCommandEvent& event);
+ void OnCut(wxCommandEvent& event);
diff --git a/databases/pgadmin3-12/files/patch-src-include-frmStatus.h b/databases/pgadmin3-12/files/patch-src-include-frmStatus.h
new file mode 100644
index 0000000..dc7df8d
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-include-frmStatus.h
@@ -0,0 +1,12 @@
+--- src/include/frmStatus.h.orig Mon Jun 28 01:16:59 2004
++++ src/include/frmStatus.h Mon Jun 28 01:21:48 2004
+@@ -35,7 +35,9 @@
+ void OnHelp(wxCommandEvent& ev);
+ void OnClose(wxCommandEvent &event);
+ void OnRefresh(wxCommandEvent &event);
++ void OnRefreshTimer(wxTimerEvent &event);
+ void OnRateChange(wxCommandEvent &event);
++ void OnRateChangeSpin(wxSpinEvent &event);
+ frmMain *mainForm;
+ pgConn *connection;
+ long backend_pid;
diff --git a/databases/pgadmin3-12/files/patch-src-ui-dlgForeignKey.cpp b/databases/pgadmin3-12/files/patch-src-ui-dlgForeignKey.cpp
new file mode 100644
index 0000000..65acd54
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-ui-dlgForeignKey.cpp
@@ -0,0 +1,11 @@
+--- src/ui/dlgForeignKey.cpp.orig Mon Jun 28 01:12:47 2004
++++ src/ui/dlgForeignKey.cpp Mon Jun 28 01:13:06 2004
+@@ -87,7 +87,7 @@
+ }
+
+
+-void dlgForeignKey::OnSelChangeCol(wxNotifyEvent &ev)
++void dlgForeignKey::OnSelChangeCol(wxListEvent &ev)
+ {
+ btnRemoveRef->Enable();
+ }
diff --git a/databases/pgadmin3-12/files/patch-src-ui-dlgFunction.cpp b/databases/pgadmin3-12/files/patch-src-ui-dlgFunction.cpp
new file mode 100644
index 0000000..68cf8f7
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-ui-dlgFunction.cpp
@@ -0,0 +1,23 @@
+--- src/ui/dlgFunction.cpp.orig Mon Jun 28 00:48:47 2004
++++ src/ui/dlgFunction.cpp Mon Jun 28 00:49:42 2004
+@@ -61,7 +61,7 @@
+ EVT_CHECKBOX(XRCID("chkSecureDefiner"), dlgFunction::OnChange)
+ EVT_TEXT(XRCID("txtObjectFile"), dlgFunction::OnChange)
+ EVT_TEXT(XRCID("txtLinkSymbol"), dlgFunction::OnChange)
+- EVT_STC_MODIFIED(CTL_SQLBOX, dlgFunction::OnChange)
++ EVT_STC_MODIFIED(CTL_SQLBOX, dlgFunction::OnChangeStyled)
+
+ EVT_TEXT(XRCID("cbReturntype"), dlgFunction::OnChange)
+ EVT_TEXT(XRCID("cbDatatype"), dlgFunction::OnSelChangeType)
+@@ -251,6 +251,11 @@
+ }
+ }
+
++
++void dlgFunction::OnChangeStyled(wxStyledTextEvent &ev)
++{
++ OnChange(ev);
++}
+
+ void dlgFunction::ReplaceSizer(wxWindow *w, bool isC, int border)
+ {
diff --git a/databases/pgadmin3-12/files/patch-src-ui-dlgRule.cpp b/databases/pgadmin3-12/files/patch-src-ui-dlgRule.cpp
new file mode 100644
index 0000000..15f7d79
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-ui-dlgRule.cpp
@@ -0,0 +1,24 @@
+--- src/ui/dlgRule.cpp.orig Mon Jun 28 00:57:12 2004
++++ src/ui/dlgRule.cpp Mon Jun 28 00:57:52 2004
+@@ -47,7 +47,7 @@
+ EVT_CHECKBOX(XRCID("chkDelete"), dlgRule::OnChange)
+ EVT_CHECKBOX(XRCID("chkDoInstead"), dlgRule::OnChange)
+ EVT_RADIOBOX(XRCID("rbxEvent"), dlgRule::OnChange)
+- EVT_STC_MODIFIED(CTL_SQLBOX, dlgRule::OnChange)
++ EVT_STC_MODIFIED(CTL_SQLBOX, dlgRule::OnChangeStyled)
+ END_EVENT_TABLE();
+
+
+@@ -166,6 +166,12 @@
+
+ EnableOK(enable);
+ }
++}
++
++
++void dlgRule::OnChangeStyled(wxStyledTextEvent &ev)
++{
++ OnChange(ev);
+ }
+
+
diff --git a/databases/pgadmin3-12/files/patch-src-ui-dlgTable.cpp b/databases/pgadmin3-12/files/patch-src-ui-dlgTable.cpp
new file mode 100644
index 0000000..218edf5
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-ui-dlgTable.cpp
@@ -0,0 +1,114 @@
+--- src/ui/dlgTable.cpp.orig Tue Oct 7 17:20:42 2003
++++ src/ui/dlgTable.cpp Mon Jun 28 00:41:25 2004
+@@ -491,7 +491,7 @@
+ }
+
+
+-void dlgTable::OnChange(wxNotifyEvent &ev)
++void dlgTable::OnChange(wxCommandEvent &ev)
+ {
+ if (table)
+ {
+@@ -520,7 +520,7 @@
+ }
+
+
+-void dlgTable::OnAddTable(wxNotifyEvent &ev)
++void dlgTable::OnAddTable(wxCommandEvent &ev)
+ {
+ int sel=cbTables->GetSelection();
+ if (sel >= 0)
+@@ -552,7 +552,7 @@
+ }
+
+
+-void dlgTable::OnRemoveTable(wxNotifyEvent &ev)
++void dlgTable::OnRemoveTable(wxCommandEvent &ev)
+ {
+ int sel=lbTables->GetSelection();
+ if (sel >= 0)
+@@ -576,13 +576,13 @@
+ }
+
+
+-void dlgTable::OnSelChangeTable(wxListEvent &ev)
++void dlgTable::OnSelChangeTable(wxCommandEvent &ev)
+ {
+ btnRemoveTable->Enable();
+ }
+
+
+-void dlgTable::OnChangeCol(wxNotifyEvent &ev)
++void dlgTable::OnChangeCol(wxCommandEvent &ev)
+ {
+ long pos=GetListSelected(lstColumns);
+ pgColumn *column=(pgColumn*) StrToLong(GetListText(lstColumns, pos, 4));
+@@ -596,30 +596,30 @@
+ lstColumns->SetItem(pos, 1, col.GetDefinition());
+ lstColumns->SetItem(pos, 3, col.GetSql());
+ }
+- wxNotifyEvent event;
++ wxCommandEvent event;
+ OnChange(event);
+ }
+
+
+-void dlgTable::OnAddCol(wxNotifyEvent &ev)
++void dlgTable::OnAddCol(wxCommandEvent &ev)
+ {
+ dlgColumn col(mainForm, NULL, table);
+ col.CenterOnParent();
+ col.SetConnection(connection);
+ if (col.Go(true) >= 0)
+ AppendListItem(lstColumns, col.GetName(), col.GetDefinition(), PGICON_COLUMN);
+- wxNotifyEvent event;
++ wxCommandEvent event;
+ OnChange(event);
+ }
+
+
+-void dlgTable::OnRemoveCol(wxNotifyEvent &ev)
++void dlgTable::OnRemoveCol(wxCommandEvent &ev)
+ {
+ lstColumns->DeleteItem(GetListSelected(lstColumns));
+
+ btnRemoveCol->Disable();
+
+- wxNotifyEvent event;
++ wxCommandEvent event;
+ OnChange(event);
+ }
+
+@@ -634,7 +634,7 @@
+ }
+
+
+-void dlgTable::OnAddConstr(wxNotifyEvent &ev)
++void dlgTable::OnAddConstr(wxCommandEvent &ev)
+ {
+ int sel=cbConstrType->GetSelection();
+ if (hasPK)
+@@ -687,12 +687,12 @@
+ break;
+ }
+ }
+- wxNotifyEvent event;
++ wxCommandEvent event;
+ OnChange(event);
+ }
+
+
+-void dlgTable::OnRemoveConstr(wxNotifyEvent &ev)
++void dlgTable::OnRemoveConstr(wxCommandEvent &ev)
+ {
+ int pos=GetListSelected(lstConstraints);
+ if (pos < 0)
+@@ -711,7 +711,7 @@
+
+ lstConstraints->DeleteItem(pos);
+ btnRemoveConstr->Disable();
+- wxNotifyEvent event;
++ wxCommandEvent event;
+ OnChange(event);
+ }
+
diff --git a/databases/pgadmin3-12/files/patch-src-ui-dlgView.cpp b/databases/pgadmin3-12/files/patch-src-ui-dlgView.cpp
new file mode 100644
index 0000000..5d7ac2b
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-ui-dlgView.cpp
@@ -0,0 +1,24 @@
+--- src/ui/dlgView.cpp.orig Mon Jun 28 00:52:41 2004
++++ src/ui/dlgView.cpp Mon Jun 28 00:53:38 2004
+@@ -36,7 +36,7 @@
+ BEGIN_EVENT_TABLE(dlgView, dlgSecurityProperty)
+ EVT_TEXT(XRCID("txtName"), dlgView::OnChange)
+ EVT_TEXT(XRCID("txtComment"), dlgView::OnChange)
+- EVT_STC_MODIFIED(CTL_SQLBOX, dlgView::OnChange)
++ EVT_STC_MODIFIED(CTL_SQLBOX, dlgView::OnChangeStyled)
+ END_EVENT_TABLE();
+
+
+@@ -117,6 +117,12 @@
+
+ EnableOK(enable);
+ }
++}
++
++
++void dlgView::OnChangeStyled(wxStyledTextEvent &ev)
++{
++ OnChange(ev);
+ }
+
+
diff --git a/databases/pgadmin3-12/files/patch-src-ui-events.cpp b/databases/pgadmin3-12/files/patch-src-ui-events.cpp
new file mode 100644
index 0000000..1797bf9
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-ui-events.cpp
@@ -0,0 +1,10 @@
+--- src/ui/events.cpp.orig Mon Jun 28 01:22:51 2004
++++ src/ui/events.cpp Mon Jun 28 01:22:38 2004
+@@ -18,6 +18,7 @@
+ #include <wx/imaglist.h>
+ #include <wx/tipdlg.h>
+ #include <wx/stc/stc.h>
++#include <wx/spinctrl.h>
+
+ // App headers
+ #include "pgAdmin3.h"
diff --git a/databases/pgadmin3-12/files/patch-src-ui-frmQuery.cpp b/databases/pgadmin3-12/files/patch-src-ui-frmQuery.cpp
new file mode 100644
index 0000000..e4f290a
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-ui-frmQuery.cpp
@@ -0,0 +1,11 @@
+--- src/ui/frmQuery.cpp.orig Mon Sep 8 17:36:08 2003
++++ src/ui/frmQuery.cpp Mon Jun 28 00:41:25 2004
+@@ -587,7 +587,7 @@
+ }
+
+
+-void frmQuery::OnChange(wxNotifyEvent& event)
++void frmQuery::OnChange(wxStyledTextEvent& event)
+ {
+ if (!changed)
+ {
diff --git a/databases/pgadmin3-12/files/patch-src-ui-frmStatus.cpp b/databases/pgadmin3-12/files/patch-src-ui-frmStatus.cpp
new file mode 100644
index 0000000..2704d96
--- /dev/null
+++ b/databases/pgadmin3-12/files/patch-src-ui-frmStatus.cpp
@@ -0,0 +1,39 @@
+--- src/ui/frmStatus.cpp.orig Mon Jun 28 01:15:25 2004
++++ src/ui/frmStatus.cpp Mon Jun 28 01:25:17 2004
+@@ -26,9 +26,9 @@
+ BEGIN_EVENT_TABLE(frmStatus, wxDialog)
+ EVT_BUTTON(XRCID("btnRefresh"), frmStatus::OnRefresh)
+ EVT_BUTTON (XRCID("btnClose"), frmStatus::OnClose)
+- EVT_SPINCTRL(XRCID("spnRefreshRate"), frmStatus::OnRateChange)
++ EVT_SPINCTRL(XRCID("spnRefreshRate"), frmStatus::OnRateChangeSpin)
+ EVT_TEXT(XRCID("spnRefreshRate"), frmStatus::OnRateChange)
+- EVT_TIMER(TIMER_ID, frmStatus::OnRefresh)
++ EVT_TIMER(TIMER_ID, frmStatus::OnRefreshTimer)
+ END_EVENT_TABLE();
+
+
+@@ -112,6 +112,11 @@
+ }
+
+
++void frmStatus::OnRateChangeSpin(wxSpinEvent &event)
++{
++ OnRateChangeSpin(event);
++}
++
+
+ void frmStatus::OnRefresh(wxCommandEvent &event)
+ {
+@@ -158,4 +163,12 @@
+ dataSet->MoveNext();
+ }
+ }
++}
++
++
++void frmStatus::OnRefreshTimer(wxTimerEvent &event)
++{
++ wxCommandEvent nullEvent;
++
++ OnRefresh(nullEvent);
+ }
diff --git a/databases/pgadmin3-12/pkg-plist b/databases/pgadmin3-12/pkg-plist
index 151aa2d..a73023c 100644
--- a/databases/pgadmin3-12/pkg-plist
+++ b/databases/pgadmin3-12/pkg-plist
@@ -97,7 +97,6 @@ share/pgadmin3/docs/en_US/pg/charset.html
share/pgadmin3/docs/en_US/pg/client-authentication-problems.html
share/pgadmin3/docs/en_US/pg/client-authentication.html
share/pgadmin3/docs/en_US/pg/client-interfaces.html
-share/pgadmin3/docs/en_US/pg/compiler.html
share/pgadmin3/docs/en_US/pg/connect-estab.html
share/pgadmin3/docs/en_US/pg/creating-cluster.html
share/pgadmin3/docs/en_US/pg/cvs-tree.html
@@ -150,13 +149,16 @@ share/pgadmin3/docs/en_US/pg/ecpg-process.html
share/pgadmin3/docs/en_US/pg/ecpg-set-connection.html
share/pgadmin3/docs/en_US/pg/ecpg-variables.html
share/pgadmin3/docs/en_US/pg/ecpg.html
+share/pgadmin3/docs/en_US/pg/errcodes-appendix.html
share/pgadmin3/docs/en_US/pg/error-message-reporting.html
share/pgadmin3/docs/en_US/pg/error-style-guide.html
+share/pgadmin3/docs/en_US/pg/examples.html
share/pgadmin3/docs/en_US/pg/executor.html
share/pgadmin3/docs/en_US/pg/explicit-joins.html
share/pgadmin3/docs/en_US/pg/explicit-locking.html
share/pgadmin3/docs/en_US/pg/extend-type-system.html
share/pgadmin3/docs/en_US/pg/extend.html
+share/pgadmin3/docs/en_US/pg/extensibility.html
share/pgadmin3/docs/en_US/pg/features.html
share/pgadmin3/docs/en_US/pg/functions-aggregate.html
share/pgadmin3/docs/en_US/pg/functions-array.html
@@ -182,6 +184,7 @@ share/pgadmin3/docs/en_US/pg/geqo.html
share/pgadmin3/docs/en_US/pg/gist.html
share/pgadmin3/docs/en_US/pg/groups.html
share/pgadmin3/docs/en_US/pg/history.html
+share/pgadmin3/docs/en_US/pg/implementation.html
share/pgadmin3/docs/en_US/pg/index.html
share/pgadmin3/docs/en_US/pg/indexcost.html
share/pgadmin3/docs/en_US/pg/indexes-examine.html
@@ -270,6 +273,7 @@ share/pgadmin3/docs/en_US/pg/libpq-pgpass.html
share/pgadmin3/docs/en_US/pg/libpq-status.html
share/pgadmin3/docs/en_US/pg/libpq-threading.html
share/pgadmin3/docs/en_US/pg/libpq.html
+share/pgadmin3/docs/en_US/pg/limitations.html
share/pgadmin3/docs/en_US/pg/lo-examplesect.html
share/pgadmin3/docs/en_US/pg/lo-funcs.html
share/pgadmin3/docs/en_US/pg/lo-implementation.html
@@ -320,6 +324,7 @@ share/pgadmin3/docs/en_US/pg/pgtcl-pgselect.html
share/pgadmin3/docs/en_US/pg/pgtcl.html
share/pgadmin3/docs/en_US/pg/planner-optimizer.html
share/pgadmin3/docs/en_US/pg/planner-stats.html
+share/pgadmin3/docs/en_US/pg/plhandler.html
share/pgadmin3/docs/en_US/pg/plperl-data.html
share/pgadmin3/docs/en_US/pg/plperl-database.html
share/pgadmin3/docs/en_US/pg/plperl-missing.html
@@ -562,7 +567,7 @@ share/pgadmin3/docs/en_US/pg/supported-platforms.html
share/pgadmin3/docs/en_US/pg/transaction-iso.html
share/pgadmin3/docs/en_US/pg/trigger-datachanges.html
share/pgadmin3/docs/en_US/pg/trigger-example.html
-share/pgadmin3/docs/en_US/pg/trigger-manager.html
+share/pgadmin3/docs/en_US/pg/trigger-interface.html
share/pgadmin3/docs/en_US/pg/triggers.html
share/pgadmin3/docs/en_US/pg/tutorial-accessdb.html
share/pgadmin3/docs/en_US/pg/tutorial-advanced.html
@@ -592,6 +597,15 @@ share/pgadmin3/docs/en_US/pg/typeconv.html
share/pgadmin3/docs/en_US/pg/unsupported-features-sql99.html
share/pgadmin3/docs/en_US/pg/user-attributes.html
share/pgadmin3/docs/en_US/pg/user-manag.html
+share/pgadmin3/docs/en_US/pg/view-pg-indexes.html
+share/pgadmin3/docs/en_US/pg/view-pg-locks.html
+share/pgadmin3/docs/en_US/pg/view-pg-rules.html
+share/pgadmin3/docs/en_US/pg/view-pg-settings.html
+share/pgadmin3/docs/en_US/pg/view-pg-stats.html
+share/pgadmin3/docs/en_US/pg/view-pg-tables.html
+share/pgadmin3/docs/en_US/pg/view-pg-user.html
+share/pgadmin3/docs/en_US/pg/view-pg-views.html
+share/pgadmin3/docs/en_US/pg/views-overview.html
share/pgadmin3/docs/en_US/pg/wal-benefits-later.html
share/pgadmin3/docs/en_US/pg/wal-configuration.html
share/pgadmin3/docs/en_US/pg/wal-internals.html
@@ -601,7 +615,6 @@ share/pgadmin3/docs/en_US/pg/xfunc-c.html
share/pgadmin3/docs/en_US/pg/xfunc-internal.html
share/pgadmin3/docs/en_US/pg/xfunc-overload.html
share/pgadmin3/docs/en_US/pg/xfunc-pl.html
-share/pgadmin3/docs/en_US/pg/xfunc-plhandler.html
share/pgadmin3/docs/en_US/pg/xfunc-sql.html
share/pgadmin3/docs/en_US/pg/xfunc.html
share/pgadmin3/docs/en_US/pg/xindex.html
OpenPOWER on IntegriCloud