From a9f7edffc9ab9c1c3634affbc64d6c982f0bb059 Mon Sep 17 00:00:00 2001 From: wilfried Date: Fri, 7 Oct 2005 13:21:27 +0000 Subject: [PATCH] update to 2.0.6 --- devel/mysql++/Makefile | 30 +- devel/mysql++/distinfo | 8 +- devel/mysql++/patches/patch-Makefile_in | 12 - devel/mysql++/patches/patch-configure_in | 12 - .../patches/patch-doc_man-html_5_Class_html | 57 --- devel/mysql++/patches/patch-ltmain_sh | 62 +++ devel/mysql++/patches/patch-makemake_sh | 22 + .../patches/patch-sqlplusint_Makefile_in | 12 - .../patches/patch-sqlplusint_coldata1_hh | 40 -- .../patches/patch-sqlplusint_coldata4_hh | 12 - .../patches/patch-sqlplusint_coldata_cc | 10 - .../patches/patch-sqlplusint_compare1_hh | 34 -- .../patches/patch-sqlplusint_connection1_hh | 147 ------- .../patches/patch-sqlplusint_connection2_hh | 21 - .../patches/patch-sqlplusint_connection_cc | 182 -------- .../patches/patch-sqlplusint_const_string1_hh | 21 - .../patches/patch-sqlplusint_custom_hh | 12 - .../patches/patch-sqlplusint_custom_pl | 12 - .../patches/patch-sqlplusint_datetime1_hh | 95 ----- .../patches/patch-sqlplusint_datetime2_hh | 26 -- .../patches/patch-sqlplusint_datetime_cc | 56 --- .../patches/patch-sqlplusint_exceptions_hh_in | 96 ----- .../patches/patch-sqlplusint_field_names1_hh | 50 --- .../patches/patch-sqlplusint_field_names_cc | 12 - .../patches/patch-sqlplusint_field_types1_hh | 42 -- .../patches/patch-sqlplusint_manip1_hh | 276 ------------- .../mysql++/patches/patch-sqlplusint_manip_cc | 30 -- .../mysql++/patches/patch-sqlplusint_null1_hh | 35 -- .../mysql++/patches/patch-sqlplusint_null2_hh | 12 - .../patches/patch-sqlplusint_query1_hh | 43 -- .../patches/patch-sqlplusint_query2_hh | 28 -- .../mysql++/patches/patch-sqlplusint_query_cc | 12 - .../patches/patch-sqlplusint_resiter1_hh | 41 -- .../patches/patch-sqlplusint_result1_hh | 88 ---- .../patches/patch-sqlplusint_result2_hh | 37 -- .../mysql++/patches/patch-sqlplusint_row1_hh | 220 ---------- .../mysql++/patches/patch-sqlplusint_row2_hh | 27 -- .../mysql++/patches/patch-sqlplusint_set1_hh | 59 --- .../mysql++/patches/patch-sqlplusint_set2_hh | 14 - .../mysql++/patches/patch-sqlplusint_set3_hh | 23 -- devel/mysql++/patches/patch-sqlplusint_set_cc | 10 - .../patches/patch-sqlplusint_sql_query1_hh | 105 ----- .../patches/patch-sqlplusint_sql_query_cc | 64 --- .../patches/patch-sqlplusint_sql_string1_hh | 32 -- .../patch-sqlplusint_stream2string3_hh | 29 -- .../patches/patch-sqlplusint_string_util_cc | 21 - .../patches/patch-sqlplusint_string_util_hh | 38 -- .../patches/patch-sqlplusint_type_info1_hh | 122 ------ .../patches/patch-sqlplusint_type_info_cc | 17 - .../patches/patch-sqlplusint_vallist1_hh | 169 -------- .../patches/patch-sqlplusint_vallist_cc | 31 -- devel/mysql++/pkg/DESCR | 9 +- devel/mysql++/pkg/PFRAG.shared | 4 +- devel/mysql++/pkg/PLIST | 112 ++--- devel/mysql++/pkg/PLIST-docs | 388 ++++++++++++++++-- 55 files changed, 496 insertions(+), 2683 deletions(-) delete mode 100644 devel/mysql++/patches/patch-Makefile_in delete mode 100644 devel/mysql++/patches/patch-configure_in delete mode 100644 devel/mysql++/patches/patch-doc_man-html_5_Class_html create mode 100644 devel/mysql++/patches/patch-ltmain_sh create mode 100644 devel/mysql++/patches/patch-makemake_sh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_Makefile_in delete mode 100644 devel/mysql++/patches/patch-sqlplusint_coldata1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_coldata4_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_coldata_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_compare1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_connection1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_connection2_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_connection_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_const_string1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_custom_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_custom_pl delete mode 100644 devel/mysql++/patches/patch-sqlplusint_datetime1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_datetime2_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_datetime_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_exceptions_hh_in delete mode 100644 devel/mysql++/patches/patch-sqlplusint_field_names1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_field_names_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_field_types1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_manip1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_manip_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_null1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_null2_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_query1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_query2_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_query_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_resiter1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_result1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_result2_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_row1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_row2_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_set1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_set2_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_set3_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_set_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_sql_query1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_sql_query_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_sql_string1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_stream2string3_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_string_util_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_string_util_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_type_info1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_type_info_cc delete mode 100644 devel/mysql++/patches/patch-sqlplusint_vallist1_hh delete mode 100644 devel/mysql++/patches/patch-sqlplusint_vallist_cc diff --git a/devel/mysql++/Makefile b/devel/mysql++/Makefile index 3d026f925ff..e21c0749a32 100644 --- a/devel/mysql++/Makefile +++ b/devel/mysql++/Makefile @@ -1,15 +1,17 @@ -# $OpenBSD: Makefile,v 1.18 2005/09/08 01:51:00 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.19 2005/10/07 13:21:27 wilfried Exp $ + +NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} COMMENT= "C++ API for MySQL" COMMENT-docs= "C++ API for MySQL documentation" -VERSION= 1.7.9 +VERSION= 2.0.6 DISTNAME= mysql++-${VERSION} -PKGNAME= ${DISTNAME}p0 -PKGNAME-docs= mysql++-docs-${VERSION}p0 +PKGNAME= ${DISTNAME} +PKGNAME-docs= mysql++-docs-${VERSION} CATEGORIES= devel -HOMEPAGE= http://www.mysql.com/downloads/api-mysql++.html +HOMEPAGE= http://tangentsoft.net/mysql++/ MAINTAINER= Peter Stromberg @@ -19,12 +21,7 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -MASTER_SITES= ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/mysql++/ \ - ftp://ftp.mysql.com/mysql++/ - -PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.3-ltconfig \ - ${PORTSDIR}/infrastructure/patches/patch-lt1.3.3-ltmain_sh \ - patch-* +MASTER_SITES= ${HOMEPAGE}releases/ MULTI_PACKAGES= -docs SUBPACKAGE?= @@ -38,15 +35,12 @@ PKG_ARCH= * .endif NO_REGRESS= Yes -USE_GMAKE= Yes CONFIGURE_STYLE= gnu -CONFIGURE_ARGS+= --includedir=${LOCALBASE}/include/mysql++ - -post-extract: - @rm -rf ${WRKSRC}/sqlplusint/.deps post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/html - ${INSTALL_DATA} ${WRKSRC}/doc/man-html/* ${PREFIX}/share/doc/mysql++/html +.for dir in refman userman + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/${dir}/ + ${INSTALL_DATA} ${WRKSRC}/doc/${dir}/html/* ${PREFIX}/share/doc/mysql++/${dir}/ +.endfor .include diff --git a/devel/mysql++/distinfo b/devel/mysql++/distinfo index 2603c032b17..8341b35d3ed 100644 --- a/devel/mysql++/distinfo +++ b/devel/mysql++/distinfo @@ -1,4 +1,4 @@ -MD5 (mysql++-1.7.9.tar.gz) = 1312fb4e33dcce07fac5fa9c2ac801f7 -RMD160 (mysql++-1.7.9.tar.gz) = c82da7a9769b5cdcfefe01cd229fbf7561d25166 -SHA1 (mysql++-1.7.9.tar.gz) = 3c0908a28ba9a61e24d30b0f9b598aae94eb884f -SIZE (mysql++-1.7.9.tar.gz) = 749476 +MD5 (mysql++-2.0.6.tar.gz) = 490f5d190674a427cca5fd22be6360e1 +RMD160 (mysql++-2.0.6.tar.gz) = 7f0b25f7b809e9dfa95bb5ad6996d19eaff698ea +SHA1 (mysql++-2.0.6.tar.gz) = d9b8f2e6153c8a33e513e07fa16edd41b5205ff1 +SIZE (mysql++-2.0.6.tar.gz) = 1964604 diff --git a/devel/mysql++/patches/patch-Makefile_in b/devel/mysql++/patches/patch-Makefile_in deleted file mode 100644 index 8d81a4c8503..00000000000 --- a/devel/mysql++/patches/patch-Makefile_in +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-Makefile_in,v 1.2 2004/01/06 11:16:53 wilfried Exp $ ---- Makefile.in.orig 2001-05-19 18:44:46.000000000 +0200 -+++ Makefile.in 2004-01-04 23:28:28.000000000 +0100 -@@ -80,7 +80,7 @@ VERSION = @VERSION@ - EXTRA_DIST = .version Configure doc devel - - #SUBDIRS = sqlplusint examples doc --SUBDIRS = sqlplusint examples -+SUBDIRS = sqlplusint - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs - CONFIG_HEADER = config.h ./sqlplusint/exceptions.hh diff --git a/devel/mysql++/patches/patch-configure_in b/devel/mysql++/patches/patch-configure_in deleted file mode 100644 index da279cb05de..00000000000 --- a/devel/mysql++/patches/patch-configure_in +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-configure_in,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- configure.in.orig 2001-05-19 18:44:46.000000000 +0200 -+++ configure.in 2004-01-04 23:26:25.000000000 +0100 -@@ -14,7 +14,7 @@ AM_CONFIG_HEADER(config.h sqlplusint/exc - - AC_PROG_MAKE_SET - --AM_PROG_LIBTOOL -+AC_PROG_LIBTOOL - - dnl Initialize maintainer mode - AM_MAINTAINER_MODE diff --git a/devel/mysql++/patches/patch-doc_man-html_5_Class_html b/devel/mysql++/patches/patch-doc_man-html_5_Class_html deleted file mode 100644 index 20d5fc2cbbf..00000000000 --- a/devel/mysql++/patches/patch-doc_man-html_5_Class_html +++ /dev/null @@ -1,57 +0,0 @@ -$OpenBSD: patch-doc_man-html_5_Class_html,v 1.3 2004/01/06 11:16:53 wilfried Exp $ ---- doc/man-html/5_Class.html.orig 2001-05-19 18:44:46.000000000 +0200 -+++ doc/man-html/5_Class.html 2004-01-04 23:28:39.000000000 +0100 -@@ -124,7 +124,7 @@ original version by: Nikos Drakos, CBLU -
  • public operator bool () -
  • public string clinet_info () -+ HREF="5_Class.html#SECTION03232700000000000000">public string client_info () -
  • public void close () -
  • Protected methods -
      -
    • protected bool Success -+ HREF="5_Class.html#SECTION032253100000000000000">protected bool Success_ -
    • protected char* errmsg -
    • -
    • operator bool () -
      returns success() -
    • --
    • string clinet_info () -+
    • string client_info () -
    • -
    • void close () -
    • -@@ -3381,7 +3381,7 @@ public operator bool ()
      -

      - -

      --public string clinet_info () -+public string client_info () -

      - - -@@ -8055,7 +8055,7 @@ Protected methods - - -
        --
      • bool Success -+
      • bool Success_ -
      • -
      • char* errmsg -
      • -@@ -8248,7 +8248,7 @@ Protected methods -

        - -

        --protected bool Success -+protected bool Success_ -

        - - diff --git a/devel/mysql++/patches/patch-ltmain_sh b/devel/mysql++/patches/patch-ltmain_sh new file mode 100644 index 00000000000..5df57dac93a --- /dev/null +++ b/devel/mysql++/patches/patch-ltmain_sh @@ -0,0 +1,62 @@ +$OpenBSD: patch-ltmain_sh,v 1.3 2005/10/07 13:24:53 wilfried Exp $ +--- ltmain.sh.orig Wed Sep 28 15:43:18 2005 ++++ ltmain.sh Thu Oct 6 11:17:31 2005 +@@ -1085,6 +1085,17 @@ compiler." + continue + ;; + ++ -pthread) ++ case $host in ++ *-*-openbsd*) ++ deplibs="$deplibs $arg" ++ ;; ++ *) ++ continue ++ ;; ++ esac ++ ;; ++ + -module) + module=yes + continue +@@ -4580,40 +4591,6 @@ relink_command=\"$relink_command\"" + # Exit here if they wanted silent mode. + test "$show" = ":" && exit 0 + +- echo "----------------------------------------------------------------------" +- echo "Libraries have been installed in:" +- for libdir in $libdirs; do +- echo " $libdir" +- done +- echo +- echo "If you ever happen to want to link against installed libraries" +- echo "in a given directory, LIBDIR, you must either use libtool, and" +- echo "specify the full pathname of the library, or use the \`-LLIBDIR'" +- echo "flag during linking and do at least one of the following:" +- if test -n "$shlibpath_var"; then +- echo " - add LIBDIR to the \`$shlibpath_var' environment variable" +- echo " during execution" +- fi +- if test -n "$runpath_var"; then +- echo " - add LIBDIR to the \`$runpath_var' environment variable" +- echo " during linking" +- fi +- if test -n "$hardcode_libdir_flag_spec"; then +- libdir=LIBDIR +- eval flag=\"$hardcode_libdir_flag_spec\" +- +- echo " - use the \`$flag' linker flag" +- fi +- if test -n "$admincmds"; then +- echo " - have your system administrator run these commands:$admincmds" +- fi +- if test -f /etc/ld.so.conf; then +- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" +- fi +- echo +- echo "See any operating system documentation about shared libraries for" +- echo "more information, such as the ld(1) and ld.so(8) manual pages." +- echo "----------------------------------------------------------------------" + exit 0 + ;; + diff --git a/devel/mysql++/patches/patch-makemake_sh b/devel/mysql++/patches/patch-makemake_sh new file mode 100644 index 00000000000..97151302232 --- /dev/null +++ b/devel/mysql++/patches/patch-makemake_sh @@ -0,0 +1,22 @@ +$OpenBSD: patch-makemake_sh,v 1.1 2005/10/07 13:24:53 wilfried Exp $ +--- makemake.sh.orig Mon Sep 26 16:21:50 2005 ++++ makemake.sh Thu Oct 6 13:25:29 2005 +@@ -1,7 +1,7 @@ +-#!/bin/bash ++: + + # Display usage message +-function usage() { ++function usage { + echo 'usage: makemake [simple] {gcc|mingw} [args]' + echo + echo ' You must give one of the compiler parameters:' +@@ -16,7 +16,7 @@ function usage() { + } + + # Simplify a Makefile +-function simplify() { ++function simplify { + # Strip comments, remove pointless macros, remove $(EXE), substitute + # .o for .$(OBJ), remove $(LDSTARTUP), and squash multiple blank + # lines. diff --git a/devel/mysql++/patches/patch-sqlplusint_Makefile_in b/devel/mysql++/patches/patch-sqlplusint_Makefile_in deleted file mode 100644 index cbd46128099..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_Makefile_in +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-sqlplusint_Makefile_in,v 1.2 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/Makefile.in.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/Makefile.in 2004-01-04 23:31:49.000000000 +0100 -@@ -90,7 +90,7 @@ lib_LTLIBRARIES = libsqlplus.la - libsqlplus_la_SOURCES = coldata.cc connection.cc datetime.cc field_names.cc field_types.cc manip.cc query.cc result.cc set.cc sql_query.cc type_info.cc vallist.cc string_util.cc - - --libsqlplus_la_LDFLAGS = -version-info $(SQLPLUS_MAJOR_VERSION):$(SQLPLUS_MINOR_VERSION):$(SQLPLUS_MICRO_VERSION) -+libsqlplus_la_LDFLAGS = -version-info $(SQLPLUS_MAJOR_VERSION):$(SQLPLUS_MINOR_VERSION) - - include_HEADERS = sqlplus.hh coldata1.hh coldata2.hh coldata3.hh coldata4.hh compare1.hh compare2.hh compare3.hh connection0.hh connection1.hh connection2.hh connection3.hh const_string1.hh const_string2.hh const_string3.hh convert1.hh convert2.hh convert3.hh custom-macros.hh custom.hh datetime1.hh datetime2.hh datetime3.hh field_names1.hh field_names2.hh field_names3.hh field_types1.hh field_types2.hh field_types3.hh fields1.hh fields2.hh manip1.hh manip2.hh manip3.hh null1.hh null2.hh null3.hh query1.hh query2.hh query3.hh resiter1.hh result1.hh result2.hh result3.hh row1.hh row2.hh row3.hh set1.hh set2.hh set3.hh sql_query0.hh sql_query1.hh sql_query2.hh sql_query3.hh sql_string1.hh sql_string2.hh sql_string3.hh stream2string1.hh stream2string2.hh stream2string3.hh tiny_int1.hh tiny_int2.hh tiny_int3.hh type_info1.hh type_info2.hh type_info3.hh vallist1.hh vallist2.hh vallist3.hh string_util.hh mysql++ exceptions.hh define_short defs - diff --git a/devel/mysql++/patches/patch-sqlplusint_coldata1_hh b/devel/mysql++/patches/patch-sqlplusint_coldata1_hh deleted file mode 100644 index e79753d1520..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_coldata1_hh +++ /dev/null @@ -1,40 +0,0 @@ -$OpenBSD: patch-sqlplusint_coldata1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/coldata1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/coldata1.hh 2004-01-04 23:47:26.000000000 +0100 -@@ -40,14 +40,14 @@ template - class mysql_ColData : public Str { - private: - mysql_type_info _type; -- string buf; -+ std::string buf; - bool _null; - public: -- mysql_ColData (bool n, mysql_type_info t = mysql_type_info::string_type) -+ explicit mysql_ColData (bool n, mysql_type_info t = mysql_type_info::string_type) - : _type(t), _null(n) {} -- mysql_ColData (const char *str, -+ explicit mysql_ColData (const char *str, - mysql_type_info t = mysql_type_info::string_type, bool n = false) -- : Str(str), _type(t), _null(n) {buf=(string)str;} -+ : Str(str), _type(t), _null(n) {buf=(std::string)str;} - mysql_ColData () {} - mysql_type_info type() {return _type;} - //: Returns the current mysql type of current item -@@ -72,7 +72,7 @@ public: - // (Note, This is not an actual template) - void it_is_null (void) {_null=true;} - inline const bool is_null(void) const {return _null;} -- inline const string& get_string(void) const {return buf;} -+ inline const std::string& get_string(void) const {return buf;} - operator cchar*() const {return buf.c_str();} - operator signed char() const {return conv((signed char)0);} - operator unsigned char() const {return conv((unsigned char)0);} -@@ -95,7 +95,7 @@ public: - //: The Type that is returned by constant rows - typedef mysql_ColData ColData; - //: The Type that is returned by mutable rows --typedef mysql_ColData MutableColData; -+typedef mysql_ColData MutableColData; - //: For backwards compatibility. Do not use. - typedef ColData MysqlString; - //: For backwards compatibility. Do not use. diff --git a/devel/mysql++/patches/patch-sqlplusint_coldata4_hh b/devel/mysql++/patches/patch-sqlplusint_coldata4_hh deleted file mode 100644 index 66268423d78..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_coldata4_hh +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-sqlplusint_coldata4_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/coldata4.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/coldata4.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -9,7 +9,7 @@ - - template template - Type mysql_ColData::conv (Type dummy) const { -- string strbuf(buf); -+ std::string strbuf = buf; - strip_all_blanks(strbuf); - size_t len = strbuf.size(); - const char *str = strbuf.c_str(); diff --git a/devel/mysql++/patches/patch-sqlplusint_coldata_cc b/devel/mysql++/patches/patch-sqlplusint_coldata_cc deleted file mode 100644 index eccd5f74719..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_coldata_cc +++ /dev/null @@ -1,10 +0,0 @@ -$OpenBSD: patch-sqlplusint_coldata_cc,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/coldata.cc.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/coldata.cc 2004-01-04 23:25:47.000000000 +0100 -@@ -2,5 +2,5 @@ - #include "const_string3.hh" - #include "coldata4.hh" - --template class mysql_ColData; -+template class mysql_ColData; - template class mysql_ColData; diff --git a/devel/mysql++/patches/patch-sqlplusint_compare1_hh b/devel/mysql++/patches/patch-sqlplusint_compare1_hh deleted file mode 100644 index 8794cf48f29..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_compare1_hh +++ /dev/null @@ -1,34 +0,0 @@ -$OpenBSD: patch-sqlplusint_compare1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/compare1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/compare1.hh 2004-01-05 00:31:52.000000000 +0100 -@@ -1,11 +1,11 @@ - #ifndef __compare1_hh__ - #define __compare1_hh__ - --#include -+#include - #include "row1.hh" - - template --class MysqlCmp : public unary_function -+class MysqlCmp : public std::unary_function - { - protected: - unsigned int index; -@@ -19,6 +19,7 @@ public: - template - class MysqlCmpCStr : public MysqlCmp - { -+ class CmpType cmp2; - public: - MysqlCmpCStr(uint i, const BinaryPred &f, const char* c) : MysqlCmp (i,f,c) {} - bool operator () (const MysqlRow& cmp1) const -@@ -36,7 +37,7 @@ mysql_cmp(uint i, const BinaryPred &func - return MysqlCmp(i, func, cmp2); - } - --typedef binary_function bin_char_pred; -+typedef std::binary_function bin_char_pred; - - struct cstr_equal_to : bin_char_pred { - bool operator () (const char *x, const char *y) const diff --git a/devel/mysql++/patches/patch-sqlplusint_connection1_hh b/devel/mysql++/patches/patch-sqlplusint_connection1_hh deleted file mode 100644 index e945d7745de..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_connection1_hh +++ /dev/null @@ -1,147 +0,0 @@ -$OpenBSD: patch-sqlplusint_connection1_hh,v 1.2 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/connection1.hh.orig 2001-05-19 18:44:49.000000000 +0200 -+++ sqlplusint/connection1.hh 2004-01-05 18:58:19.000000000 +0100 -@@ -8,13 +8,11 @@ - #define errno WSAGetLastError() - #endif - #include --#include --#include --#include --#include --#include --#include --#include -+#include -+#include -+#include -+#include -+#include - #include "define_short" - #include "exceptions.hh" - #include "query1.hh" -@@ -22,21 +20,21 @@ - - //: The main database handle - class Connection { -- friend ResNSel; -- friend ResUse; -- friend Query; -+ friend class ResNSel; -+ friend class ResUse; -+ friend class Query; - - private: - bool throw_exceptions; - MYSQL mysql; - bool is_connected; - bool locked; -- bool Success; -+ bool Success_; - - public: - Connection () : throw_exceptions(true), locked(false) - {mysql_init(&mysql);} //: -- Connection (bool te) : throw_exceptions(te), is_connected(false), locked(true), Success(false) //: -+ Connection (bool te) : throw_exceptions(te), is_connected(false), locked(true), Success_(false) //: - {mysql_init(&mysql);} //: - Connection (const char *db, const char *host = "", const char *user = "", - const char *passwd = "", bool te = true); //: -@@ -52,12 +50,12 @@ public: - - ~Connection (); //: - void close() {mysql_close(&mysql);} //: -- string info (); //: -+ std::string info (); //: - - bool connected() const {return is_connected;} - //: returns true if a successful connection was made - -- bool success() {return Success;} -+ bool success() {return Success_;} - //: returns true of the last query was successful - - bool connect (cchar *db = "", cchar *host = "", -@@ -74,59 +72,57 @@ public: - //: - - operator bool () {return success();} //: returns success() -- string error () {return string(mysql_error(&mysql));} //: last error message() -+ std::string error () {return std::string(mysql_error(&mysql));} //: last error message() - int errnum () {return mysql_errno(&mysql);} - int refresh (unsigned int refresh_options){ return mysql_refresh (&mysql,refresh_options); } - int ping (void) { return mysql_ping(&mysql);} - int kill (unsigned long pid) { return mysql_kill (&mysql,pid);} -- string client_info () {return string(mysql_get_client_info());} //: -+ std::string client_info () {return std::string(mysql_get_client_info());} //: - -- string host_info () {return string(mysql_get_host_info(&mysql));} //: -+ std::string host_info () {return std::string(mysql_get_host_info(&mysql));} //: - - int proto_info () {return mysql_get_proto_info(&mysql);} //: - -- string server_info () {return string(mysql_get_server_info(&mysql));} //: -+ std::string server_info () {return std::string(mysql_get_server_info(&mysql));} //: - -- string stat() {return string(mysql_stat(&mysql));} //: -+ std::string stat() {return std::string(mysql_stat(&mysql));} //: - -- Result store(const string &str) {return store(str, throw_exceptions);} //: -- ResUse use(const string &str) {return use(str, throw_exceptions);} //: -- ResNSel execute(const string &str) {return execute(str, throw_exceptions);} //: -- bool exec (const string &str); -- Result store(const string &str, bool te); //: -- ResUse use(const string &str, bool te); //: -- ResNSel execute(const string &str, bool te); //: -+ Result store(const std::string &str) {return store(str, throw_exceptions);} //: -+ ResUse use(const std::string &str) {return use(str, throw_exceptions);} //: -+ ResNSel execute(const std::string &str) {return execute(str, throw_exceptions);} //: -+ bool exec (const std::string &str); -+ Result store(const std::string &str, bool te); //: -+ ResUse use(const std::string &str, bool te); //: -+ ResNSel execute(const std::string &str, bool te); //: - -- bool create_db (string db) {return !(execute( "CREATE DATABASE " + db ));} //: -- bool drop_db (string db) {return !(execute( "DROP DATABASE " + db ));} //: -- bool select_db (string db) {return select_db(db.c_str());} //: -+ bool create_db (std::string db) {return !(execute( "CREATE DATABASE " + db ));} //: -+ bool drop_db (std::string db) {return !(execute( "DROP DATABASE " + db ));} //: -+ bool select_db (std::string db) {return select_db(db.c_str());} //: - bool select_db (const char *db); //: - bool reload(); //: - bool shutdown (); //: -- string infoo (void) {return info ();} -+ std::string infoo (void) {return info ();} - st_mysql_options get_options (void) const {return mysql.options;} - int read_options(enum mysql_option option,const char *arg) {return mysql_options(&mysql, option,arg);} - int affected_rows() {return mysql_affected_rows((MYSQL*) &mysql);} - int insert_id () {return mysql_insert_id(&mysql);} - -- template void storein_sequence(Sequence &, const string &); //: -- template void storein_set(Set &, const string &); //: -+ template void storein_sequence(Sequence &, const std::string &); //: -+ template void storein_set(Set &, const std::string &); //: - - //!dummy: void storein(TYPE &con, const string &s); - //: Stores the results in TYPE. - // Stores the result in TYPE. TYPE must be some sort of STL container. - -- template void storein(vector &con, const string &s) -+ template void storein(std::vector &con, const std::string &s) - {storein_sequence(con,s);} -- template void storein(deque &con, const string &s) -+ template void storein(std::deque &con, const std::string &s) - {storein_sequence(con,s);} -- template void storein(list &con, const string &s) -+ template void storein(std::list &con, const std::string &s) - {storein_sequence(con,s);} -- template void storein(slist &con, const string &s) -- {storein_sequence(con,s);} -- template void storein(set &con, const string &s) -+ template void storein(std::set &con, const std::string &s) - {storein_set(con,s);} -- template void storein(multiset &con, const string &s) -+ template void storein(std::multiset &con, const std::string &s) - {storein_set(con,s);} - }; - diff --git a/devel/mysql++/patches/patch-sqlplusint_connection2_hh b/devel/mysql++/patches/patch-sqlplusint_connection2_hh deleted file mode 100644 index da0ceb7ae65..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_connection2_hh +++ /dev/null @@ -1,21 +0,0 @@ -$OpenBSD: patch-sqlplusint_connection2_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/connection2.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/connection2.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -7,7 +7,7 @@ - inline Query Connection::query() {return Query(this, throw_exceptions);} - - template --void Connection::storein_sequence (Sequence &seq, const string &str) { -+void Connection::storein_sequence (Sequence &seq, const std::string &str) { - ResUse result = use(str); - while (1) { - MYSQL_ROW d = mysql_fetch_row(result.mysql_res); -@@ -19,7 +19,7 @@ void Connection::storein_sequence (Seque - } - - template --void Connection::storein_set (Set &sett, const string &str) { -+void Connection::storein_set (Set &sett, const std::string &str) { - ResUse result = use(str); - while (1) { - MYSQL_ROW d = mysql_fetch_row(result.mysql_res); diff --git a/devel/mysql++/patches/patch-sqlplusint_connection_cc b/devel/mysql++/patches/patch-sqlplusint_connection_cc deleted file mode 100644 index c4ccf1b26a5..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_connection_cc +++ /dev/null @@ -1,182 +0,0 @@ -$OpenBSD: patch-sqlplusint_connection_cc,v 1.6 2005/09/08 01:51:00 pvalchev Exp $ ---- sqlplusint/connection.cc.orig Sat May 19 10:44:48 2001 -+++ sqlplusint/connection.cc Wed Sep 7 18:46:47 2005 -@@ -2,6 +2,8 @@ - #include "connection3.hh" - #include "result3.hh" - -+using namespace std; -+ - Connection::Connection (const char *db, const char *host, const char *user, - const char *passwd, bool te) - : throw_exceptions(te), locked(false) -@@ -10,38 +12,38 @@ Connection::Connection (const char *db, - if (real_connect (db, host, user, passwd,3306,0,60,NULL,0)) - { - locked = false; -- Success = is_connected = true; -+ Success_ = is_connected = true; - } - else - { -- locked = false; Success = is_connected = false; -+ locked = false; Success_ = is_connected = false; - if (throw_exceptions) throw BadQuery(error()); - } - } - - Connection::Connection (const char *db, const char *host, const char *user, -- const char *passwd, uint port, my_bool compress = 0, -- unsigned int connect_timeout = 60, bool te = true, -- const char *socket_name = "", unsigned client_flag = 0) -+ const char *passwd, uint port, my_bool compress, -+ unsigned int connect_timeout, bool te, -+ const char *socket_name, unsigned client_flag) - : throw_exceptions(te), locked(false) - { - mysql_init(&mysql); - if (real_connect (db, host, user, passwd, port, compress, connect_timeout,socket_name, client_flag)) - { - locked = false; -- Success = is_connected = true; -+ Success_ = is_connected = true; - } - else - { -- locked = false; Success = is_connected = false; -+ locked = false; Success_ = is_connected = false; - if (throw_exceptions) throw BadQuery(error()); - } - } - - bool Connection::real_connect (cchar *db, cchar *host, cchar *user, -- cchar *passwd, uint port, my_bool compress = 0, -- unsigned int connect_timeout = 60, -- const char *socket_name = "", unsigned int client_flag = 0) -+ cchar *passwd, uint port, my_bool compress, -+ unsigned int connect_timeout, -+ const char *socket_name, unsigned int client_flag) - { - mysql.options.compress = compress; - mysql.options.connect_timeout=connect_timeout; -@@ -52,18 +54,18 @@ bool Connection::real_connect (cchar *db - if (mysql_real_connect(&mysql,host,user,passwd,db, port,socket_name,client_flag)) - { - locked = false; -- Success = is_connected = true; -+ Success_ = is_connected = true; - } - else - { -- locked = false; Success = is_connected = false; -+ locked = false; Success_ = is_connected = false; - if (throw_exceptions) throw BadQuery(error()); - } - // mysql.options.my_cnf_file=0; -- if (!Success) return Success; -+ if (!Success_) return Success_; - if (db && db[0]) // if db is not empty -- Success = select_db(db); -- return Success; -+ Success_ = select_db(db); -+ return Success_; - } - - Connection::~Connection () { -@@ -83,7 +85,11 @@ bool Connection::reload() { - } - - bool Connection::shutdown () { -+#if (MYSQL_VERSION_ID >= 40103 && MYSQL_VERSION_ID != 50000) -+ bool suc = !(mysql_shutdown(&mysql, SHUTDOWN_DEFAULT)); -+#else - bool suc = !(mysql_shutdown(&mysql)); -+#endif - if (throw_exceptions && !suc) throw MysqlBadQuery(error()); - else return suc; - } -@@ -95,21 +101,21 @@ bool Connection::connect (cchar *db, cch - - if (mysql_real_connect(&mysql,host,user,passwd,db, 3306,NULL,0)) { - locked = false; -- Success = is_connected = true; -+ Success_ = is_connected = true; - } else { - locked = false; - if (throw_exceptions) throw BadQuery(error()); -- Success = is_connected = false; -+ Success_ = is_connected = false; - } - // mysql.options.my_cnf_file=0; -- if (!Success) return Success; -+ if (!Success_) return Success_; - if (db && db[0]) // if db is not empty -- Success = select_db(db); -- return Success; -+ Success_ = select_db(db); -+ return Success_; - } - - string Connection::info () { -- char *i = mysql_info(&mysql); -+ const char *i = mysql_info(&mysql); - if (!i) - return string(); - else -@@ -117,44 +123,44 @@ string Connection::info () { - } - - ResNSel Connection::execute(const string &str, bool throw_excptns) { -- Success = false; -+ Success_ = false; - if (lock()) - if (throw_excptns) throw BadQuery(error()); - else return ResNSel(); -- Success = !mysql_query(&mysql, str.c_str()); -+ Success_ = !mysql_query(&mysql, str.c_str()); - unlock(); -- if (!Success) -+ if (!Success_) - if (throw_excptns) throw BadQuery(error()); - else return ResNSel(); - return ResNSel(this); - } - - bool Connection::exec(const string &str) { -- Success = !mysql_query(&mysql,str.c_str()); -- if (!Success && throw_exceptions) throw BadQuery(error()); -- return Success; -+ Success_ = !mysql_query(&mysql,str.c_str()); -+ if (!Success_ && throw_exceptions) throw BadQuery(error()); -+ return Success_; - } - - Result Connection::store(const string &str, bool throw_excptns) { -- Success = false; -+ Success_ = false; - if (lock()) - if (throw_excptns) throw BadQuery(error()); - else return Result(); -- Success = !mysql_query(&mysql, str.c_str()); -+ Success_ = !mysql_query(&mysql, str.c_str()); - unlock(); -- if (!Success) -+ if (!Success_) - if (throw_excptns) throw BadQuery(error()); - else return Result(); - return Result(mysql_store_result(&mysql)); - } - - ResUse Connection::use(const string &str, bool throw_excptns) { -- Success = false; -+ Success_ = false; - if (lock()) - if (throw_excptns) throw BadQuery(error()); - else return ResUse(); -- Success = !mysql_query(&mysql, str.c_str()); -- if (!Success) -+ Success_ = !mysql_query(&mysql, str.c_str()); -+ if (!Success_) - if (throw_excptns) throw BadQuery(error()); - else return ResUse(); - return ResUse(mysql_use_result(&mysql), this); diff --git a/devel/mysql++/patches/patch-sqlplusint_const_string1_hh b/devel/mysql++/patches/patch-sqlplusint_const_string1_hh deleted file mode 100644 index 98b1f32d4f0..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_const_string1_hh +++ /dev/null @@ -1,21 +0,0 @@ -$OpenBSD: patch-sqlplusint_const_string1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/const_string1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/const_string1.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -47,7 +47,7 @@ public: - const_reference operator[](size_type pos) const {return str_data[pos];} //: - const_reference at(size_type pos) const //: - { -- if (pos >= size()) throw out_of_range(""); -+ if (pos >= size()) throw std::out_of_range(""); - else return str_data[pos]; - } - -@@ -67,7 +67,7 @@ public: - //! with_class = const_string - - //: --inline ostream& operator << (ostream &o, const const_string &str) { -+inline std::ostream& operator << (std::ostream &o, const const_string &str) { - return o << str.c_str(); - } - diff --git a/devel/mysql++/patches/patch-sqlplusint_custom_hh b/devel/mysql++/patches/patch-sqlplusint_custom_hh deleted file mode 100644 index 963541cda6f..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_custom_hh +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-sqlplusint_custom_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/custom.hh.orig 2001-05-19 18:44:49.000000000 +0200 -+++ sqlplusint/custom.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -8,7 +8,7 @@ - enum sql_dummy_type {sql_dummy}; - enum sql_cmp_type {sql_use_compare}; - --inline int sql_cmp(const string &a, const string &b) { -+inline int sql_cmp(const std::string &a, const std::string &b) { - return a.compare(b); - } - diff --git a/devel/mysql++/patches/patch-sqlplusint_custom_pl b/devel/mysql++/patches/patch-sqlplusint_custom_pl deleted file mode 100644 index 7e38d37bae3..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_custom_pl +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-sqlplusint_custom_pl,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/custom.pl.orig 2001-05-19 18:44:49.000000000 +0200 -+++ sqlplusint/custom.pl 2004-01-04 23:25:47.000000000 +0100 -@@ -13,7 +13,7 @@ print OUT0 << "---"; - enum sql_dummy_type {sql_dummy}; - enum sql_cmp_type {sql_use_compare}; - --inline int sql_cmp(const string &a, const string &b) { -+inline int sql_cmp(const std::string &a, const std::string &b) { - return a.compare(b); - } - --- diff --git a/devel/mysql++/patches/patch-sqlplusint_datetime1_hh b/devel/mysql++/patches/patch-sqlplusint_datetime1_hh deleted file mode 100644 index 0ad67fbf1d8..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_datetime1_hh +++ /dev/null @@ -1,95 +0,0 @@ -$OpenBSD: patch-sqlplusint_datetime1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/datetime1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/datetime1.hh 2004-01-04 23:52:50.000000000 +0100 -@@ -9,8 +9,7 @@ - #define __datetime1_hh__ - - #include --#include --#include -+#include - #include "defs" - #include "define_short" - #include "coldata1.hh" -@@ -18,9 +17,9 @@ - #include "tiny_int1.hh" - - struct mysql_dt_base { -- virtual ostream& out_stream(ostream&) const = 0; -+ virtual std::ostream& out_stream(std::ostream&) const = 0; - -- operator string (); -+ operator std::string (); - }; - - template -@@ -40,7 +39,7 @@ struct mysql_date : virtual public mysql - tiny_int month; - tiny_int day; - -- ostream& out_stream(ostream&) const; -+ std::ostream& out_stream(std::ostream&) const; - cchar* convert (cchar*); - protected: - short int compare(const mysql_date *other) const; -@@ -71,13 +70,13 @@ struct Date : public mysql_date, public - Date () {}; - Date (cchar* str) {convert(str);} - Date (const ColData &str); -- Date (const string &str); -+ Date (const std::string &str); - - short int compare(const Date& other) const - {return mysql_date::compare(&other);} - }; - --inline ostream& operator << (ostream& s, const Date& d) -+inline std::ostream& operator << (std::ostream& s, const Date& d) - {return d.out_stream(s);} - - struct mysql_time : virtual public mysql_dt_base { -@@ -85,7 +84,7 @@ struct mysql_time : virtual public mysql - tiny_int minute; - tiny_int second; - -- ostream& out_stream(ostream&) const; -+ std::ostream& out_stream(std::ostream&) const; - cchar* convert (cchar*); - protected: - short int compare(const mysql_time *other) const; -@@ -116,14 +115,14 @@ struct Time : public mysql_time, public - Time () {}; - Time (cchar* str) {convert(str);} - Time (const ColData &str); -- Time (const string &str); -+ Time (const std::string &str); - - short int compare(const Time& other) const - {return mysql_time::compare(&other);} - }; - - --inline ostream& operator << (ostream& s, const Time& d) -+inline std::ostream& operator << (std::ostream& s, const Time& d) - {return d.out_stream(s);} - - //: A combinate of Date and Time for holding mysql DateTime's -@@ -135,15 +134,15 @@ struct DateTime : public mysql_date, pub - DateTime () {} - DateTime (cchar* str) {convert(str);} - DateTime (const ColData &str); -- DateTime (const string &str); -+ DateTime (const std::string &str); - - short int compare(const DateTime& other) const; - -- ostream& out_stream(ostream&) const; -+ std::ostream& out_stream(std::ostream&) const; - cchar* convert (cchar*); - }; - --inline ostream& operator << (ostream& s, const DateTime& d) -+inline std::ostream& operator << (std::ostream& s, const DateTime& d) - {return d.out_stream(s);} - - #endif diff --git a/devel/mysql++/patches/patch-sqlplusint_datetime2_hh b/devel/mysql++/patches/patch-sqlplusint_datetime2_hh deleted file mode 100644 index 3952a0f70b7..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_datetime2_hh +++ /dev/null @@ -1,26 +0,0 @@ -$OpenBSD: patch-sqlplusint_datetime2_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/datetime2.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/datetime2.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -5,17 +5,17 @@ - #include "coldata2.hh" - #include "stream2string2.hh" - --inline mysql_dt_base::operator string () { -- return stream2string(*this); -+inline mysql_dt_base::operator std::string () { -+ return stream2string(*this); - } - - inline Date::Date (const ColData &str) {convert(str.c_str());} --inline Date::Date (const string &str) {convert(str.c_str());} -+inline Date::Date (const std::string &str) {convert(str.c_str());} - - inline Time::Time (const ColData &str) {convert(str.c_str());} --inline Time::Time (const string &str) {convert(str.c_str());} -+inline Time::Time (const std::string &str) {convert(str.c_str());} - - inline DateTime::DateTime (const ColData &str) {convert(str.c_str());} --inline DateTime::DateTime (const string &str) {convert(str.c_str());} -+inline DateTime::DateTime (const std::string &str) {convert(str.c_str());} - - #endif diff --git a/devel/mysql++/patches/patch-sqlplusint_datetime_cc b/devel/mysql++/patches/patch-sqlplusint_datetime_cc deleted file mode 100644 index f7aecebca64..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_datetime_cc +++ /dev/null @@ -1,56 +0,0 @@ -$OpenBSD: patch-sqlplusint_datetime_cc,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/datetime.cc.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/datetime.cc 2004-01-04 23:27:18.000000000 +0100 -@@ -7,39 +7,39 @@ - #endif - - #include "datetime3.hh" --#include -+#include - --ostream& mysql_date::out_stream (ostream& s) const { -+std::ostream& mysql_date::out_stream (std::ostream& s) const { - char fill = s.fill('0'); - #ifdef __USLC__ - long flags = s.setf(ios::right); - #else -- ios::fmtflags flags = s.setf(ios::right); -+ std::ios::fmtflags flags = s.setf(std::ios::right); - #endif -- s << setw(4) << year << '-' -- << setw(2) << month << '-' -- << setw(2) << day; -+ s << std::setw(4) << year << '-' -+ << std::setw(2) << month << '-' -+ << std::setw(2) << day; - s.flags(flags); - s.fill(fill); - return s; - } - --ostream& mysql_time::out_stream (ostream& s) const { -+std::ostream& mysql_time::out_stream (std::ostream& s) const { - char fill = s.fill('0'); - #ifdef __USLC__ -- long flags = s.setf(ios::right); -+ long flags = s.setf(std::ios::right); - #else -- ios::fmtflags flags = s.setf(ios::right); -+ std::ios::fmtflags flags = s.setf(std::ios::right); - #endif -- s << setw(2) << hour << ':' -- << setw(2) << minute << ':' -- << setw(2) << second; -+ s << std::setw(2) << hour << ':' -+ << std::setw(2) << minute << ':' -+ << std::setw(2) << second; - s.flags(flags); - s.fill(fill); - return s; - } - --ostream& MysqlDateTime::out_stream (ostream& s) const { -+std::ostream& MysqlDateTime::out_stream (std::ostream& s) const { - mysql_date::out_stream(s); - s << " "; - mysql_time::out_stream(s); diff --git a/devel/mysql++/patches/patch-sqlplusint_exceptions_hh_in b/devel/mysql++/patches/patch-sqlplusint_exceptions_hh_in deleted file mode 100644 index 1ea996b4b9c..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_exceptions_hh_in +++ /dev/null @@ -1,96 +0,0 @@ -$OpenBSD: patch-sqlplusint_exceptions_hh_in,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/exceptions.hh.in.orig 2001-05-19 18:44:49.000000000 +0200 -+++ sqlplusint/exceptions.hh.in 2004-01-04 23:39:41.000000000 +0100 -@@ -10,66 +10,70 @@ - // with --enable-exception flag. - - //: Exception thrown when a BadQuery is encountered --class BadQuery : public exception { -+class BadQuery : public std::exception { - public: -- BadQuery(const string &er = "") : error(er) {} -- const string error; //: The error message -- virtual const char* what( void ) const { return error.c_str(); } -+ BadQuery(const std::string &er = "") : error(er) {} -+ ~BadQuery() throw () {} -+ const std::string error; //: The error message -+ virtual const char* what( void ) const throw () { return error.c_str(); } - }; - - //: Exception structure thrown when a bad conversion takes place --class BadConversion : public exception { -- const string _what; -+class BadConversion : public std::exception { -+ const std::string _what; - public: - const char* type_name; //: -- const string data; //: -+ const std::string data; //: - size_t retrieved; //: - size_t actual_size;//: - BadConversion(const char* tn, const char* d, size_t r, size_t a) -- : _what(string("Tried to convert \"") + string(d ? d : "") + "\" to a \"" + string(tn ? tn : "")), -+ : _what(std::string("Tried to convert \"") + std::string(d ? d : "") + "\" to a \"" + std::string(tn ? tn : "")), - type_name(tn), data(d), retrieved(r), actual_size(a) {}; - -- BadConversion(const string &wt, const char* tn, const char* d, size_t r, size_t a) -+ BadConversion(const std::string &wt, const char* tn, const char* d, size_t r, size_t a) - : _what(wt), type_name(tn), data(d), retrieved(r), actual_size(a) {}; - -- BadConversion(const string& wt = "") -+ BadConversion(const std::string& wt = "") - : _what(wt), type_name("unknown"), data(""), retrieved(0), actual_size(0) {}; -+ ~BadConversion() throw () {} - -- virtual const char* what( void ) const { return _what.c_str(); } -+ virtual const char* what( void ) const throw () { return _what.c_str(); } - }; - - //: Thrown when a *Null* value is trying to be converted into a type - //: it can't convert to. --class BadNullConversion : public exception { -- const string _what; -+class BadNullConversion : public std::exception { -+ const std::string _what; - public: -- BadNullConversion(const string &wt = "") : _what(wt) {} -- virtual const char* what( void ) const { return _what.c_str(); } -+ BadNullConversion(const std::string &wt = "") : _what(wt) {} -+ ~BadNullConversion() throw () {} -+ virtual const char* what( void ) const throw () { return _what.c_str(); } - }; - - //: Exception thrown when not enough parameters are provided - // Thrown when not enough parameters are provided for a - // template query. --class SQLQueryNEParms : public exception { -- const string _what; -+class SQLQueryNEParms : public std::exception { -+ const std::string _what; - public: -- SQLQueryNEParms(const char *c) : _what(string(c ? c : "")), error(c) {} -+ SQLQueryNEParms(const char *c) : _what(std::string(c ? c : "")), error(c) {} -+ ~SQLQueryNEParms() throw () {} - const char* error; //: -- virtual const char* what( void ) const { return _what.c_str(); } -+ virtual const char* what( void ) const throw () { return _what.c_str(); } - }; - - #else //origional, default exception style - - struct BadQuery { -- BadQuery(string er) : error(er) {} -- string error; //: The error message -+ BadQuery(std::string er) : error(er) {} -+ std::string error; //: The error message - }; - - - //: Exception structure thrown when a bad conversion takes place - struct BadConversion { - const char* type_name; //: -- const string data; //: -+ const std::string data; //: - size_t retrieved; //: - size_t actual_size;//: - BadConversion(const char* tn, const char* d, size_t r, size_t a) : type_name(tn), data(d), retrieved(r), actual_size(a) {}; diff --git a/devel/mysql++/patches/patch-sqlplusint_field_names1_hh b/devel/mysql++/patches/patch-sqlplusint_field_names1_hh deleted file mode 100644 index 90fe8ce1f4b..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_field_names1_hh +++ /dev/null @@ -1,50 +0,0 @@ -$OpenBSD: patch-sqlplusint_field_names1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/field_names1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/field_names1.hh 2004-01-05 18:58:32.000000000 +0100 -@@ -2,37 +2,37 @@ - #ifndef __field_names1_hh__ - #define __field_names1_hh__ - --#include --#include -+#include -+#include - #include "defs" - #include "define_short" - #include "coldata1.hh" - #include "string_util.hh" - - //: A vector of the field names. --class FieldNames : public vector { -+class FieldNames : public std::vector { - private: - void init (const ResUse *res); - public: - FieldNames () {} - FieldNames (const ResUse *res) {init(res);} -- FieldNames (int i) : vector(i) {} -+ FieldNames (int i) : std::vector(i) {} - - FieldNames& operator = (const ResUse *res) {init(res); return *this;} - //: Creates a new list from the data in res. - FieldNames& operator = (int i) {insert(begin(), i, ""); return *this;} - //: Creates a new list with i field names. - -- string& operator [] (int i) {return vector::operator [] (i);} -+ std::string& operator [] (int i) {return std::vector::operator [] (i);} - //: returns the field name of the field with that index number - -- const string& operator [] (int i) const -- {return vector::operator [] (i);} -+ const std::string& operator [] (int i) const -+ {return std::vector::operator [] (i);} - //: returns the field name of the field with that index number - -- uint operator [] (string i) const -+ uint operator [] (std::string i) const - { -- string temp(i); str_to_lwr(temp); -+ std::string temp(i); str_to_lwr(temp); - return find(begin(),end(), temp) - begin(); - } - //: returns the index number of the field with that name diff --git a/devel/mysql++/patches/patch-sqlplusint_field_names_cc b/devel/mysql++/patches/patch-sqlplusint_field_names_cc deleted file mode 100644 index f93accd3e56..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_field_names_cc +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-sqlplusint_field_names_cc,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/field_names.cc.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/field_names.cc 2004-01-04 23:25:47.000000000 +0100 -@@ -13,7 +13,7 @@ void FieldNames::init(const ResUse *res) - int num = res->num_fields(); - reserve(num); - for (int i = 0; i < num; i++) { -- string p(res->fields()[i].name); str_to_lwr(p); push_back(p); -+ std::string p(res->fields()[i].name); str_to_lwr(p); push_back(p); - } - - } diff --git a/devel/mysql++/patches/patch-sqlplusint_field_types1_hh b/devel/mysql++/patches/patch-sqlplusint_field_types1_hh deleted file mode 100644 index c80217a6705..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_field_types1_hh +++ /dev/null @@ -1,42 +0,0 @@ -$OpenBSD: patch-sqlplusint_field_types1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/field_types1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/field_types1.hh 2004-01-04 23:27:18.000000000 +0100 -@@ -1,19 +1,21 @@ - #ifndef __field_types1_hh__ - #define __field_types1_hh__ - --#include -+#include - #include "defs" - #include "define_short" - #include "type_info1.hh" - -+//using namespace std; -+ - //: A vector of the field types. --class FieldTypes : public vector { -+class FieldTypes : public std::vector { - private: - void init (const ResUse *res); - public: - FieldTypes () {} - FieldTypes (const ResUse *res) {init(res);} -- FieldTypes (int i) : vector(i) {} -+ FieldTypes (int i) : std::vector(i) {} - - FieldTypes& operator = (const ResUse *res) {init(res); return *this;} - //: Creates a new list based on the info in res -@@ -21,11 +23,11 @@ public: - mysql_type_info()); return *this;} - //: Creates a new list with i fields. - -- mysql_type_info& operator [] (int i) {return vector -+ mysql_type_info& operator [] (int i) {return std::vector - ::operator [] (i);} - //: Returns the field type for the field with an offset of i. - const mysql_type_info& operator [] (int i) const -- {return vector::operator[] (i);} -+ {return std::vector::operator[] (i);} - //: Returns the field type for the field with an offset of i. - }; - diff --git a/devel/mysql++/patches/patch-sqlplusint_manip1_hh b/devel/mysql++/patches/patch-sqlplusint_manip1_hh deleted file mode 100644 index 1d486b94e26..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_manip1_hh +++ /dev/null @@ -1,276 +0,0 @@ -$OpenBSD: patch-sqlplusint_manip1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/manip1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/manip1.hh 2004-01-04 23:55:26.000000000 +0100 -@@ -24,11 +24,11 @@ class SQLQueryParms; - enum quote_type0 {mysql_quote}; - - struct quote_type1 { -- ostream *ostr; -- quote_type1(ostream *o) : ostr(o) {} -+ std::ostream *ostr; -+ quote_type1(std::ostream *o) : ostr(o) {} - }; - --inline quote_type1 operator << (ostream &o, quote_type0 esc) { -+inline quote_type1 operator << (std::ostream &o, quote_type0 esc) { - return quote_type1(&o); - } - -@@ -44,52 +44,52 @@ inline quote_type2 operator << (SQLQuery - SQLQueryParms& operator << (quote_type2 p, SQLString &in); - - template --inline ostream& operator << (quote_type1 o, const T &in) { -+inline std::ostream& operator << (quote_type1 o, const T &in) { - return *o.ostr << in; - } - --ostream& operator << (ostream& o,const mysql_ColData& in); -+std::ostream& operator << (std::ostream& o,const mysql_ColData& in); - --ostream& operator << (ostream& o, const mysql_ColData& in); -+std::ostream& operator << (std::ostream& o, const mysql_ColData& in); - --SQLQuery& operator << (SQLQuery& o, const mysql_ColData& in); -+SQLQuery& operator << (SQLQuery& o, const mysql_ColData& in); - - SQLQuery& operator << (SQLQuery& o, const mysql_ColData& in); - - template <> --ostream& operator << (quote_type1 o, const string &in); -+std::ostream& operator << (quote_type1 o, const std::string &in); - - template <> --ostream& operator << (quote_type1 o, const char* const &in); -+std::ostream& operator << (quote_type1 o, const char* const &in); - - template <> --ostream& operator << (quote_type1 o, const mysql_ColData& in); -+std::ostream& operator << (quote_type1 o, const mysql_ColData& in); - - template <> --ostream& operator << (quote_type1 o, const mysql_ColData& in); -+std::ostream& operator << (quote_type1 o, const mysql_ColData& in); - - template <> --inline ostream& operator << (quote_type1 o, char* const &in) { -+inline std::ostream& operator << (quote_type1 o, char* const &in) { - return operator << (o, const_cast(in)); - } - - template <> --inline ostream& operator << (quote_type1 o, const Date &in) { -+inline std::ostream& operator << (quote_type1 o, const Date &in) { - return *o.ostr << "'" << in << "'"; - } - - template <> --inline ostream& operator << (quote_type1 o, const Time &in) { -+inline std::ostream& operator << (quote_type1 o, const Time &in) { - return *o.ostr << "'" << in << "'"; - } - - template <> --inline ostream& operator << (quote_type1 o, const DateTime &in) { -+inline std::ostream& operator << (quote_type1 o, const DateTime &in) { - return *o.ostr << "'" << in << "'"; - } - - template --inline ostream& operator << (quote_type1 o, const MysqlSet &in) { -+inline std::ostream& operator << (quote_type1 o, const MysqlSet &in) { - return *o.ostr << "'" << in << "'"; - } - -@@ -98,11 +98,11 @@ inline ostream& operator << (quote_type1 - enum quote_only_type0 {mysql_quote_only}; - - struct quote_only_type1 { -- ostream *ostr; -- quote_only_type1(ostream *o) : ostr(o) {} -+ std::ostream *ostr; -+ quote_only_type1(std::ostream *o) : ostr(o) {} - }; - --inline quote_only_type1 operator << (ostream &o, quote_only_type0 esc) { -+inline quote_only_type1 operator << (std::ostream &o, quote_only_type0 esc) { - return quote_only_type1(&o); - } - -@@ -118,38 +118,38 @@ inline quote_only_type2 operator << (SQL - SQLQueryParms & operator << (quote_only_type2 p, SQLString &in); - - template --inline ostream& operator << (quote_only_type1 o, const T &in) { -+inline std::ostream& operator << (quote_only_type1 o, const T &in) { - return *o.ostr << in; - } - - template <> --inline ostream& operator << (quote_only_type1 o, const string &in) { -+inline std::ostream& operator << (quote_only_type1 o, const std::string &in) { - return *o.ostr << "'" << in << "'"; - } - - template <> --ostream& operator << (quote_only_type1 o, const mysql_ColData& in); -+std::ostream& operator << (quote_only_type1 o, const mysql_ColData& in); - - template <> --ostream& operator << (quote_only_type1 o, const mysql_ColData& in); -+std::ostream& operator << (quote_only_type1 o, const mysql_ColData& in); - - template <> --inline ostream& operator << (quote_only_type1 o, const Date &in) { -+inline std::ostream& operator << (quote_only_type1 o, const Date &in) { - return *o.ostr << "'" << in << "'"; - } - - template <> --inline ostream& operator << (quote_only_type1 o, const Time &in) { -+inline std::ostream& operator << (quote_only_type1 o, const Time &in) { - return *o.ostr << "'" << in << "'"; - } - - template <> --inline ostream& operator << (quote_only_type1 o, const DateTime &in) { -+inline std::ostream& operator << (quote_only_type1 o, const DateTime &in) { - return *o.ostr << "'" << in << "'"; - } - - template --inline ostream& operator << (quote_only_type1 o, const MysqlSet &in) { -+inline std::ostream& operator << (quote_only_type1 o, const MysqlSet &in) { - return *o.ostr << "'" << in << "'"; - } - -@@ -157,11 +157,11 @@ inline ostream& operator << (quote_only_ - - enum quote_double_only_type0 {mysql_quote_double_only}; - struct quote_double_only_type1 { -- ostream *ostr; -- quote_double_only_type1(ostream *o) : ostr(o) {} -+ std::ostream *ostr; -+ quote_double_only_type1(std::ostream *o) : ostr(o) {} - }; - --inline quote_double_only_type1 operator << (ostream &o, -+inline quote_double_only_type1 operator << (std::ostream &o, - quote_double_only_type0 esc) { - return quote_double_only_type1(&o); - } -@@ -179,39 +179,39 @@ inline quote_double_only_type2 operator - SQLQueryParms & operator << (quote_double_only_type2 p, SQLString &in); - - template --inline ostream& operator << (quote_double_only_type1 o, const T &in) { -+inline std::ostream& operator << (quote_double_only_type1 o, const T &in) { - return *o.ostr << in; - } - - template <> --inline ostream& operator << (quote_double_only_type1 o, const string &in) { -+inline std::ostream& operator << (quote_double_only_type1 o, const std::string &in) { - return *o.ostr << "\"" << in << "\""; - } - - template <> --ostream& operator << (quote_double_only_type1 o, const mysql_ColData& in); -+std::ostream& operator << (quote_double_only_type1 o, const mysql_ColData& in); - - template <> --ostream& operator << (quote_double_only_type1 o, const mysql_ColData& in); -+std::ostream& operator << (quote_double_only_type1 o, const mysql_ColData& in); - - template <> --inline ostream& operator << (quote_double_only_type1 o, const Date &in) { -+inline std::ostream& operator << (quote_double_only_type1 o, const Date &in) { - return *o.ostr << "\"" << in << "\""; - } - - template <> --inline ostream& operator << (quote_double_only_type1 o, const Time &in) { -+inline std::ostream& operator << (quote_double_only_type1 o, const Time &in) { - return *o.ostr << "\"" << in << "\""; - } - - template <> --inline ostream& operator << (quote_double_only_type1 o, -+inline std::ostream& operator << (quote_double_only_type1 o, - const DateTime &in) { - return *o.ostr << "\"" << in << "\""; - } - - template --inline ostream& operator << (quote_double_only_type1 o, -+inline std::ostream& operator << (quote_double_only_type1 o, - const MysqlSet &in) { - return *o.ostr << "\"" << in << "\""; - } -@@ -220,11 +220,11 @@ inline ostream& operator << (quote_doubl - - enum escape_type0 {mysql_escape}; - struct escape_type1 { -- ostream *ostr; -- escape_type1(ostream *o) : ostr(o) {} -+ std::ostream *ostr; -+ escape_type1(std::ostream *o) : ostr(o) {} - }; - --inline escape_type1 operator << (ostream &o, escape_type0 esc) { -+inline escape_type1 operator << (std::ostream &o, escape_type0 esc) { - return escape_type1(&o); - } - -@@ -240,24 +240,24 @@ inline escape_type2 operator << (SQLQuer - SQLQueryParms & operator << (escape_type2 p, SQLString &in); - - template --inline ostream& operator << (escape_type1 o, const T &in) { -+inline std::ostream& operator << (escape_type1 o, const T &in) { - return *o.ostr << in; - } - - template <> --ostream& operator << (escape_type1 o, const string &in); -+std::ostream& operator << (escape_type1 o, const std::string &in); - - template <> --ostream& operator << (escape_type1 o, const char* const &in); -+std::ostream& operator << (escape_type1 o, const char* const &in); - - template <> --ostream& operator << (escape_type1 o, const mysql_ColData& in); -+std::ostream& operator << (escape_type1 o, const mysql_ColData& in); - - template <> --ostream& operator << (escape_type1 o, const mysql_ColData& in); -+std::ostream& operator << (escape_type1 o, const mysql_ColData& in); - - template <> --inline ostream& operator << (escape_type1 o, char* const &in) { -+inline std::ostream& operator << (escape_type1 o, char* const &in) { - return operator << (o, const_cast(in)); - } - -@@ -266,16 +266,16 @@ inline ostream& operator << (escape_type - - enum do_nothing_type0 {mysql_do_nothing}; - struct do_nothing_type1 { -- ostream *ostr; -- do_nothing_type1(ostream *o) : ostr(o) {} -+ std::ostream *ostr; -+ do_nothing_type1(std::ostream *o) : ostr(o) {} - }; - --inline do_nothing_type1 operator << (ostream &o, do_nothing_type0 esc) { -+inline do_nothing_type1 operator << (std::ostream &o, do_nothing_type0 esc) { - return do_nothing_type1(&o); - } - - template --inline ostream& operator << (do_nothing_type1 o, const T &in) { -+inline std::ostream& operator << (do_nothing_type1 o, const T &in) { - return *o.ostr << in; - } - diff --git a/devel/mysql++/patches/patch-sqlplusint_manip_cc b/devel/mysql++/patches/patch-sqlplusint_manip_cc deleted file mode 100644 index 42ed662922a..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_manip_cc +++ /dev/null @@ -1,30 +0,0 @@ -$OpenBSD: patch-sqlplusint_manip_cc,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/manip.cc.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/manip.cc 2004-01-05 00:04:07.000000000 +0100 -@@ -1,6 +1,8 @@ - - #include "manip3.hh" - -+using namespace std; -+ - // quote manipulator - - bool dont_quote_auto=false; -@@ -75,7 +77,7 @@ ostream& operator << (quote_type1 o, con - } - - ostream& operator << (ostream& o, const mysql_ColData& in) { -- if (dont_quote_auto || (o.rdbuf() == cout.rdbuf()) || (o.rdbuf() == cerr.rdbuf())) return o << in.get_string(); -+ if (dont_quote_auto || (o.rdbuf() == std::cout.rdbuf()) || (o.rdbuf() == std::cerr.rdbuf())) return o << in.get_string(); - if (in.escape_q()) { - char *s = new char[in.size()*2+1]; - mysql_escape_string(s, const_cast(in.c_str()), in.size() ); -@@ -94,7 +96,7 @@ ostream& operator << (ostream& o, const - - - ostream& operator << (ostream& o, const mysql_ColData& in) { -- if (dont_quote_auto || (o.rdbuf() == cout.rdbuf()) || (o.rdbuf() == cerr.rdbuf())) return o << in.get_string(); -+ if (dont_quote_auto || (o.rdbuf() == std::cout.rdbuf()) || (o.rdbuf() == std::cerr.rdbuf())) return o << in.get_string(); - if (in.escape_q()) { - char *s = new char[in.size()*2+1]; - mysql_escape_string(s, const_cast(in.c_str()), in.size() ); diff --git a/devel/mysql++/patches/patch-sqlplusint_null1_hh b/devel/mysql++/patches/patch-sqlplusint_null1_hh deleted file mode 100644 index 2b53fcc35d6..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_null1_hh +++ /dev/null @@ -1,35 +0,0 @@ -$OpenBSD: patch-sqlplusint_null1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/null1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/null1.hh 2004-01-04 23:26:25.000000000 +0100 -@@ -1,7 +1,7 @@ - #ifndef __null1_hh__ - #define __null1_hh__ - --#include -+#include - #include "exceptions.hh" - #include "define_short" - -@@ -18,19 +18,19 @@ const null_type null = null_type(); - //: Type to use for the behavior parameter for *Null<>* - struct NullisNull { - static null_type null_is() {return null_type();} -- static ostream& null_ostr(ostream& o) {o << "(NULL)"; return o;} -+ static std::ostream& null_ostr(std::ostream& o) {o << "(NULL)"; return o;} - }; - - //: Type to use for the behavior parameter for *Null<>* - struct NullisZero { - static int null_is() {return 0;} -- static ostream& null_ostr(ostream &o) {o << 0; return o;} -+ static std::ostream& null_ostr(std::ostream &o) {o << 0; return o;} - }; - - //: Type to use for the behavior parameter for *Null<>* - struct NullisBlank { - static const char * null_is() {return "";} -- static ostream& null_ostr(ostream &o) {o << ""; return o;} -+ static std::ostream& null_ostr(std::ostream &o) {o << ""; return o;} - }; - - //: Container class for holding null types. diff --git a/devel/mysql++/patches/patch-sqlplusint_null2_hh b/devel/mysql++/patches/patch-sqlplusint_null2_hh deleted file mode 100644 index 9eeb59cce24..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_null2_hh +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-sqlplusint_null2_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/null2.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/null2.hh 2004-01-04 23:26:25.000000000 +0100 -@@ -4,7 +4,7 @@ - #include "null1.hh" - - template --inline ostream& operator << (ostream &o, const Null &n) { -+inline std::ostream& operator << (std::ostream &o, const Null &n) { - if (n.is_null) return Behavior::null_ostr(o); - else return o << n.data; - } diff --git a/devel/mysql++/patches/patch-sqlplusint_query1_hh b/devel/mysql++/patches/patch-sqlplusint_query1_hh deleted file mode 100644 index ae26e79a1fe..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_query1_hh +++ /dev/null @@ -1,43 +0,0 @@ -$OpenBSD: patch-sqlplusint_query1_hh,v 1.2 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/query1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/query1.hh 2004-01-04 23:31:02.000000000 +0100 -@@ -25,24 +25,24 @@ private: - - int affected_rows() const; - int insert_id (); -- string info (); -+ std::string info (); - bool lock(); - void unlock(); - - public: - Query(Connection *m, bool te = false) -- {mysql = m;errmsg=NULL;Success = true;throw_exceptions=te;} -+ {mysql = m;errmsg=NULL;Success_ = true;throw_exceptions=te;} - //: Create a new query object attached to a connection. - Query(const Query &q); //: - Query& operator = (const Query &q); //: - -- string error (); //: The error message if the query was not successful. -+ std::string error (); //: The error message if the query was not successful. - bool success(); //: Displays the string currently in the buffer. - // Same thing as string(). - -- string preview () {return str(def);} //: -- string preview (parms &p) {return str(p);} //: -- bool exec (const string &str); -+ std::string preview () {return str(def);} //: -+ std::string preview (parms &p) {return str(p);} //: -+ bool exec (const std::string &str); - //!dummy: MysqlResNSel execute (...); - //: Executes the query in the string buffer. - // Executes the query in the string buffer and returns a structure -@@ -67,7 +67,7 @@ public: - // - // The parameters can be anything in a valid SQLQuery::str. - -- mysql_query_define0(string,preview) -+ mysql_query_define0(std::string,preview) - - mysql_query_define1(ResNSel, execute) - mysql_query_define1(ResUse, use) diff --git a/devel/mysql++/patches/patch-sqlplusint_query2_hh b/devel/mysql++/patches/patch-sqlplusint_query2_hh deleted file mode 100644 index 322857f962c..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_query2_hh +++ /dev/null @@ -1,28 +0,0 @@ -$OpenBSD: patch-sqlplusint_query2_hh,v 1.2 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/query2.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/query2.hh 2004-01-04 23:31:06.000000000 +0100 -@@ -7,7 +7,7 @@ - #include "coldata2.hh" - - inline bool Query::success() { -- if (!Success) return false; -+ if (!Success_) return false; - return mysql->success(); - } - -@@ -47,12 +47,12 @@ inline int Query::insert_id () { - return mysql->insert_id(); - } - --inline string Query::info() { -+inline std::string Query::info() { - return mysql->info(); - } - --inline string Query::error () { -- if (errmsg) return string(errmsg); -+inline std::string Query::error () { -+ if (errmsg) return std::string(errmsg); - return mysql->error(); - } - diff --git a/devel/mysql++/patches/patch-sqlplusint_query_cc b/devel/mysql++/patches/patch-sqlplusint_query_cc deleted file mode 100644 index 08db9edca11..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_query_cc +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-sqlplusint_query_cc,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/query.cc.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/query.cc 2004-01-05 00:04:31.000000000 +0100 -@@ -1,5 +1,8 @@ - - #include "query3.hh" -+#include "row2.hh" -+ -+using namespace std; - - MysqlQuery::MysqlQuery(const MysqlQuery &q) : SQLQuery(q) { - throw_exceptions = q.throw_exceptions; diff --git a/devel/mysql++/patches/patch-sqlplusint_resiter1_hh b/devel/mysql++/patches/patch-sqlplusint_resiter1_hh deleted file mode 100644 index fe3db110b33..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_resiter1_hh +++ /dev/null @@ -1,41 +0,0 @@ -$OpenBSD: patch-sqlplusint_resiter1_hh,v 1.2 2004/12/14 17:40:44 espie Exp $ ---- sqlplusint/resiter1.hh.orig Sat May 19 18:44:48 2001 -+++ sqlplusint/resiter1.hh Tue Dec 14 18:30:58 2004 -@@ -3,7 +3,7 @@ - - #include "defs" - #include "row1.hh" --#include -+#include - - template - class subscript_iterator; -@@ -22,8 +22,8 @@ public: - typedef subscript_iterator - iterator; //: - typedef iterator const_iterator; //: -- typedef const ::reverse_iterator reverse_iterator; //: -- typedef const ::reverse_iterator const_reverse_iterator; //: -+ typedef const std::reverse_iterator reverse_iterator; //: -+ typedef const std::reverse_iterator const_reverse_iterator; //: - - typedef ValueType value_type; //: - typedef value_type& reference; //: -@@ -46,6 +46,17 @@ public: - reverse_iterator rbegin() const {return reverse_iterator(end());} //: - reverse_iterator rend() const {return reverse_iterator(begin());} //: - }; -+ -+#if __GNUC__ > 2 -+template -+ struct random_access_iterator { -+ typedef std::random_access_iterator_tag iterator_category; -+ typedef _Tp value_type; -+ typedef _Distance difference_type; -+ typedef _Tp* pointer; -+ typedef _Tp& reference; -+ }; -+#endif - - //: - template diff --git a/devel/mysql++/patches/patch-sqlplusint_result1_hh b/devel/mysql++/patches/patch-sqlplusint_result1_hh deleted file mode 100644 index 2f00cca350e..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_result1_hh +++ /dev/null @@ -1,88 +0,0 @@ -$OpenBSD: patch-sqlplusint_result1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/result1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/result1.hh 2004-01-04 23:56:43.000000000 +0100 -@@ -7,8 +7,8 @@ - #include - #define errno WSAGetLastError() - #endif --#include --#include -+#include -+#include - #include - #include - #include "define_short" -@@ -20,7 +20,7 @@ - #include "exceptions.hh" - //: - class ResUse { -- friend Connection; -+ friend class Connection; - protected: - Connection *mysql; - mutable MYSQL_RES *mysql_res; -@@ -28,7 +28,7 @@ protected: - mutable FieldNames *_names; - mutable FieldTypes *_types; - Fields _fields; -- string _table; -+ std::string _table; - void copy(const ResUse& other); //: not to be used on the self. self - copy is not allowed - public: - ResUse () : mysql(0), mysql_res(0), throw_exceptions(false),initialized(false), _names(NULL), _types(NULL), _fields(this) {} -@@ -72,17 +72,17 @@ public: - operator bool() const {if (mysql_res) return true; return false;} //: - unsigned int columns() const {return num_fields();} //: - -- string& table() {return _table;} -+ std::string& table() {return _table;} - //: table name -- const string& table() const {return _table;} -+ const std::string& table() const {return _table;} - //: table name - - /* methods for working with field names */ -- inline int field_num(const string&) const; -+ inline int field_num(const std::string&) const; - //: Returns the offset of the filed which equals str. -- inline string& field_name(int); -+ inline std::string& field_name(int); - //: Returns the field with an offset of i. -- inline const string& field_name(int) const; -+ inline const std::string&field_name(int) const; - //: Returns the field with an offset of i. - inline FieldNames& field_names(); - //: Returns a reference to the underlying FieldNames class. -@@ -104,11 +104,11 @@ public: - //: Resets the field_types to their original values. - - /* short names for the above methods */ -- inline int names(const string& s) const; -+ inline int names(const std::string& s) const; - //: Returns the offset of the filed which equals str. -- inline string& names(int i); -+ inline std::string& names(int i); - //: Returns the field with an offset of i. -- inline const string& names(int i) const; -+ inline const std::string&names(int i) const; - //: Returns the field with an offset of i. - inline FieldNames& names(); - //: Returns a reference to the underlying FieldNames class. -@@ -151,7 +151,7 @@ public: - class Result : public ResUse, - public const_subscript_container - { -- friend Connection; -+ friend class Connection; - public: - Result () {} //: - Result (MYSQL_RES *result, bool te = false) -@@ -210,7 +210,7 @@ struct ResNSel { - bool success; - int insert_id; //: - int rows; //: Number of rows affected -- string info; //: Additional info -+ std::string info; //: Additional info - - ResNSel() : success(false) {}; - ResNSel (Connection *q); diff --git a/devel/mysql++/patches/patch-sqlplusint_result2_hh b/devel/mysql++/patches/patch-sqlplusint_result2_hh deleted file mode 100644 index 8c5941f164f..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_result2_hh +++ /dev/null @@ -1,37 +0,0 @@ -$OpenBSD: patch-sqlplusint_result2_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/result2.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/result2.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -8,17 +8,17 @@ - - // field name info - --inline int ResUse::field_num(const string &i) const { -+inline int ResUse::field_num(const std::string &i) const { - if (!_names) _names = new FieldNames(this); - return (*_names)[i]; - } - --inline string& ResUse::field_name(int i) { -+inline std::string& ResUse::field_name(int i) { - if (!_names) _names = new FieldNames(this); - return (*_names)[i]; - } - --inline const string& ResUse::field_name(int i) const { -+inline const std::string& ResUse::field_name(int i) const { - if (!_names) _names = new FieldNames(this); - return (*_names)[i]; - } -@@ -65,9 +65,9 @@ inline void ResUse::reset_field_types() - _types = new FieldTypes(this); - } - --inline int ResUse::names(const string& s) const {return field_num(s);} --inline string& ResUse::names(int i) {return field_name(i);} --inline const string& ResUse::names(int i) const {return field_name(i);} -+inline int ResUse::names(const std::string& s) const {return field_num(s);} -+inline std::string& ResUse::names(int i) {return field_name(i);} -+inline const std::string& ResUse::names(int i) const {return field_name(i);} - inline FieldNames& ResUse::names() {return field_names();} - inline const FieldNames& ResUse::names() const {return field_names();} - inline void ResUse::reset_names() {reset_field_names();} diff --git a/devel/mysql++/patches/patch-sqlplusint_row1_hh b/devel/mysql++/patches/patch-sqlplusint_row1_hh deleted file mode 100644 index e474a6176de..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_row1_hh +++ /dev/null @@ -1,220 +0,0 @@ -$OpenBSD: patch-sqlplusint_row1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/row1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/row1.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -35,17 +35,17 @@ public: - - template - value_list_b -- value_list(const char *d, Manip m, const vector &vb) const { -+ value_list(const char *d, Manip m, const std::vector &vb) const { - return value_list_b (self(), vb, d, m); - } - - value_list_b -- value_list(const char *d, const vector &vb) const { -+ value_list(const char *d, const std::vector &vb) const { - return value_list_b (self(), vb, d, quote); - } - - value_list_b -- value_list(const vector &vb) const { -+ value_list(const std::vector &vb) const { - return value_list_b (self(), vb, ",", quote); - } - -@@ -55,7 +55,7 @@ public: - bool t1=false, bool t2=false, bool t3=false, bool t4=false, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) const { -- vector vb; -+ std::vector vb; - create_vector(self().size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b(self(), vb, d, m); - } -@@ -65,7 +65,7 @@ public: - bool t1=false, bool t2=false, bool t3=false, bool t4=false, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) const { -- vector vb; -+ std::vector vb; - create_vector(self().size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b(self(), vb, d, quote); - } -@@ -75,38 +75,38 @@ public: - bool t1=false, bool t2=false, bool t3=false, bool t4=false, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) const { -- vector vb; -+ std::vector vb; - create_vector(self().size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b(self(), vb, ",", quote); - } - - template - value_list_b -- value_list(const char *d, Manip m, string s0, -- string s1="", string s2="", string s3="", string s4="", -- string s5="", string s6="", string s7="", string s8="", -- string s9="", string sa="", string sb="", string sc="") const { -- vector vb; -+ value_list(const char *d, Manip m, std::string s0, -+ std::string s1="", std::string s2="", std::string s3="", std::string s4="", -+ std::string s5="", std::string s6="", std::string s7="", std::string s8="", -+ std::string s9="", std::string sa="", std::string sb="", std::string sc="") const { -+ std::vector vb; - create_vector(self(), vb, s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,sa,sb,sc); - return value_list_b(self(), vb, d, m); - } - - value_list_b -- value_list(const char *d, string s0, -- string s1="", string s2="", string s3="", string s4="", -- string s5="", string s6="", string s7="", string s8="", -- string s9="", string sa="", string sb="", string sc="") const { -- vector vb; -+ value_list(const char *d, std::string s0, -+ std::string s1="", std::string s2="", std::string s3="", std::string s4="", -+ std::string s5="", std::string s6="", std::string s7="", std::string s8="", -+ std::string s9="", std::string sa="", std::string sb="", std::string sc="") const { -+ std::vector vb; - create_vector(self(), vb, s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,sa,sb,sc); - return value_list_b(self(), vb, d, quote); - } - - value_list_b -- value_list(string s0, -- string s1="", string s2="", string s3="", string s4="", -- string s5="", string s6="", string s7="", string s8="", -- string s9="", string sa="", string sb="", string sc="") const { -- vector vb; -+ value_list(std::string s0, -+ std::string s1="", std::string s2="", std::string s3="", std::string s4="", -+ std::string s5="", std::string s6="", std::string s7="", std::string s8="", -+ std::string s9="", std::string sa="", std::string sb="", std::string sc="") const { -+ std::vector vb; - create_vector(self(), vb, s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,sa,sb,sc); - return value_list_b(self(), vb, ",", quote); - } -@@ -129,17 +129,17 @@ public: - - template - value_list_b -- field_list(const char *d, Manip m, const vector &vb) const { -+ field_list(const char *d, Manip m, const std::vector &vb) const { - return value_list_b (parent().names(), vb, d, m); - } - - value_list_b -- field_list(const char *d, const vector &vb) const { -+ field_list(const char *d, const std::vector &vb) const { - return value_list_b (parent().names(), vb, d, quote); - } - - value_list_b -- field_list(const vector &vb) const { -+ field_list(const std::vector &vb) const { - return value_list_b (parent().names(), vb, ",", quote); - } - -@@ -149,7 +149,7 @@ public: - bool t1=false, bool t2=false, bool t3=false, bool t4=false, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) const { -- vector vb; -+ std::vector vb; - create_vector(parent().names().size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b(parent().names(), vb, d, m); - } -@@ -159,7 +159,7 @@ public: - bool t1=false, bool t2=false, bool t3=false, bool t4=false, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) const { -- vector vb; -+ std::vector vb; - create_vector(parent().names().size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b(parent().names(), vb, d, quote); - } -@@ -169,38 +169,38 @@ public: - bool t1=false, bool t2=false, bool t3=false, bool t4=false, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) const { -- vector vb; -+ std::vector vb; - create_vector(parent().names().size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b(parent().names(), vb, ",", quote); - } - - template - value_list_b -- field_list(const char *d, Manip m, string s0, -- string s1="", string s2="", string s3="", string s4="", -- string s5="", string s6="", string s7="", string s8="", -- string s9="", string sa="", string sb="", string sc="") const { -- vector vb; -+ field_list(const char *d, Manip m, std::string s0, -+ std::string s1="", std::string s2="", std::string s3="", std::string s4="", -+ std::string s5="", std::string s6="", std::string s7="", std::string s8="", -+ std::string s9="", std::string sa="", std::string sb="", std::string sc="") const { -+ std::vector vb; - create_vector(parent().names(), vb, s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,sa,sb,sc); - return value_list_b(parent().names(), vb, d, m); - } - - value_list_b -- field_list(const char *d, string s0, -- string s1="", string s2="", string s3="", string s4="", -- string s5="", string s6="", string s7="", string s8="", -- string s9="", string sa="", string sb="", string sc="") const { -- vector vb; -+ field_list(const char *d, std::string s0, -+ std::string s1="", std::string s2="", std::string s3="", std::string s4="", -+ std::string s5="", std::string s6="", std::string s7="", std::string s8="", -+ std::string s9="", std::string sa="", std::string sb="", std::string sc="") const { -+ std::vector vb; - create_vector(parent().names(), vb, s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,sa,sb,sc); - return value_list_b(parent().names(), vb, d, quote); - } - - value_list_b -- field_list(string s0, -- string s1="", string s2="", string s3="", string s4="", -- string s5="", string s6="", string s7="", string s8="", -- string s9="", string sa="", string sb="", string sc="") const { -- vector vb; -+ field_list(std::string s0, -+ std::string s1="", std::string s2="", std::string s3="", std::string s4="", -+ std::string s5="", std::string s6="", std::string s7="", std::string s8="", -+ std::string s9="", std::string sa="", std::string sb="", std::string sc="") const { -+ std::vector vb; - create_vector(parent().names(), vb, s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,sa,sb,sc); - return value_list_b(parent().names(), vb, ",", quote); - } -@@ -229,8 +229,8 @@ class Row : public const_subscript_conta - public RowTemplate - { - private: -- vector data; -- vector is_nulls; -+ std::vector data; -+ std::vector is_nulls; - const ResUse *res; - bool throw_exceptions, initialized; - -@@ -246,7 +246,7 @@ public: - data.clear(); is_nulls.clear(); initialized=true; - for (unsigned int i=0;i - #include "row1.hh" - #include "result2.hh" - -@@ -11,12 +11,12 @@ inline const ColData Row::operator [] (s - return ColData(data[i].c_str(), res->types(i),is_nulls[i]); - } - --inline const ColData Row::operator[] (const string &i) const { -+inline const ColData Row::operator[] (const std::string &i) const { - return (*this)[res->field_num(i)]; - } - - inline const ColData Row::operator[] (const char *i) const { -- return (*this)[res->field_num(string(i))]; -+ return (*this)[res->field_num(std::string(i))]; - } - - // RowTemplate diff --git a/devel/mysql++/patches/patch-sqlplusint_set1_hh b/devel/mysql++/patches/patch-sqlplusint_set1_hh deleted file mode 100644 index f0bfed5f714..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_set1_hh +++ /dev/null @@ -1,59 +0,0 @@ -$OpenBSD: patch-sqlplusint_set1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/set1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/set1.hh 2004-01-04 23:54:00.000000000 +0100 -@@ -9,7 +9,7 @@ - #endif - #include - #include --#include -+#include - #include "define_short" - #include "coldata1.hh" - -@@ -32,37 +32,37 @@ public: - }; - - template --inline MysqlSetInsert > set_insert(set *o) { -- return MysqlSetInsert >(o); -+inline MysqlSetInsert > set_insert(std::set *o) { -+ return MysqlSetInsert >(o); - } - - template --inline MysqlListInsert > set_insert(vector *o) { -- return MysqlListInsert >(o); -+inline MysqlListInsert > set_insert(std::vector *o) { -+ return MysqlListInsert >(o); - } - - template - void set2container (const char *str, Insert insert); - - //: A Special Set for holding mysql sets. --template > -+template > - class Set : public Container { - public: - Set(const char* str) {set2container(str,set_insert(this));} //: -- Set(const string &str) {set2container(str.c_str(),set_insert(this));} //: -+ Set(const std::string &str) {set2container(str.c_str(),set_insert(this));} //: - Set(const ColData &str) - {set2container(str.c_str(),set_insert(this));} //: - -- ostream& out_stream(ostream &s) const; -+ std::ostream& out_stream(std::ostream &s) const; - -- operator string (); -+ operator std::string (); - }; - - //! with_class = Set - - //: - template --inline ostream& operator << (ostream &s, const Set &d) -+inline std::ostream& operator << (std::ostream &s, const Set &d) - { - return d.out_stream(s); - } diff --git a/devel/mysql++/patches/patch-sqlplusint_set2_hh b/devel/mysql++/patches/patch-sqlplusint_set2_hh deleted file mode 100644 index 1de3bfcbad8..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_set2_hh +++ /dev/null @@ -1,14 +0,0 @@ -$OpenBSD: patch-sqlplusint_set2_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/set2.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/set2.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -5,8 +5,8 @@ - #include "stream2string3.hh" - - template --inline Set::operator string () { -- return stream2string(*this); -+inline Set::operator std::string () { -+ return stream2string(*this); - } - - #endif diff --git a/devel/mysql++/patches/patch-sqlplusint_set3_hh b/devel/mysql++/patches/patch-sqlplusint_set3_hh deleted file mode 100644 index 64c09e6858d..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_set3_hh +++ /dev/null @@ -1,23 +0,0 @@ -$OpenBSD: patch-sqlplusint_set3_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/set3.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/set3.hh 2004-01-05 00:10:07.000000000 +0100 -@@ -6,9 +6,8 @@ - - template - void set2container (const char *str, Insert insert) { -- MutableColData s(false); - while (1) { -- s = ""; -+ MutableColData s(false); - while (*str != ',' && *str) { - s += *str; - str++; -@@ -20,7 +19,7 @@ void set2container (const char *str, Ins - } - - template --ostream& Set::out_stream (ostream &s) const { -+std::ostream& Set::out_stream (std::ostream &s) const { - typename Container::const_iterator i = begin(); - typename Container::const_iterator e = end(); - while (true) { diff --git a/devel/mysql++/patches/patch-sqlplusint_set_cc b/devel/mysql++/patches/patch-sqlplusint_set_cc deleted file mode 100644 index aa0e940db10..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_set_cc +++ /dev/null @@ -1,10 +0,0 @@ -$OpenBSD: patch-sqlplusint_set_cc,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/set.cc.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/set.cc 2004-01-05 00:08:39.000000000 +0100 -@@ -1,4 +1,6 @@ - - #include "set3.hh" - -+using namespace std; -+ - template class Set >; diff --git a/devel/mysql++/patches/patch-sqlplusint_sql_query1_hh b/devel/mysql++/patches/patch-sqlplusint_sql_query1_hh deleted file mode 100644 index c52d3a702a7..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_sql_query1_hh +++ /dev/null @@ -1,105 +0,0 @@ -$OpenBSD: patch-sqlplusint_sql_query1_hh,v 1.2 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/sql_query1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/sql_query1.hh 2004-01-04 23:50:11.000000000 +0100 -@@ -1,7 +1,7 @@ - #ifndef __sql_query_1_hh - #define __sql_query_1_hh - --#include -+#include - #include - #include - #include "define_short" -@@ -16,8 +16,8 @@ class SQLQuery; - - //: This class holds the parameter values for filling template queries. - // It is a subclass of a vector of *SQLStrings*. --class SQLQueryParms : public vector { -- friend Query; -+class SQLQueryParms : public std::vector { -+ friend class Query; - private: - typedef const SQLString& ss; - SQLQuery *parent; -@@ -28,10 +28,10 @@ public: - void clear() {erase(begin(),end());} //: Clears the list - SQLString &operator [] (size_type n) { - if (n >= size()) insert(end(),(n+1) - size(), ""); -- return vector::operator [] (n); -+ return std::vector::operator [] (n); - } //: Access element number n - const SQLString &operator [] (size_type n) const -- {return vector::operator [] (n);} -+ {return std::vector::operator [] (n);} - //: Access element number n - SQLString &operator [] (const char *str); - //: Access the value of the element with a key of str. -@@ -81,8 +81,8 @@ public: - enum query_reset {DONT_RESET, RESET_QUERY}; - - struct SQLParseElement { -- SQLParseElement(string b, char o, char n) : before(b),option(o),num(n) {} -- string before; -+ SQLParseElement(std::string b, char o, char n) : before(b),option(o),num(n) {} -+ std::string before; - char option; - char num; - }; -@@ -107,22 +107,22 @@ struct SQLParseElement { - // your query before you try to use any of the *SQLQuery* specific - // methods except for *error()* and *success()*. - --class SQLQuery : public strstream { -- friend SQLQueryParms; -+class SQLQuery : public std::stringstream { -+ friend class SQLQueryParms; - private: - char* preview_char(); - protected: -- bool Success; -+ bool Success_; - char* errmsg; -- vector parsed; -- vector parsed_names; -- map parsed_nums; -+ std::vector parsed; -+ std::vector parsed_names; -+ std::map parsed_nums; - typedef const SQLString& ss; - typedef SQLQueryParms parms; - void proc(parms &p); - - public: -- SQLQuery(): Success(false), errmsg(NULL), def(this) {parsed.empty(); parsed_names.empty(); parsed_nums.empty();} //: -+ SQLQuery(): Success_(false), errmsg(NULL), def(this) {parsed.empty(); parsed_names.empty(); parsed_nums.empty();} //: - SQLQuery(const SQLQuery &q); //: - SQLQuery& operator = (const SQLQuery &q); //: - -@@ -130,8 +130,8 @@ public: - - void parse(); - -- string error () const {return errmsg;} -- bool success() const {return Success;} -+ std::string error () const {return errmsg;} -+ bool success() const {return Success_;} - - operator bool () {return success();} - bool operator ! () {return !success();} -@@ -167,6 +167,7 @@ public: - - template SQLQuery& update(const T &o, const T &n) { - reset(); -+ enum sql_cmp_type {sql_use_compare}; - *this << "UPDATE " << o.table() << " SET " << n.equal_list() - << " WHERE " << o.equal_list(" AND ", sql_use_compare); - return *this; -@@ -184,7 +185,7 @@ public: - return *this; - } //: - -- mysql_query_define_const1(string,str) -+ mysql_query_define_const1(std::string,str) - }; - - #endif diff --git a/devel/mysql++/patches/patch-sqlplusint_sql_query_cc b/devel/mysql++/patches/patch-sqlplusint_sql_query_cc deleted file mode 100644 index 49f67236c3f..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_sql_query_cc +++ /dev/null @@ -1,64 +0,0 @@ -$OpenBSD: patch-sqlplusint_sql_query_cc,v 1.2 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/sql_query.cc.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/sql_query.cc 2004-01-05 00:10:32.000000000 +0100 -@@ -10,9 +10,11 @@ - #include "exceptions.hh" - //#include "result3.hh" - -+using namespace std; -+ - SQLQuery::SQLQuery(const SQLQuery &q) { - *this << q.str(); -- Success = q.Success; -+ Success_ = q.Success_; - def = q.def; - } - -@@ -20,7 +22,7 @@ SQLQuery::SQLQuery(const SQLQuery &q) { - SQLQuery& SQLQuery::operator = (const SQLQuery &q) { - reset(); - *this << q.str(); -- Success = q.Success; -+ Success_ = q.Success_; - def = q.def; - return *this; - } -@@ -35,17 +37,10 @@ void SQLQuery::reset() { - - char * SQLQuery::preview_char() { - *this << ends; --#ifdef __USLC__ -- strstreambuf *tmpbuf = rdbuf(); -- uint length = tmpbuf->pcount(); --#else -- uint length = pcount(); --#endif -- char *s = new char[length+1]; -- get(s, length, '\0'); -- seekg (0,ios::beg); -- seekp (-1,ios::cur); -- return s; -+ std::string s = this->str(); -+ seekg (0,std::ios::beg); -+ seekp (-1,std::ios::cur); -+ return (char*)s.c_str(); - } - - SQLString * pprepare (char option, SQLString &S, bool replace = true) { -@@ -99,15 +94,7 @@ string SQLQuery::str(const SQLQueryParms - SQLQuery *const_this = const_cast(this); - if (!parsed.empty()) const_this->proc(const_cast(p)); - *const_this << ends; --#ifdef __USLC__ -- strstreambuf *tmpbuf = const_this->rdbuf(); -- uint length = tmpbuf->pcount() + 1; -- char *s = new char[length]; --#else -- uint length = const_this->pcount() + 1; -- char s[length]; --#endif -- const_this->get(s, length, '\0'); -+ std::string s = this->str(); - const_this->seekg (0,ios::beg); - const_this->seekp (-1,ios::cur); - return string(s); diff --git a/devel/mysql++/patches/patch-sqlplusint_sql_string1_hh b/devel/mysql++/patches/patch-sqlplusint_sql_string1_hh deleted file mode 100644 index 842a376dfc6..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_sql_string1_hh +++ /dev/null @@ -1,32 +0,0 @@ -$OpenBSD: patch-sqlplusint_sql_string1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/sql_string1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/sql_string1.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -10,22 +10,22 @@ - // A class subclassed from string that has the additional ability to - // convert from any valid mysql type. - --class SQLString : public string { -+class SQLString : public std::string { - public: - bool is_string; - bool dont_escape; - bool processed; - - SQLString() : is_string(false) , processed(false) {} -- SQLString (const string& str) :string (str) -+ SQLString (const std::string& str) :std::string (str) - {is_string=true;processed=false;dont_escape=false;} -- SQLString (const char *str) :string (str) -+ SQLString (const char *str) :std::string (str) - {is_string=true;processed=false;dont_escape=false;} - SQLString& operator = (const char *str) { -- string::operator = (str); return *this; -+ std::string::operator = (str); return *this; - } -- SQLString& operator = (const string& str) { -- string::operator = (str); return *this; -+ SQLString& operator = (const std::string& str) { -+ std::string::operator = (str); return *this; - } - SQLString (char i) : is_string(false), processed(false) - {char s[6]; sprintf(s,"%dh",(short int)i); *this=s;} diff --git a/devel/mysql++/patches/patch-sqlplusint_stream2string3_hh b/devel/mysql++/patches/patch-sqlplusint_stream2string3_hh deleted file mode 100644 index eb4880b0833..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_stream2string3_hh +++ /dev/null @@ -1,29 +0,0 @@ -$OpenBSD: patch-sqlplusint_stream2string3_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/stream2string3.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/stream2string3.hh 2004-01-04 23:27:18.000000000 +0100 -@@ -1,21 +1,14 @@ - #ifndef __stream2string3_hh__ - #define __stream2string3_hh__ - --#include -+#include - - template - Strng stream2string(const T &object) { -- ostrstream str; -+ std::ostringstream str; - object.out_stream(str); -- str << ends; -- Strng s = str.str(); --#ifdef __USLC__ -- strstreambuf *tmpbuf = str.rdbuf(); -- tmpbuf->freeze(0); --#else -- str.freeze(0); --#endif -- return s; -+ str << std::ends; -+ return str.str(); - } - - #endif diff --git a/devel/mysql++/patches/patch-sqlplusint_string_util_cc b/devel/mysql++/patches/patch-sqlplusint_string_util_cc deleted file mode 100644 index ea1efa40eb9..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_string_util_cc +++ /dev/null @@ -1,21 +0,0 @@ -$OpenBSD: patch-sqlplusint_string_util_cc,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/string_util.cc.orig 2001-05-19 18:44:49.000000000 +0200 -+++ sqlplusint/string_util.cc 2004-01-04 23:25:47.000000000 +0100 -@@ -1,7 +1,7 @@ - #include - - --void strip (string& s) { -+void strip (std::string& s) { - int i,j = s.size() - 1; if (!s.size()) return; - for (i = 0; s[i] == ' ';i++); - if (i) s.erase(0,i); j = s.size(); if (!j) return; j--; -@@ -9,7 +9,7 @@ void strip (string& s) { - if (i != j) s.erase(i+1,(size_t)-1); - } - --void escape_string (string& s) { -+void escape_string (std::string& s) { - if (!s.size()) return; - for (unsigned int i = 0;i - #include - --extern void strip (string& s); // Strips blanks at left and right ends -+extern void strip (std::string& s); // Strips blanks at left and right ends - --extern void escape_string (string& s); // C++ equivalent of mysql_escape_string -+extern void escape_string (std::string& s); // C++ equivalent of mysql_escape_string - --inline void str_to_upr (string& s) { // Changes case of string to upper -+inline void str_to_upr (std::string& s) { // Changes case of string to upper - for (unsigned int cnt=0; cnt < s.length(); cnt++) { - char c = s[cnt]; s[cnt]=toupper(c); - } - } - --inline void str_to_lwr (string& s) { // Changes case of string to lower -+inline void str_to_lwr (std::string& s) { // Changes case of string to lower - for (unsigned int cnt=0; cnt < s.length(); cnt++) { - char c = s[cnt]; s[cnt]=tolower(c); - } - } - --inline void strip_all_blanks (string& s) { // Removes all blanks -+inline void strip_all_blanks (std::string& s) { // Removes all blanks - for (unsigned int counter=0;counter < s.size();counter++) - if (s[counter] == ' ') { s.erase(counter,1); counter--;} - } - --inline void strip_all_non_num (string& s) { // Removes all non-numerics -+inline void strip_all_non_num (std::string& s) { // Removes all non-numerics - for (unsigned int counter=0;counter < s.size();counter++) - if (!isdigit(s[counter])) { s.erase(counter,1); counter--;} - } diff --git a/devel/mysql++/patches/patch-sqlplusint_type_info1_hh b/devel/mysql++/patches/patch-sqlplusint_type_info1_hh deleted file mode 100644 index 68cd7fae13f..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_type_info1_hh +++ /dev/null @@ -1,122 +0,0 @@ -$OpenBSD: patch-sqlplusint_type_info1_hh,v 1.2 2004/12/14 17:40:44 espie Exp $ ---- sqlplusint/type_info1.hh.orig Sat May 19 18:44:48 2001 -+++ sqlplusint/type_info1.hh Tue Dec 14 18:38:33 2004 -@@ -11,49 +11,45 @@ - #include - #include - --#ifdef __USLC__ --using namespace std; --#endif -- - class mysql_type_info; - class mysql_ti_sql_type_info_lookup; - - class mysql_ti_sql_type_info { -- friend mysql_type_info; -- friend mysql_ti_sql_type_info_lookup; -+ friend class mysql_type_info; -+ friend class mysql_ti_sql_type_info_lookup; - private: - const char *_sql_name; -- const type_info *_c_type; -+ const std::type_info *_c_type; - const unsigned char _base_type; - const bool _default; -- mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b); // can't do -+ // mysql_ti_sql_type_info (const mysql_ti_sql_type_info &b); // can't do - mysql_ti_sql_type_info& operator=(const mysql_ti_sql_type_info &b); // " " -- mysql_ti_sql_type_info () {} -+ mysql_ti_sql_type_info () : _base_type(0), _default(false) {} - // OEP - didn't init _base_type and _default mysql_ti_sql_type_info () {} - // all private, only mysql_type_info can - // create because there *must* be only one copy - // of each. -- mysql_ti_sql_type_info (const char *s, const type_info &t, -+ mysql_ti_sql_type_info (const char *s, const std::type_info &t, - const unsigned char bt = 0, const bool d = false ) - : _sql_name(s), _c_type(&t), _base_type(bt), _default(d) {} - }; - - struct type_info_cmp { -- bool operator() (const type_info *lhs, const type_info *rhs) const { -+ bool operator() (const std::type_info *lhs, const std::type_info *rhs) const { - return lhs->before(*rhs); - } - }; - - class mysql_ti_sql_type_info_lookup { -- friend mysql_type_info; -+ friend class mysql_type_info; - private: - typedef mysql_ti_sql_type_info sql_type_info; - -- map _map; -+ std::map _map; - - mysql_ti_sql_type_info_lookup(const sql_type_info types[], const int size); - -- const unsigned char& operator [] (const type_info &ti) const { -+ const unsigned char& operator [] (const std::type_info &ti) const { - return _map.find(&ti)->second; - } - }; -@@ -94,14 +90,14 @@ public: - //: - mysql_type_info(const mysql_type_info &t) : num(t.num) {} - //: -- mysql_type_info(const type_info &t) {num = lookups[t]; } -+ mysql_type_info(const std::type_info &t) {num = lookups[t]; } - //: - mysql_type_info& operator = (unsigned char n) {num=n; return *this;} - //: - mysql_type_info& operator = (const mysql_type_info &t) - {num = t.num; return *this;} - //: -- mysql_type_info& operator = (const type_info &t) -+ mysql_type_info& operator = (const std::type_info &t) - {num = lookups[t]; return *this;} - //: - inline const char* name() const; -@@ -110,7 +106,7 @@ public: - // associated with the sql type. - inline const char* sql_name() const; - //: Returns the name for the sql type. -- inline const type_info& c_type() const; -+ inline const std::type_info& c_type() const; - inline const unsigned int length() const; - inline const unsigned int max_length() const; - //: Returns the type_info for the C++ type associated with the sql type. -@@ -146,7 +142,7 @@ inline const unsigned int mysql_type_ - inline const unsigned int mysql_type_info::max_length() const { - return _max_length; - } --inline const type_info& mysql_type_info::c_type() const { -+inline const std::type_info& mysql_type_info::c_type() const { - return *deref()._c_type; - } - inline const mysql_type_info mysql_type_info::base_type() const -@@ -172,19 +168,19 @@ inline bool operator != (const mysql_typ - return a.id() != b.id(); - } - --inline bool operator == (const type_info &a, const mysql_type_info &b) { -+inline bool operator == (const std::type_info &a, const mysql_type_info &b) { - return a == b.c_type(); - } - --inline bool operator != (const type_info &a, const mysql_type_info &b) { -+inline bool operator != (const std::type_info &a, const mysql_type_info &b) { - return a != b.c_type(); - } - --inline bool operator == (const mysql_type_info &a, const type_info &b) { -+inline bool operator == (const mysql_type_info &a, const std::type_info &b) { - return a.c_type() == b; - } - --inline bool operator != (const mysql_type_info &a, const type_info &b) { -+inline bool operator != (const mysql_type_info &a, const std::type_info &b) { - return a.c_type() != b; - } - diff --git a/devel/mysql++/patches/patch-sqlplusint_type_info_cc b/devel/mysql++/patches/patch-sqlplusint_type_info_cc deleted file mode 100644 index 3236e0e3df7..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_type_info_cc +++ /dev/null @@ -1,17 +0,0 @@ -$OpenBSD: patch-sqlplusint_type_info_cc,v 1.2 2004/12/14 17:40:44 espie Exp $ ---- sqlplusint/type_info.cc.orig Sat May 19 18:44:48 2001 -+++ sqlplusint/type_info.cc Tue Dec 14 18:30:58 2004 -@@ -5,10 +5,12 @@ - #include - #endif - #include --#include -+#include - #include "datetime1.hh" - #include "set1.hh" - #include "type_info3.hh" -+ -+using namespace std; - - typedef string Enum; - diff --git a/devel/mysql++/patches/patch-sqlplusint_vallist1_hh b/devel/mysql++/patches/patch-sqlplusint_vallist1_hh deleted file mode 100644 index 93ba5ad626b..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_vallist1_hh +++ /dev/null @@ -1,169 +0,0 @@ -$OpenBSD: patch-sqlplusint_vallist1_hh,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/vallist1.hh.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/vallist1.hh 2004-01-04 23:25:47.000000000 +0100 -@@ -8,10 +8,10 @@ - template - struct value_list_b { - const Seq *list; -- const vector fields; -+ const std::vector fields; - const char *delem; - Manip manip; -- value_list_b(const Seq &s, const vector &f, const char *d, Manip m) -+ value_list_b(const Seq &s, const std::vector &f, const char *d, Manip m) - : list(&s), fields(f), delem(d), manip(m) {} - }; - -@@ -19,11 +19,11 @@ template fields; -+ const std::vector fields; - const char *delem; - const char *equl; - Manip manip; -- equal_list_b(const Seq1 &s1, const Seq2 &s2, const vector &f, -+ equal_list_b(const Seq1 &s1, const Seq2 &s2, const std::vector &f, - const char *d, const char *e, Manip m) - : list1(&s1), list2(&s2), fields(f), delem(d), equl(e), manip(m) {} - }; -@@ -52,7 +52,7 @@ struct equal_list_ba { - // - - template --ostream& operator << (ostream &o, const value_list_b &cl) { -+std::ostream& operator << (std::ostream &o, const value_list_b &cl) { - typename Seq::const_iterator i = cl.list->begin(); - register int k = 0; - for (;;) { -@@ -67,7 +67,7 @@ ostream& operator << (ostream &o, const - } - - template --ostream& operator << (ostream &o, const equal_list_b &el) { -+std::ostream& operator << (std::ostream &o, const equal_list_b &el) { - typename Seq1::const_iterator i = el.list1->begin(); - typename Seq2::const_iterator j = el.list2->begin(); - register int k = 0; -@@ -84,7 +84,7 @@ ostream& operator << (ostream &o, const - } - - template --ostream& operator << (ostream &o, const value_list_ba &cl) { -+std::ostream& operator << (std::ostream &o, const value_list_ba &cl) { - typename Seq::const_iterator i = cl.list->begin(); - for (;;) { - o << cl.manip << *i; -@@ -95,7 +95,7 @@ ostream& operator << (ostream &o, const - } - - template --ostream& operator << (ostream &o, const equal_list_ba &el) { -+std::ostream& operator << (std::ostream &o, const equal_list_ba &el) { - typename Seq1::const_iterator i = el.list1->begin(); - typename Seq2::const_iterator j = el.list2->begin(); - for (;;) { -@@ -123,16 +123,16 @@ public: - // create vector - // - --void create_vector(int size, vector& v, bool t0, -+void create_vector(int size, std::vector& v, bool t0, - bool t1=false, bool t2=false, bool t3=false, bool t4=false, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false); - - template --void create_vector(const Container&c, vector&v, string s0, string s1, -- string s2, string s3, string s4, string s5, string s6, -- string s7, string s8, string s9, string sa, string sb, -- string sc); -+void create_vector(const Container&c, std::vector&v, std::string s0, std::string s1, -+ std::string s2, std::string s3, std::string s4, std::string s5, std::string s6, -+ std::string s7, std::string s8, std::string s9, std::string sa, std::string sb, -+ std::string sc); - - // - // value list -@@ -155,7 +155,7 @@ value_list(const Seq &s, const char *d, - template - inline - value_list_b --value_list(const Seq &s, const char *d, Manip m, const vector &vb) -+value_list(const Seq &s, const char *d, Manip m, const std::vector &vb) - { - return value_list_b(s, vb, d, m); - } -@@ -167,7 +167,7 @@ value_list(const Seq &s, const char *d, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) - { -- vector vb; -+ std::vector vb; - create_vector(s.size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b(s, vb, d, m); - } -@@ -179,7 +179,7 @@ value_list(const Seq &s, const char *d, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) - { -- vector vb; -+ std::vector vb; - create_vector(s.size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b (s, vb, d, do_nothing); - } -@@ -191,7 +191,7 @@ value_list(const Seq &s, bool t0, - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) - { -- vector vb; -+ std::vector vb; - create_vector(s.size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return value_list_b (s, vb, ",",do_nothing); - } -@@ -220,7 +220,7 @@ template - equal_list(const Seq1 &s1, const Seq2 &s2, const char *d, const char *e, -- Manip m, const vector &vb) -+ Manip m, const std::vector &vb) - { - return equal_list_b(s1, s2, vb, d, e, m); - } -@@ -234,7 +234,7 @@ equal_list(const Seq1 &s1, const Seq2 &s - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) - { -- vector vb; -+ std::vector vb; - create_vector(s1.size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return equal_list_b(s1, s2, vb, d, e, m); - } -@@ -248,7 +248,7 @@ equal_list(const Seq1 &s1, const Seq2 &s - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) - { -- vector vb; -+ std::vector vb; - create_vector(s1.size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return equal_list_b - (s1, s2, vb, d, e, do_nothing); -@@ -262,7 +262,7 @@ equal_list(const Seq1 &s1, const Seq2 &s - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) - { -- vector vb; -+ std::vector vb; - create_vector(s1.size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return equal_list_b - (s1, s2, vb, d, " = ", do_nothing); -@@ -276,7 +276,7 @@ equal_list(const Seq1 &s1, const Seq2 &s - bool t5=false, bool t6=false, bool t7=false, bool t8=false, - bool t9=false, bool ta=false, bool tb=false, bool tc=false) - { -- vector vb; -+ std::vector vb; - create_vector(s1.size(), vb, t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,ta,tb,tc); - return equal_list_b - (s1, s2, vb,"," ," = " ,do_nothing); diff --git a/devel/mysql++/patches/patch-sqlplusint_vallist_cc b/devel/mysql++/patches/patch-sqlplusint_vallist_cc deleted file mode 100644 index f1d98cc5470..00000000000 --- a/devel/mysql++/patches/patch-sqlplusint_vallist_cc +++ /dev/null @@ -1,31 +0,0 @@ -$OpenBSD: patch-sqlplusint_vallist_cc,v 1.1 2004/01/06 11:16:53 wilfried Exp $ ---- sqlplusint/vallist.cc.orig 2001-05-19 18:44:48.000000000 +0200 -+++ sqlplusint/vallist.cc 2004-01-04 23:25:47.000000000 +0100 -@@ -1,7 +1,7 @@ - #include "vallist3.hh" - #include "row2.hh" -- --void create_vector(int size, vector& v, bool t0, -+using std::string; -+void create_vector(int size, std::vector& v, bool t0, - bool t1, bool t2, bool t3, bool t4, - bool t5, bool t6, bool t7, bool t8, - bool t9, bool ta, bool tb, bool tc) -@@ -23,7 +23,7 @@ void create_vector(int size, vector --void create_vector(const Container&c, vector&v, string s0, string s1, -+void create_vector(const Container&c, std::vector&v, string s0, string s1, - string s2, string s3, string s4, string s5, string s6, - string s7, string s8, string s9, string sa, string sb, - string sc) -@@ -44,7 +44,7 @@ void create_vector(const Container&c, ve - v[c.parent().field_num(sc)] = true; - } - --template void create_vector (const Row &c, vector&v, string s0, string s1, -+template void create_vector (const Row &c, std::vector&v, string s0, string s1, - string s2, string s3, string s4, string s5, string s6, - string s7, string s8, string s9, string sa, string sb, - string sc); diff --git a/devel/mysql++/pkg/DESCR b/devel/mysql++/pkg/DESCR index 7640056d7c9..1780d55b770 100644 --- a/devel/mysql++/pkg/DESCR +++ b/devel/mysql++/pkg/DESCR @@ -1,3 +1,6 @@ -MySQL++ is a C++ API for MySQL (and other SQL Databases Soon). The -goal of this API is to make working with queries as easy as working -with other STL Containers. +MySQL++ is a C++ wrapper for MySQL's C API. It is built around STL +principles, to make dealing with the database as easy as dealing +with an STL container. MySQL++ relieves the programmer of dealing +with cumbersome C data structures, generation of repetitive SQL +statements, and manual creation of C++ data structures to mirror +the database schema. diff --git a/devel/mysql++/pkg/PFRAG.shared b/devel/mysql++/pkg/PFRAG.shared index e498e34ab85..3eed2af3a7c 100644 --- a/devel/mysql++/pkg/PFRAG.shared +++ b/devel/mysql++/pkg/PFRAG.shared @@ -1,2 +1,2 @@ -@comment $OpenBSD: PFRAG.shared,v 1.2 2004/08/10 00:52:45 espie Exp $ -@lib lib/libsqlplus.so.1.7 +@comment $OpenBSD: PFRAG.shared,v 1.3 2005/10/07 13:24:53 wilfried Exp $ +@lib lib/libmysqlpp.so.2.6 diff --git a/devel/mysql++/pkg/PLIST b/devel/mysql++/pkg/PLIST index 0f45a50303e..f45719c3044 100644 --- a/devel/mysql++/pkg/PLIST +++ b/devel/mysql++/pkg/PLIST @@ -1,79 +1,35 @@ -@comment $OpenBSD: PLIST,v 1.3 2004/08/10 00:52:45 espie Exp $ -include/mysql++/ -include/mysql++/coldata1.hh -include/mysql++/coldata2.hh -include/mysql++/coldata3.hh -include/mysql++/coldata4.hh -include/mysql++/compare1.hh -include/mysql++/compare2.hh -include/mysql++/compare3.hh -include/mysql++/connection0.hh -include/mysql++/connection1.hh -include/mysql++/connection2.hh -include/mysql++/connection3.hh -include/mysql++/const_string1.hh -include/mysql++/const_string2.hh -include/mysql++/const_string3.hh -include/mysql++/convert1.hh -include/mysql++/convert2.hh -include/mysql++/convert3.hh -include/mysql++/custom-macros.hh -include/mysql++/custom.hh -include/mysql++/datetime1.hh -include/mysql++/datetime2.hh -include/mysql++/datetime3.hh -include/mysql++/define_short -include/mysql++/defs -include/mysql++/exceptions.hh -include/mysql++/field_names1.hh -include/mysql++/field_names2.hh -include/mysql++/field_names3.hh -include/mysql++/field_types1.hh -include/mysql++/field_types2.hh -include/mysql++/field_types3.hh -include/mysql++/fields1.hh -include/mysql++/fields2.hh -include/mysql++/manip1.hh -include/mysql++/manip2.hh -include/mysql++/manip3.hh -include/mysql++/mysql++ -include/mysql++/null1.hh -include/mysql++/null2.hh -include/mysql++/null3.hh -include/mysql++/query1.hh -include/mysql++/query2.hh -include/mysql++/query3.hh -include/mysql++/resiter1.hh -include/mysql++/result1.hh -include/mysql++/result2.hh -include/mysql++/result3.hh -include/mysql++/row1.hh -include/mysql++/row2.hh -include/mysql++/row3.hh -include/mysql++/set1.hh -include/mysql++/set2.hh -include/mysql++/set3.hh -include/mysql++/sql_query0.hh -include/mysql++/sql_query1.hh -include/mysql++/sql_query2.hh -include/mysql++/sql_query3.hh -include/mysql++/sql_string1.hh -include/mysql++/sql_string2.hh -include/mysql++/sql_string3.hh -include/mysql++/sqlplus.hh -include/mysql++/stream2string1.hh -include/mysql++/stream2string2.hh -include/mysql++/stream2string3.hh -include/mysql++/string_util.hh -include/mysql++/tiny_int1.hh -include/mysql++/tiny_int2.hh -include/mysql++/tiny_int3.hh -include/mysql++/type_info1.hh -include/mysql++/type_info2.hh -include/mysql++/type_info3.hh -include/mysql++/vallist1.hh -include/mysql++/vallist2.hh -include/mysql++/vallist3.hh -lib/libsqlplus.a -lib/libsqlplus.la +@comment $OpenBSD: PLIST,v 1.4 2005/10/07 13:24:53 wilfried Exp $ %%SHARED%% +include/mysql++/ +include/mysql++/coldata.h +include/mysql++/compare.h +include/mysql++/connection.h +include/mysql++/const_string.h +include/mysql++/convert.h +include/mysql++/custom-macros.h +include/mysql++/custom.h +include/mysql++/datetime.h +include/mysql++/defs.h +include/mysql++/exceptions.h +include/mysql++/field_names.h +include/mysql++/field_types.h +include/mysql++/fields.h +include/mysql++/lockable.h +include/mysql++/manip.h +include/mysql++/myset.h +include/mysql++/mysql++.h +include/mysql++/noexceptions.h +include/mysql++/null.h +include/mysql++/platform.h +include/mysql++/qparms.h +include/mysql++/query.h +include/mysql++/resiter.h +include/mysql++/result.h +include/mysql++/row.h +include/mysql++/sql_string.h +include/mysql++/stream2string.h +include/mysql++/string_util.h +include/mysql++/tiny_int.h +include/mysql++/type_info.h +include/mysql++/vallist.h +lib/libmysqlpp.la diff --git a/devel/mysql++/pkg/PLIST-docs b/devel/mysql++/pkg/PLIST-docs index c738c103755..7d179d9a538 100644 --- a/devel/mysql++/pkg/PLIST-docs +++ b/devel/mysql++/pkg/PLIST-docs @@ -1,35 +1,355 @@ -@comment $OpenBSD: PLIST-docs,v 1.3 2004/08/10 00:52:45 espie Exp $ +@comment $OpenBSD: PLIST-docs,v 1.4 2005/10/07 13:24:53 wilfried Exp $ share/doc/mysql++/ -share/doc/mysql++/html/ -share/doc/mysql++/html/1_Introduction.html -share/doc/mysql++/html/2_Overview.html -share/doc/mysql++/html/3_Important.html -share/doc/mysql++/html/4_Tutorial.html -share/doc/mysql++/html/5_Class.html -@comment share/doc/mysql++/html/5_Class.html.orig -share/doc/mysql++/html/6_Template.html -share/doc/mysql++/html/7_Specialized.html -share/doc/mysql++/html/8_Long.html -share/doc/mysql++/html/A_Changelog.html -share/doc/mysql++/html/About_this.html -share/doc/mysql++/html/Appendices.html -share/doc/mysql++/html/B_Do.html -share/doc/mysql++/html/C_Credits.html -share/doc/mysql++/html/Contents.html -share/doc/mysql++/html/D_Copyright.html -share/doc/mysql++/html/E_Feedback.html -share/doc/mysql++/html/Introductory_Material.html -share/doc/mysql++/html/Usage.html -share/doc/mysql++/html/WARNINGS -share/doc/mysql++/html/contents.png -share/doc/mysql++/html/index.html -share/doc/mysql++/html/internals.pl -share/doc/mysql++/html/labels.pl -share/doc/mysql++/html/manual.css -share/doc/mysql++/html/manual.html -share/doc/mysql++/html/next.png -share/doc/mysql++/html/next_g.png -share/doc/mysql++/html/prev.png -share/doc/mysql++/html/prev_g.png -share/doc/mysql++/html/up.png -share/doc/mysql++/html/up_g.png +share/doc/mysql++/refman/ +share/doc/mysql++/refman/_header.html +share/doc/mysql++/refman/annotated.html +share/doc/mysql++/refman/classmysqlpp_1_1BadConversion-members.html +share/doc/mysql++/refman/classmysqlpp_1_1BadConversion.html +share/doc/mysql++/refman/classmysqlpp_1_1BadConversion__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadConversion__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadFieldName-members.html +share/doc/mysql++/refman/classmysqlpp_1_1BadFieldName.html +share/doc/mysql++/refman/classmysqlpp_1_1BadFieldName__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadFieldName__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadNullConversion-members.html +share/doc/mysql++/refman/classmysqlpp_1_1BadNullConversion.html +share/doc/mysql++/refman/classmysqlpp_1_1BadNullConversion__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadNullConversion__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadOption-members.html +share/doc/mysql++/refman/classmysqlpp_1_1BadOption.html +share/doc/mysql++/refman/classmysqlpp_1_1BadOption__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadOption__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadParamCount-members.html +share/doc/mysql++/refman/classmysqlpp_1_1BadParamCount.html +share/doc/mysql++/refman/classmysqlpp_1_1BadParamCount__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadParamCount__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadQuery-members.html +share/doc/mysql++/refman/classmysqlpp_1_1BadQuery.html +share/doc/mysql++/refman/classmysqlpp_1_1BadQuery__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BadQuery__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BasicLock-members.html +share/doc/mysql++/refman/classmysqlpp_1_1BasicLock.html +share/doc/mysql++/refman/classmysqlpp_1_1BasicLock__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1BasicLock__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1ColData__Tmpl-members.html +share/doc/mysql++/refman/classmysqlpp_1_1ColData__Tmpl.html +share/doc/mysql++/refman/classmysqlpp_1_1ColData__Tmpl__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Connection-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Connection.html +share/doc/mysql++/refman/classmysqlpp_1_1ConnectionFailed-members.html +share/doc/mysql++/refman/classmysqlpp_1_1ConnectionFailed.html +share/doc/mysql++/refman/classmysqlpp_1_1ConnectionFailed__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1ConnectionFailed__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Connection__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Connection__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1DBSelectionFailed-members.html +share/doc/mysql++/refman/classmysqlpp_1_1DBSelectionFailed.html +share/doc/mysql++/refman/classmysqlpp_1_1DBSelectionFailed__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1DBSelectionFailed__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1EndOfResultSets-members.html +share/doc/mysql++/refman/classmysqlpp_1_1EndOfResultSets.html +share/doc/mysql++/refman/classmysqlpp_1_1EndOfResultSets__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1EndOfResultSets__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1EndOfResults-members.html +share/doc/mysql++/refman/classmysqlpp_1_1EndOfResults.html +share/doc/mysql++/refman/classmysqlpp_1_1EndOfResults__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1EndOfResults__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Exception-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Exception.html +share/doc/mysql++/refman/classmysqlpp_1_1Exception__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Exception__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1FieldNames-members.html +share/doc/mysql++/refman/classmysqlpp_1_1FieldNames.html +share/doc/mysql++/refman/classmysqlpp_1_1FieldTypes-members.html +share/doc/mysql++/refman/classmysqlpp_1_1FieldTypes.html +share/doc/mysql++/refman/classmysqlpp_1_1Fields-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Fields.html +share/doc/mysql++/refman/classmysqlpp_1_1Fields__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Fields__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Lock-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Lock.html +share/doc/mysql++/refman/classmysqlpp_1_1LockFailed-members.html +share/doc/mysql++/refman/classmysqlpp_1_1LockFailed.html +share/doc/mysql++/refman/classmysqlpp_1_1LockFailed__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1LockFailed__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Lock__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Lockable-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Lockable.html +share/doc/mysql++/refman/classmysqlpp_1_1Lockable__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Lockable__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1MysqlCmp-members.html +share/doc/mysql++/refman/classmysqlpp_1_1MysqlCmp.html +share/doc/mysql++/refman/classmysqlpp_1_1MysqlCmpCStr-members.html +share/doc/mysql++/refman/classmysqlpp_1_1MysqlCmpCStr.html +share/doc/mysql++/refman/classmysqlpp_1_1MysqlCmpCStr__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1MysqlCmpCStr__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1MysqlCmp__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1MysqlCmp__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1NoExceptions-members.html +share/doc/mysql++/refman/classmysqlpp_1_1NoExceptions.html +share/doc/mysql++/refman/classmysqlpp_1_1NoExceptions__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Null-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Null.html +share/doc/mysql++/refman/classmysqlpp_1_1Null__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1ObjectNotInitialized-members.html +share/doc/mysql++/refman/classmysqlpp_1_1ObjectNotInitialized.html +share/doc/mysql++/refman/classmysqlpp_1_1ObjectNotInitialized__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1ObjectNotInitialized__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1OptionalExceptions-members.html +share/doc/mysql++/refman/classmysqlpp_1_1OptionalExceptions.html +share/doc/mysql++/refman/classmysqlpp_1_1OptionalExceptions__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Query-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Query.html +share/doc/mysql++/refman/classmysqlpp_1_1Query__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Query__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1ResNSel-members.html +share/doc/mysql++/refman/classmysqlpp_1_1ResNSel.html +share/doc/mysql++/refman/classmysqlpp_1_1ResNSel__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1ResUse-members.html +share/doc/mysql++/refman/classmysqlpp_1_1ResUse.html +share/doc/mysql++/refman/classmysqlpp_1_1ResUse__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1ResUse__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Result-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Result.html +share/doc/mysql++/refman/classmysqlpp_1_1Result__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Result__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Row-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Row.html +share/doc/mysql++/refman/classmysqlpp_1_1Row__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1Row__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1SQLQueryParms-members.html +share/doc/mysql++/refman/classmysqlpp_1_1SQLQueryParms.html +share/doc/mysql++/refman/classmysqlpp_1_1SQLQueryParms__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1SQLString-members.html +share/doc/mysql++/refman/classmysqlpp_1_1SQLString.html +share/doc/mysql++/refman/classmysqlpp_1_1Set-members.html +share/doc/mysql++/refman/classmysqlpp_1_1Set.html +share/doc/mysql++/refman/classmysqlpp_1_1const__string-members.html +share/doc/mysql++/refman/classmysqlpp_1_1const__string.html +share/doc/mysql++/refman/classmysqlpp_1_1const__subscript__container-members.html +share/doc/mysql++/refman/classmysqlpp_1_1const__subscript__container.html +share/doc/mysql++/refman/classmysqlpp_1_1const__subscript__container__inherit__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1mysql__type__info-members.html +share/doc/mysql++/refman/classmysqlpp_1_1mysql__type__info.html +share/doc/mysql++/refman/classmysqlpp_1_1null__type.html +share/doc/mysql++/refman/classmysqlpp_1_1scoped__var__set-members.html +share/doc/mysql++/refman/classmysqlpp_1_1scoped__var__set.html +share/doc/mysql++/refman/classmysqlpp_1_1scoped__var__set__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1subscript__iterator-members.html +share/doc/mysql++/refman/classmysqlpp_1_1subscript__iterator.html +share/doc/mysql++/refman/classmysqlpp_1_1subscript__iterator__coll__graph.png +share/doc/mysql++/refman/classmysqlpp_1_1tiny__int-members.html +share/doc/mysql++/refman/classmysqlpp_1_1tiny__int.html +share/doc/mysql++/refman/coldata_8h-source.html +share/doc/mysql++/refman/coldata_8h.html +share/doc/mysql++/refman/coldata_8h__dep__incl.png +share/doc/mysql++/refman/coldata_8h__incl.png +share/doc/mysql++/refman/compare_8h-source.html +share/doc/mysql++/refman/compare_8h.html +share/doc/mysql++/refman/compare_8h__dep__incl.png +share/doc/mysql++/refman/compare_8h__incl.png +share/doc/mysql++/refman/connection_8h-source.html +share/doc/mysql++/refman/connection_8h.html +share/doc/mysql++/refman/connection_8h__dep__incl.png +share/doc/mysql++/refman/connection_8h__incl.png +share/doc/mysql++/refman/const__string_8h-source.html +share/doc/mysql++/refman/const__string_8h.html +share/doc/mysql++/refman/const__string_8h__dep__incl.png +share/doc/mysql++/refman/const__string_8h__incl.png +share/doc/mysql++/refman/convert_8h-source.html +share/doc/mysql++/refman/convert_8h.html +share/doc/mysql++/refman/convert_8h__dep__incl.png +share/doc/mysql++/refman/convert_8h__incl.png +share/doc/mysql++/refman/datetime_8h-source.html +share/doc/mysql++/refman/datetime_8h.html +share/doc/mysql++/refman/datetime_8h__dep__incl.png +share/doc/mysql++/refman/datetime_8h__incl.png +share/doc/mysql++/refman/defs_8h-source.html +share/doc/mysql++/refman/defs_8h.html +share/doc/mysql++/refman/defs_8h__dep__incl.png +share/doc/mysql++/refman/defs_8h__incl.png +share/doc/mysql++/refman/doxygen.css +share/doc/mysql++/refman/doxygen.png +share/doc/mysql++/refman/exceptions_8h-source.html +share/doc/mysql++/refman/exceptions_8h.html +share/doc/mysql++/refman/exceptions_8h__dep__incl.png +share/doc/mysql++/refman/exceptions_8h__incl.png +share/doc/mysql++/refman/field__names_8h-source.html +share/doc/mysql++/refman/field__names_8h.html +share/doc/mysql++/refman/field__names_8h__dep__incl.png +share/doc/mysql++/refman/field__names_8h__incl.png +share/doc/mysql++/refman/field__types_8h-source.html +share/doc/mysql++/refman/field__types_8h.html +share/doc/mysql++/refman/field__types_8h__dep__incl.png +share/doc/mysql++/refman/field__types_8h__incl.png +share/doc/mysql++/refman/fields_8h-source.html +share/doc/mysql++/refman/fields_8h.html +share/doc/mysql++/refman/fields_8h__dep__incl.png +share/doc/mysql++/refman/fields_8h__incl.png +share/doc/mysql++/refman/files.html +share/doc/mysql++/refman/functions.html +share/doc/mysql++/refman/globals.html +share/doc/mysql++/refman/graph_legend.html +share/doc/mysql++/refman/graph_legend.png +share/doc/mysql++/refman/hierarchy.html +share/doc/mysql++/refman/index.html +share/doc/mysql++/refman/inherit__graph__0.png +share/doc/mysql++/refman/inherit__graph__1.png +share/doc/mysql++/refman/inherit__graph__10.png +share/doc/mysql++/refman/inherit__graph__11.png +share/doc/mysql++/refman/inherit__graph__12.png +share/doc/mysql++/refman/inherit__graph__13.png +share/doc/mysql++/refman/inherit__graph__14.png +share/doc/mysql++/refman/inherit__graph__15.png +share/doc/mysql++/refman/inherit__graph__16.png +share/doc/mysql++/refman/inherit__graph__17.png +share/doc/mysql++/refman/inherit__graph__18.png +share/doc/mysql++/refman/inherit__graph__19.png +share/doc/mysql++/refman/inherit__graph__2.png +share/doc/mysql++/refman/inherit__graph__20.png +share/doc/mysql++/refman/inherit__graph__21.png +share/doc/mysql++/refman/inherit__graph__22.png +share/doc/mysql++/refman/inherit__graph__23.png +share/doc/mysql++/refman/inherit__graph__24.png +share/doc/mysql++/refman/inherit__graph__25.png +share/doc/mysql++/refman/inherit__graph__26.png +share/doc/mysql++/refman/inherit__graph__27.png +share/doc/mysql++/refman/inherit__graph__28.png +share/doc/mysql++/refman/inherit__graph__29.png +share/doc/mysql++/refman/inherit__graph__3.png +share/doc/mysql++/refman/inherit__graph__30.png +share/doc/mysql++/refman/inherit__graph__31.png +share/doc/mysql++/refman/inherit__graph__32.png +share/doc/mysql++/refman/inherit__graph__33.png +share/doc/mysql++/refman/inherit__graph__34.png +share/doc/mysql++/refman/inherit__graph__35.png +share/doc/mysql++/refman/inherit__graph__36.png +share/doc/mysql++/refman/inherit__graph__37.png +share/doc/mysql++/refman/inherit__graph__38.png +share/doc/mysql++/refman/inherit__graph__4.png +share/doc/mysql++/refman/inherit__graph__5.png +share/doc/mysql++/refman/inherit__graph__6.png +share/doc/mysql++/refman/inherit__graph__7.png +share/doc/mysql++/refman/inherit__graph__8.png +share/doc/mysql++/refman/inherit__graph__9.png +share/doc/mysql++/refman/inherits.html +share/doc/mysql++/refman/lockable_8h-source.html +share/doc/mysql++/refman/lockable_8h.html +share/doc/mysql++/refman/lockable_8h__dep__incl.png +share/doc/mysql++/refman/manip_8h-source.html +share/doc/mysql++/refman/manip_8h.html +share/doc/mysql++/refman/manip_8h__dep__incl.png +share/doc/mysql++/refman/manip_8h__incl.png +share/doc/mysql++/refman/myset_8h-source.html +share/doc/mysql++/refman/myset_8h.html +share/doc/mysql++/refman/myset_8h__dep__incl.png +share/doc/mysql++/refman/myset_8h__incl.png +share/doc/mysql++/refman/mysql++_8h-source.html +share/doc/mysql++/refman/mysql++_8h.html +share/doc/mysql++/refman/mysql++_8h__incl.png +share/doc/mysql++/refman/namespacemembers.html +share/doc/mysql++/refman/namespacemysqlpp.html +share/doc/mysql++/refman/namespaces.html +share/doc/mysql++/refman/noexceptions_8h-source.html +share/doc/mysql++/refman/noexceptions_8h.html +share/doc/mysql++/refman/noexceptions_8h__dep__incl.png +share/doc/mysql++/refman/null_8h-source.html +share/doc/mysql++/refman/null_8h.html +share/doc/mysql++/refman/null_8h__dep__incl.png +share/doc/mysql++/refman/null_8h__incl.png +share/doc/mysql++/refman/platform_8h-source.html +share/doc/mysql++/refman/platform_8h.html +share/doc/mysql++/refman/platform_8h__dep__incl.png +share/doc/mysql++/refman/qparms_8h-source.html +share/doc/mysql++/refman/qparms_8h.html +share/doc/mysql++/refman/qparms_8h__dep__incl.png +share/doc/mysql++/refman/qparms_8h__incl.png +share/doc/mysql++/refman/query_8h-source.html +share/doc/mysql++/refman/query_8h.html +share/doc/mysql++/refman/query_8h__dep__incl.png +share/doc/mysql++/refman/query_8h__incl.png +share/doc/mysql++/refman/refman.css +share/doc/mysql++/refman/resiter_8h-source.html +share/doc/mysql++/refman/resiter_8h.html +share/doc/mysql++/refman/resiter_8h__dep__incl.png +share/doc/mysql++/refman/resiter_8h__incl.png +share/doc/mysql++/refman/result_8h-source.html +share/doc/mysql++/refman/result_8h.html +share/doc/mysql++/refman/result_8h__dep__incl.png +share/doc/mysql++/refman/result_8h__incl.png +share/doc/mysql++/refman/row_8h-source.html +share/doc/mysql++/refman/row_8h.html +share/doc/mysql++/refman/row_8h__dep__incl.png +share/doc/mysql++/refman/row_8h__incl.png +share/doc/mysql++/refman/sql__string_8h-source.html +share/doc/mysql++/refman/sql__string_8h.html +share/doc/mysql++/refman/sql__string_8h__dep__incl.png +share/doc/mysql++/refman/sql__string_8h__incl.png +share/doc/mysql++/refman/stream2string_8h-source.html +share/doc/mysql++/refman/stream2string_8h.html +share/doc/mysql++/refman/stream2string_8h__dep__incl.png +share/doc/mysql++/refman/stream2string_8h__incl.png +share/doc/mysql++/refman/string__util_8h-source.html +share/doc/mysql++/refman/string__util_8h.html +share/doc/mysql++/refman/string__util_8h__dep__incl.png +share/doc/mysql++/refman/string__util_8h__incl.png +share/doc/mysql++/refman/structmysqlpp_1_1DTbase-members.html +share/doc/mysql++/refman/structmysqlpp_1_1DTbase.html +share/doc/mysql++/refman/structmysqlpp_1_1DTbase__inherit__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1Date-members.html +share/doc/mysql++/refman/structmysqlpp_1_1Date.html +share/doc/mysql++/refman/structmysqlpp_1_1DateTime-members.html +share/doc/mysql++/refman/structmysqlpp_1_1DateTime.html +share/doc/mysql++/refman/structmysqlpp_1_1DateTime__coll__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1DateTime__inherit__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1Date__coll__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1Date__inherit__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1NullisBlank.html +share/doc/mysql++/refman/structmysqlpp_1_1NullisNull.html +share/doc/mysql++/refman/structmysqlpp_1_1NullisZero.html +share/doc/mysql++/refman/structmysqlpp_1_1SQLParseElement-members.html +share/doc/mysql++/refman/structmysqlpp_1_1SQLParseElement.html +share/doc/mysql++/refman/structmysqlpp_1_1SQLParseElement__coll__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1Time-members.html +share/doc/mysql++/refman/structmysqlpp_1_1Time.html +share/doc/mysql++/refman/structmysqlpp_1_1Time__coll__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1Time__inherit__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1cstr__equal__to.html +share/doc/mysql++/refman/structmysqlpp_1_1cstr__greater.html +share/doc/mysql++/refman/structmysqlpp_1_1cstr__greater__equal.html +share/doc/mysql++/refman/structmysqlpp_1_1cstr__less.html +share/doc/mysql++/refman/structmysqlpp_1_1cstr__less__equal.html +share/doc/mysql++/refman/structmysqlpp_1_1cstr__not__equal__to.html +share/doc/mysql++/refman/structmysqlpp_1_1equal__list__b-members.html +share/doc/mysql++/refman/structmysqlpp_1_1equal__list__b.html +share/doc/mysql++/refman/structmysqlpp_1_1equal__list__b__coll__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1equal__list__ba-members.html +share/doc/mysql++/refman/structmysqlpp_1_1equal__list__ba.html +share/doc/mysql++/refman/structmysqlpp_1_1equal__list__ba__coll__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1value__list__b-members.html +share/doc/mysql++/refman/structmysqlpp_1_1value__list__b.html +share/doc/mysql++/refman/structmysqlpp_1_1value__list__b__coll__graph.png +share/doc/mysql++/refman/structmysqlpp_1_1value__list__ba-members.html +share/doc/mysql++/refman/structmysqlpp_1_1value__list__ba.html +share/doc/mysql++/refman/structmysqlpp_1_1value__list__ba__coll__graph.png +share/doc/mysql++/refman/tiny__int_8h-source.html +share/doc/mysql++/refman/tiny__int_8h.html +share/doc/mysql++/refman/tiny__int_8h__dep__incl.png +share/doc/mysql++/refman/type__info_8h-source.html +share/doc/mysql++/refman/type__info_8h.html +share/doc/mysql++/refman/type__info_8h__dep__incl.png +share/doc/mysql++/refman/type__info_8h__incl.png +share/doc/mysql++/refman/vallist_8h-source.html +share/doc/mysql++/refman/vallist_8h.html +share/doc/mysql++/refman/vallist_8h__dep__incl.png +share/doc/mysql++/refman/vallist_8h__incl.png +share/doc/mysql++/userman/ +share/doc/mysql++/userman/breakages.html +share/doc/mysql++/userman/index.html +share/doc/mysql++/userman/licenses.html +share/doc/mysql++/userman/overview.html +share/doc/mysql++/userman/ssqls.html +share/doc/mysql++/userman/tquery.html +share/doc/mysql++/userman/tutorial.html +share/doc/mysql++/userman/unicode.html +share/doc/mysql++/userman/userman.css