From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 17 09:43:47 2013 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AE369824; Fri, 17 May 2013 09:43:47 +0000 (UTC) (envelope-from markk@knigma.org) Received: from shrewd.pub.knigma.org (shrewd.ipv6.pub.knigma.org [IPv6:2001:8b0:b0:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3A49097; Fri, 17 May 2013 09:43:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (authenticated bits=0) by shrewd.pub.knigma.org (8.14.5/8.14.5) with ESMTP id r4H9hiRG039197 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 17 May 2013 10:43:44 +0100 (BST) (envelope-from markk@knigma.org) Message-ID: <5195FBCF.9050203@knigma.org> Date: Fri, 17 May 2013 10:43:43 +0100 From: Mark Knight User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: stefan@FreeBSD.org Subject: Re: ports/178657: audio/squeezeboxserver: Start failure with mysql-server-5.0 References: <201305151602.r4FG2fLI062505@freefall.freebsd.org> In-Reply-To: <201305151602.r4FG2fLI062505@freefall.freebsd.org> Content-Type: multipart/mixed; boundary="------------030106080701020700070908" Cc: freebsd-ports-bugs@FreeBSD.org, tmueller@sysgo.com X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 09:43:47 -0000 This is a multi-part message in MIME format. --------------030106080701020700070908 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks, approved, slightly tweaked patch file attached with correct white space. Apologies for breaking compatibility with old versions of mysql. -- Mark Knight Mobile: +44 7880 556751. Home: +44 1223 858596 Email: markk@knigma.org. Skype: knigma On 15/05/2013 17:02, stefan@FreeBSD.org wrote: > Synopsis: audio/squeezeboxserver: Start failure with mysql-server-5.0 > > Responsible-Changed-From-To: freebsd-ports-bugs->stefan > Responsible-Changed-By: stefan > Responsible-Changed-When: Wed May 15 16:01:58 UTC 2013 > Responsible-Changed-Why: > Take while waiting for maintainer's feedback. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=178657 > --------------030106080701020700070908 Content-Type: text/plain; charset=windows-1252; name="patch-178657-2.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-178657-2.txt" --- Makefile.orig 2013-05-17 10:27:59.000000000 +0100 +++ Makefile 2013-05-17 10:37:58.000000000 +0100 @@ -7,7 +7,7 @@ PORTNAME= squeezeboxserver PORTVERSION= 7.5.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://downloads.slimdevices.com/SqueezeboxServer_v${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-noCPAN @@ -174,12 +174,16 @@ -e 's|%%TMP_SLIMDIR%%|${TMP_SLIMDIR}|g' \ ${WRKSRC}/scanner.pl \ ${WRKSRC}/slimserver.pl - ${REINPLACE_CMD} \ + @${REINPLACE_CMD} \ -e 's/skip-locking/skip-external-locking/' \ -e 's/default-character-set/character-set-server/'\ - -e 's/table_cache/table_open_cache/'\ -e 's/default-collation/collation-server/' ${WRKSRC}/MySQL/my.tt - ${REINPLACE_CMD} \ +# table_open_cache was known as table_cache in MySQL 5.1.2 and earlier + @if [ "$(MYSQL_VER)" != "50" ] ; then \ + ${REINPLACE_CMD} \ + -e 's/table_cache/table_open_cache/' ${WRKSRC}/MySQL/my.tt ;\ + fi + @${REINPLACE_CMD} \ -e 's/TYPE=InnoDB/ENGINE=InnoDB/' ${WRKSRC}/SQL/mysql/schema_*.sql do-build: --------------030106080701020700070908--