summaryrefslogtreecommitdiff
path: root/databases/pgadmin3/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2006-04-06 13:30:41 +0000
committeradam <adam@pkgsrc.org>2006-04-06 13:30:41 +0000
commited4a6d253b2ff3eed875204c33841fb0ae209d73 (patch)
tree96ef83432b77799a17159393709d6a9140aaec5c /databases/pgadmin3/patches
parentaf60eb2391a8e350744a918e8a9af47d2f4cd3f2 (diff)
downloadpkgsrc-ed4a6d253b2ff3eed875204c33841fb0ae209d73.tar.gz
pgAdmin III is the most popular and feature rich Open Source administration and
development platform for PostgreSQL, the most advanced Open Source database in the world. The application may be used on BSD, Linux, Solaris, Mac OSX and Windows platforms to manage PostgreSQL 7.3 and above running on any platform, as well as commercial versions of PostgreSQL such as Pervasive Postgres, EnterpriseDB, Mammoth PostgreSQL and SRA PowerGres. pgAdmin III is designed to answer the needs of all users, from writing simple SQL queries to developing complex databases. The graphical interface supports all PostgreSQL features and makes administration easy. The application also includes a syntax highlighting SQL editor, a server-side code editor, an SQL/batch/shell job scheduling agent, support for the Slony-I replication engine and much more. Server connection may be made using TCP/IP or Unix Domain Sockets (on *nix platforms), and may be SSL encrypted for security. No additional drivers are required to communicate with the database server.
Diffstat (limited to 'databases/pgadmin3/patches')
-rw-r--r--databases/pgadmin3/patches/patch-aa82
-rw-r--r--databases/pgadmin3/patches/patch-ab16
2 files changed, 98 insertions, 0 deletions
diff --git a/databases/pgadmin3/patches/patch-aa b/databases/pgadmin3/patches/patch-aa
new file mode 100644
index 00000000000..ae1549dffbc
--- /dev/null
+++ b/databases/pgadmin3/patches/patch-aa
@@ -0,0 +1,82 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/06 13:30:47 adam Exp $
+
+--- configure.orig 2005-12-10 15:25:16.000000000 +0100
++++ configure
+@@ -4921,7 +4921,7 @@ echo $ECHO_N "checking the wxWidgets ver
+ # Check whether --with-wx-version or --without-wx-version was given.
+ if test "${with_wx_version+set}" = set; then
+ withval="$with_wx_version"
+- if test "$withval" == yes; then
++ if test "$withval" = yes; then
+ echo "$as_me:$LINENO: result: unspecified" >&5
+ echo "${ECHO_T}unspecified" >&6
+ { { echo "$as_me:$LINENO: error: you must specify a version number when using --with-wx-version=<version number>" >&5
+@@ -5540,20 +5540,20 @@ echo "$as_me: error: Could not find wx-c
+ WX_OLD_LDFLAGS="$LDFLAGS"
+ WX_OLD_CPPFLAGS="$CPPFLAGS"
+
+- if test "$pg_debug_build" == yes
++ if test "$pg_debug_build" = yes
+ then
+- WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --unicode=yes --debug=yes --version=${wx_version}`
++ WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --unicode=no --debug=yes --version=${wx_version}`
+ CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -g -O0"
+
+- WX_NEW_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs --unicode=yes --debug=yes --version=${wx_version}`
+- WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl --unicode=yes --debug=yes --version=${wx_version}`
++ WX_NEW_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs --unicode=no --debug=yes --version=${wx_version}`
++ WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl --unicode=no --debug=yes --version=${wx_version}`
+ LIBS="$LIBS $WX_NEW_LIBS $WX_NEW_CONTRIB_LIBS"
+ else
+- WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --unicode=yes --debug=no --version=${wx_version}`
++ WX_NEW_CPPFLAGS=`${WX_CONFIG} --cppflags --unicode=no --debug=no --version=${wx_version}`
+ CPPFLAGS="$CPPFLAGS $WX_NEW_CPPFLAGS -O2"
+
+- WX_NEW_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs --unicode=yes --debug=no --version=${wx_version}`
+- WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl --unicode=yes --debug=no --version=${wx_version}`
++ WX_NEW_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs --unicode=no --debug=no --version=${wx_version}`
++ WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl --unicode=no --debug=no --version=${wx_version}`
+ LIBS="$LIBS $WX_NEW_LIBS $WX_NEW_CONTRIB_LIBS"
+ fi
+
+@@ -5579,19 +5579,19 @@ fi
+ # Print a configuration summary
+ echo
+ echo "Using wxWidgets version: $wx_version"
+-if test "$pg_debug_build" == yes
++if test "$pg_debug_build" = yes
+ then
+ echo "Building a debug version of pgAdmin: Yes"
+ else
+ echo "Building a debug version of pgAdmin: No"
+ fi
+-if test "$pg_static_build" == yes
++if test "$pg_static_build" = yes
+ then
+ echo "Statically linking pgAdmin: Yes"
+ else
+ echo "Statically linking pgAdmin: No"
+ fi
+-if test "$pg_appbundle" == yes
++if test "$pg_appbundle" = yes
+ then
+ echo "Building a Mac OS X appbundle: Yes"
+ else
+@@ -5600,8 +5600,6 @@ fi
+ echo
+
+ # CFLAGS/CXXFLAGS may well contain unwanted settings, so clear them.
+-CFLAGS=""
+-CXXFLAGS=""
+
+
+
+@@ -6099,6 +6097,8 @@ do
+ _ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++ # Avoid regenerating for rechecks on pkgsrc
++ exit 0
+ ac_cs_recheck=: ;;
+ --version | --vers* | -V )
+ echo "$ac_cs_version"; exit 0 ;;
diff --git a/databases/pgadmin3/patches/patch-ab b/databases/pgadmin3/patches/patch-ab
new file mode 100644
index 00000000000..091ac3c124a
--- /dev/null
+++ b/databases/pgadmin3/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/04/06 13:30:47 adam Exp $
+
+--- src/utils/utffile.cpp.orig 2005-02-24 11:20:01.000000000 +0100
++++ src/utils/utffile.cpp
+@@ -16,9 +16,11 @@ wxMBConvUTF16LE wxConvUTF16LE;
+ extern wxMBConvUTF32BE wxConvUTF32BE;
+ extern wxMBConvUTF32LE wxConvUTF32LE;
+
++#if 0
+ #if !wxUSE_UNICODE
+ #error utffile.cpp is implemented for unicode only.
+ #endif
++#endif
+
+
+ // these are the magic characters identifying an Unicode file