From owner-svn-ports-all@freebsd.org Sun Jan 24 10:22:07 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFD3C7F99; Sun, 24 Jan 2016 10:22:06 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF9F5E9C; Sun, 24 Jan 2016 10:22:06 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pa0-x22e.google.com with SMTP id uo6so66613942pac.1; Sun, 24 Jan 2016 02:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=OIMb5AAFELxAbb0uo+lOcyHML2ploff9HH8L0CewIAw=; b=1GdXkHXXyJ/uBCltVQDE1YU2G9nYmCOmCi6TDK6T3XXJ5VAXyIvqTqGtbF6OaMp0sN fNWixpjpQaB5/6Zw4oTwjrg4LQeZtD+MujA7WVZjJp9hIMYXpfiflbWR8Y6mgZdrIxSM krfagOeMnNbmnkkIvCJBRnYt5eyqTWHI9zzScZH86dcahF+llXZrc5WD/ruOm8GIsnNn myugRm7n9cOOQAoeL6OlGYZZAIKSgQ8Znr6O6TU37QWm2AuHa9fvzrFMs6Ogn9Bevxev 6jIdrXYWhAMBNT/oVhn8EO89gE015F9f/oOF/yY50hBSg02roEdr8NhHI5FnULBfJ02f 0wxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:references:to:from :message-id:date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=OIMb5AAFELxAbb0uo+lOcyHML2ploff9HH8L0CewIAw=; b=bUTEn5GI6bAWd+YK81d/cF1OQvM9bFpGY+HPNEHSOsC61ozTXB8Y6lf+kH6jkHj/pi SADjSjQGh7QT/2EoP6pmPLPlXtylPlg+zbLtpSnfzwluYc0r7Zlt6TuswoN3YBSRJZQm v/BwRsyBA+xhCR0FfbJQLMzAm5SbZn40E2Qh9Pb0dNO8WbBt2nhO+EtvKu6B6HApLk3b imBDsgJcinmzSQc/rHEa/gPNGyFgvmC630KDfFJ2KhWfgoFzZBvh7MNUQWE0Fea225TV a5PKoItmN6xyPgMqs9dYaW+9O/JgGIvZbZoAG3OifGr7J6ObaK6U/uJkOM1E83+DgvkX Wd+Q== X-Gm-Message-State: AG10YOQplghDBqg0S7ai5sq89hyr5ZHPEPjU4kqUO1IasHmQsb0VNazs4IOmDsUP3foVHQ== X-Received: by 10.66.230.201 with SMTP id ta9mr17679759pac.52.1453630926252; Sun, 24 Jan 2016 02:22:06 -0800 (PST) Received: from ?IPv6:2001:44b8:31ae:7b01:e955:70fa:3edd:219e? (2001-44b8-31ae-7b01-e955-70fa-3edd-219e.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:e955:70fa:3edd:219e]) by smtp.gmail.com with ESMTPSA id y18sm20982340pfi.84.2016.01.24.02.22.03 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 24 Jan 2016 02:22:05 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r407091 - in head/databases/mysql-connector-c++: . files References: <201601240908.u0O98EVd069360@repo.freebsd.org> To: Mikhail Teterin , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Kubilay Kocak Message-ID: <56A4A5C8.1070006@FreeBSD.org> Date: Sun, 24 Jan 2016 21:22:00 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <201601240908.u0O98EVd069360@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2016 10:22:07 -0000 On 24/01/2016 8:08 PM, Mikhail Teterin wrote: > Author: mi > Date: Sun Jan 24 09:08:14 2016 > New Revision: 407091 > URL: https://svnweb.freebsd.org/changeset/ports/407091 > > Log: > Upgrade from 1.1.6 to 1.1.7. The changes are listed as: > > GA 1.1.7 - > - Add JSON support > - Allow building without server flags (Bug#21391025) > - Correct relative() not seeking after changing position.(Bug#21152054) > > The first item is only available if the mysql-client is recent > enough (version 5.7). For older client-libraries the new patch is > required. PR: 206520 Please assign yourself the Bugzilla, CC maintainer and resolve please Mikhail :) > Added: > head/databases/mysql-connector-c++/files/patch-optional-json (contents, props changed) > Deleted: > head/databases/mysql-connector-c++/files/patch-CMakeLists.txt > Modified: > head/databases/mysql-connector-c++/Makefile > head/databases/mysql-connector-c++/distinfo > > Modified: head/databases/mysql-connector-c++/Makefile > ============================================================================== > --- head/databases/mysql-connector-c++/Makefile Sun Jan 24 07:35:34 2016 (r407090) > +++ head/databases/mysql-connector-c++/Makefile Sun Jan 24 09:08:14 2016 (r407091) > @@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= mysql-connector-c++ > -PORTVERSION= 1.1.6 > +PORTVERSION= 1.1.7 > CATEGORIES= databases > MASTER_SITES= MYSQL/Connector-C++ > > > Modified: head/databases/mysql-connector-c++/distinfo > ============================================================================== > --- head/databases/mysql-connector-c++/distinfo Sun Jan 24 07:35:34 2016 (r407090) > +++ head/databases/mysql-connector-c++/distinfo Sun Jan 24 09:08:14 2016 (r407091) > @@ -1,2 +1,2 @@ > -SHA256 (mysql-connector-c++-1.1.6.tar.gz) = ad710b3900cae3be94656825aa70319cf7a96e1ad46bf93e07275f3606f69447 > -SIZE (mysql-connector-c++-1.1.6.tar.gz) = 522236 > +SHA256 (mysql-connector-c++-1.1.7.tar.gz) = 5b353fbcd26f607a2a0987ce78a4b811f8971813d46b0f4ae6fa07887e9fc763 > +SIZE (mysql-connector-c++-1.1.7.tar.gz) = 518469 > > Added: head/databases/mysql-connector-c++/files/patch-optional-json > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/databases/mysql-connector-c++/files/patch-optional-json Sun Jan 24 09:08:14 2016 (r407091) > @@ -0,0 +1,36 @@ > +The newly-added JSON-support may not be available in the older > +version of MySQL client-library against which this connector may > +be building. Fortunately, that's easy to detect at compile time... > + > + -mi > + > +--- driver/mysql_resultbind.cpp 2016-01-12 13:42:38.000000000 -0500 > ++++ driver/mysql_resultbind.cpp 2016-01-24 03:58:18.451886000 -0500 > +@@ -87,5 +87,7 @@ > + case MYSQL_TYPE_STRING: > + case MYSQL_TYPE_VAR_STRING: > ++#ifdef MYSQL_TYPE_JSON > + case MYSQL_TYPE_JSON: > ++#endif > + return st_buffer_size_type(new char[field->max_length + 1], field->max_length + 1, field->type); > + > +--- driver/mysql_util.cpp 2016-01-12 13:42:38.000000000 -0500 > ++++ driver/mysql_util.cpp 2016-01-24 04:01:04.499990000 -0500 > +@@ -432,6 +432,8 @@ > + case MYSQL_TYPE_GEOMETRY: > + return sql::DataType::GEOMETRY; > ++#ifdef MYSQL_TYPE_JSON > + case MYSQL_TYPE_JSON: > + return sql::DataType::JSON; > ++#endif > + default: > + return sql::DataType::UNKNOWN; > +@@ -646,6 +648,8 @@ > + case MYSQL_TYPE_GEOMETRY: > + return "GEOMETRY"; > ++#ifdef MYSQL_TYPE_JSON > + case MYSQL_TYPE_JSON: > + return "JSON"; > ++#endif > + default: > + return "UNKNOWN"; >