From owner-svn-ports-all@freebsd.org Wed Feb 1 12:28:10 2017 Return-Path: <owner-svn-ports-all@freebsd.org> 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 ECDDCCCAB9C; Wed, 1 Feb 2017 12:28:10 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC5791E17; Wed, 1 Feb 2017 12:28:10 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v11CS90e063649; Wed, 1 Feb 2017 12:28:09 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v11CS9RE063647; Wed, 1 Feb 2017 12:28:09 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702011228.v11CS9RE063647@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich <jbeich@FreeBSD.org> Date: Wed, 1 Feb 2017 12:28:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433013 - in head/audio/muse: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>, <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/> List-Post: <mailto:svn-ports-all@freebsd.org> List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>, <mailto:svn-ports-all-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 01 Feb 2017 12:28:11 -0000 Author: jbeich Date: Wed Feb 1 12:28:09 2017 New Revision: 433013 URL: https://svnweb.freebsd.org/changeset/ports/433013 Log: audio/muse: unbreak with libc++ 3.9 httpstream.cpp:366:4: error: assigning to 'char *' from incompatible type 'const char *' p = strstr(url, HTTP_PREFIX); if (!p) goto out; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout Added: head/audio/muse/files/patch-src_httpstream.cpp (contents, props changed) Modified: head/audio/muse/Makefile (contents, props changed) Modified: head/audio/muse/Makefile ============================================================================== --- head/audio/muse/Makefile Wed Feb 1 12:26:15 2017 (r433012) +++ head/audio/muse/Makefile Wed Feb 1 12:28:09 2017 (r433013) @@ -3,7 +3,7 @@ PORTNAME= MuSE PORTVERSION= 0.9.2 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= audio MASTER_SITES= https://files.dyne.org/muse/sources/ Added: head/audio/muse/files/patch-src_httpstream.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/muse/files/patch-src_httpstream.cpp Wed Feb 1 12:28:09 2017 (r433013) @@ -0,0 +1,22 @@ +--- src/httpstream.cpp.orig 2005-12-27 14:26:06 UTC ++++ src/httpstream.cpp +@@ -356,6 +356,7 @@ http_open( const char *url ) + { + int sock = INVALID_SOCKET; + FILE *fd = NULL; ++ const char *hp = NULL; + char *host=NULL, *file=NULL, *p; + int port = 0; + +@@ -363,9 +364,8 @@ http_open( const char *url ) + file = (char*)calloc( 1, strlen(url)+1 ); + if (!host || !file) goto out; + +- p = strstr(url, HTTP_PREFIX); if (!p) goto out; +- p += 7; +- strcpy(host, p); ++ hp = strstr(url, HTTP_PREFIX); if (!hp) goto out; ++ strcpy(host, hp + 7); + + p = strchr(host, '/'); + if (p) {