aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql++3
Commit message (Collapse)AuthorAgeFilesLines
* databases/mysql++3: unbreak with libc++ 8Jan Beich2019-03-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | In file included from ./lib/beemutex.cpp:31: In file included from ./lib/beemutex.h:46: In file included from ./lib/exceptions.h:34: In file included from ./lib/options.h:39: In file included from /usr/include/c++/v1/deque:163: In file included from /usr/include/c++/v1/__split_buffer:6: In file included from /usr/include/c++/v1/type_traits:406: In file included from /usr/include/c++/v1/cstddef:38: ./version:1:2: error: invalid preprocessing directive #!/bin/sh ^ ./version:2:1: error: unknown type name 'echo' echo 3.2.2 ^ ./version:2:6: error: expected unqualified-id echo 3.2.2 ^ PR: 236192 Approved by: portmgr blanket Notes: svn path=/head/; revision=494630
* databases/mysql++3: Fix build with MariaDB 10.2Jochen Neumeister2018-07-291-0/+19
| | | | | | | | | | | | | | ./lib/dbdriver.cpp:260:10: error: use of undeclared identifier 'CLIENT_LONG_PASSWORD' (o >= CLIENT_LONG_PASSWORD) && ^ 1 warning and 1 error generated. gmake[1]: *** [Makefile:545: mysqlpp_dbdriver.o] Error 1 PR: 229950 Submitted by: Ting-Wei Lan <lantw44@gmail.com> (maintainer) Notes: svn path=/head/; revision=475659
* - UPdate to version 3.2.2 [1]Pawel Pekala2016-08-175-45/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Convert to USES=mysql - Use options helpers - Regenerate patch with make makepatch 3.2.2, 2015.03.18 (r2780) o The DBDriver::operator= would leak a live connection if you assigned a disconnected DBDriver to it. Patch by Quentin Armitage. o Plugged a potential DBDriver instance leak in Connection ctor. Patch by Yury Alekseev. o Explicitly #including algorithm.h in examples/multiquery.cpp for std::max(). o Added missing "break;" statements in Transaction ctor taking an isolation level parameter, which caused only the last one to do the right thing. Problem noticed by Tony Whyman, fix by me. o The bootstrap script now checks for the existence of needed build tools before trying to use them. This lets us emit a clearer error message than the shell will. Original patch by Adrian Cornish. o Fixed a build problem related to std::min/max with Visual C++ 2013 due to a change in the definitions provided by its header files. o Tracked several changes made to Connector/C made since 3.2.1. o Assorted documentation updates. o Generating HTML with UTF-8 encoding, not 8859-1 3.2.1, 2013.12.10 (r2756) o Connection copy ctor wasn't copying the "throw exceptions" flag. The copy always had exceptions enabled. o The resetdb example would print a bogus message about logging in as '1'@'1' instead of showing the actual values passed on the command line. This did not affect how it actually logged in. o Previous release tarball was missing a few text files present in the source repository. o Updated build paths for VC++ and MinGW to track a file layout change in Connector/C 6.1.2. 3.2.0, 2013.06.20 (r2747) o References to MySQL 5.1 have been replaced with 5.6, that being the current GA release. o All Windows builds now assume you're using Connector/C 6.1 instead of having installed the MySQL server on your machine just to get development files. If you are running a MySQL server on your development machine and don't want to install Connector/C just to make MySQL++ happy, see the README-*.txt file for your platform to get instructions on fixing the paths so the build system finds the development files under the MySQL server directory. o The generated VC++ 2008 project files now assume you want 64-bit executables. (It is 2013 now, after all.) Since the VC++ 2005 project files continue to be configured for 32-bit builds, the easiest way to get a 32-bit project in VC++ 2008+ is to import the VC++ *2005* project files, rather than adjust the build target settings of all 44 vc2008/*.vcproj files within the IDE. o Added Query::replacefrom(): like insertfrom() but it uses REPLACE statements instead of INSERT. Patch by Adrian Cornish. o Added support for SQL "unsigned float" columns. Patch by Leonardo Lang. o Added "abicheck" top-level build target, which runs the ISPRAS ABI checker tool (http://goo.gl/e19lD) against a predecided "ABI-stable" version of MySQL++, comparing it against the current version. This should help avoid future unplanned ABI breakages, as happened between 3.0.9 and 3.1.0. We have chosen not to revert those changes that broke the ABI, but instead have chosen to accept the 3.1.0 ABI as the new stable ABI for the rest of the 3.x series. Running the ABI checker is now part of the release process, so we should not change the ABI again until 4.0! o The Query::insert() and replace() overloads that take a pair of iterators now work with containers that only provide forward iterators. Idea by Adrian Cornish. o Using libtool again on Autotools systems. It gives us relocatable libraries, which is needed in some linking situations. Patch by Adrian Cornish. o VC++ release builds now have optimization enabled. This might also affect other toolchains that create separate Debug and Release builds, if Bakefile obeys the directive for those systems. (Such as, perhaps, Xcode.) Initial patch by Matthew Bradbury. o Fixed a crash in CommandLine mechanism when the usage message is called up for programs that have no "extra" parameter and corresponding usage appendage. Initial patch by "Crazy Pete". o Query::storein() now tolerates empty result sets, due either to DBMS failure or passing a query that never returns results, such as INSERT. o Exposed DBDriver::result_empty() as Query::result_empty(). We did this primarily because it was needed as a helper for the previous fix, but it could also be useful more broadly. o Added -Wextra to the pedantic build flags. o Fixed the "escape" manipulator so it will work with Null<> wrapped types. Patch by "Kemet". o ssqls2parse now depends on libmysqlpp. (It wasn't getting relinked when you changed the library.) o The configure script's test for the existence of mysql_ssl_set() got broken by a change in the mysql_loc.m4 test, causing it to always return "no" even if the platform's MySQL C API library did have the function. Therefore, the SslOption could never be set. Fixes this bug: stackoverflow.com/questions/7794408 o Fixed a missing a "buried headers" ifdef wrapper for type_info.cpp. Patch provided by Xavier Richez. o We now export the DBDriver class from the MySQL++ DLL when building on Windows. Client programs can now access it directly, instead of being able to access only the fields and members exposed through Connection and Query. Fix suggested by Xavier Richez. o MinGW builds no longer require that you manually create an import library for the MySQL C API DLL from a .def file we provide, which would inevitably get outdated. We can now link directly to the DLL, and rely on the MinGW linker to figure out the imports. o Split the -l flags out of LDFLAGS in the userman's example Makefiles. They're now in LDLIBS, which causes them to be put after -o $(EXE) by the default GNU make rules, where they should be. o Assorted documentation and build system improvements. o Assorted fixes for newer GCCs. PR: 211431 [1] Submitted by: Anon <tfaykpgl@sharklasers.com> [1] Approved by: maintainer timeout Notes: svn path=/head/; revision=420362
* - Fix trailing whitespace in pkg-descrs, categories [a-f]*Dmitry Marakasov2016-05-191-2/+2
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=415498
* Cleanup plistBaptiste Daroussin2014-10-201-1/+0
| | | | Notes: svn path=/head/; revision=371255
* - Drop USE_AUTOTOOLS=libtool, libtool is not usedDmitry Marakasov2014-08-251-1/+2
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=366161
* Nuke NOPORTDOCS. While, here, correct a couple offenders who label examplesAdam Weinberger2014-07-031-4/+2
| | | | | | | with PORTDOCS. And, fix a couple WITH_foo invocations. Notes: svn path=/head/; revision=360463
* Support STAGEDIR.Vanilla I. Shu2014-05-161-8/+7
| | | | | | | Approved by: portmgr@ Notes: svn path=/head/; revision=354189
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-5/+2
| | | | | | | databases) Notes: svn path=/head/; revision=327717
* - Fix build with GCC 4.6Martin Wilke2011-11-251-0/+16
| | | | | | | | | | PR: 162377 Submitted by: Yuri Karaban <dev@dev97.com> Approved by: maintainer Feature safe: yes Notes: svn path=/head/; revision=286439
* Update to version 3.1.0Doug Barton2011-08-024-80/+123
| | | | | | | Submitted by: maintainer Notes: svn path=/head/; revision=278828
* - Get Rid MD5 supportMartin Wilke2011-03-201-1/+0
| | | | Notes: svn path=/head/; revision=271346
* Bump PORTREVISION for ports linking to default libmysqlclient.Alex Dupre2011-03-191-0/+1
| | | | Notes: svn path=/head/; revision=271309
* Sync to new bsd.autotools.mkAde Lovett2010-12-041-1/+1
| | | | Notes: svn path=/head/; revision=265663
* -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.Jeremy Messenger2009-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | -Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr Notes: svn path=/head/; revision=238781
* Upgrade to 3.0.8.Vanilla I. Shu2009-02-024-51/+61
| | | | | | | Approved by: maintainer Notes: svn path=/head/; revision=227433
* Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.Rong-En Fan2008-08-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases. To workaround this issue, many ports hack the CONFIGURE_TARGET variable so that it contains the ``--build='' prefix. To solve this issue, under the fact that some ports still have configure script generated by the old autoconf, we use runtime detection in the do-configure target so that the proper argument can be used. Changes to Mk/*: - Add runtime detection magic in bsd.port.mk - Remove CONFIGURE_TARGET hack in various bsd.*.mk - USE_GNOME=gnometarget is now an no-op Changes to individual ports, other than removing the CONFIGURE_TARGET hack: = pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables) - comms/gnuradio - science/abinit - science/elmer-fem - science/elmer-matc - science/elmer-meshgen2d - science/elmerfront - science/elmerpost = use x86_64 as ARCH - devel/g-wrap = other changes - print/magicfilter GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf Total # of ports modified: 1,027 Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes) PR: 126524 (obsoletes 52917) Submitted by: rafan Tested on: two pointyhat 7-amd64 exp runs (by pav) Approved by: portmgr (pav) Notes: svn path=/head/; revision=218938
* MySQL++ is a C++ wrapper for MySQL's C API.Ion-Mihai Tetcu2008-04-056-0/+486
It is built around STL principles, to make dealing with the database as easy as dealing with an STL container. This port contains the version 3 of the library; see databases/mysql++ and databases/mysql++1 for the older versions. WWW: http://tangentsoft.net/mysql++/ Notes: svn path=/head/; revision=210571