From owner-svn-ports-all@freebsd.org Sun Nov 6 10:01:58 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 24C2BC3351D; Sun, 6 Nov 2016 10:01:58 +0000 (UTC) (envelope-from bapt@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 E5578C98; Sun, 6 Nov 2016 10:01:57 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uA6A1vdC087501; Sun, 6 Nov 2016 10:01:57 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uA6A1uJo087499; Sun, 6 Nov 2016 10:01:56 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201611061001.uA6A1uJo087499@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sun, 6 Nov 2016 10:01:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425478 - head/audio/libsamplerate/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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2016 10:01:58 -0000 Author: bapt Date: Sun Nov 6 10:01:56 2016 New Revision: 425478 URL: https://svnweb.freebsd.org/changeset/ports/425478 Log: Fix build with gcc 4.2 Added: head/audio/libsamplerate/files/patch-examples_audio__out.c (contents, props changed) Modified: head/audio/libsamplerate/files/patch-src_samplerate.h Added: head/audio/libsamplerate/files/patch-examples_audio__out.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/libsamplerate/files/patch-examples_audio__out.c Sun Nov 6 10:01:56 2016 (r425478) @@ -0,0 +1,14 @@ +--- examples/audio_out.c.orig 2016-09-13 10:20:20 UTC ++++ examples/audio_out.c +@@ -33,9 +33,9 @@ + #define MAKE_MAGIC(a,b,c,d,e,f,g,h) \ + ((a) + ((b) << 1) + ((c) << 2) + ((d) << 3) + ((e) << 4) + ((f) << 5) + ((g) << 6) + ((h) << 7)) + +-typedef struct AUDIO_OUT_s ++struct AUDIO_OUT_s + { int magic ; +-} AUDIO_OUT ; ++}; + + + /*------------------------------------------------------------------------------ Modified: head/audio/libsamplerate/files/patch-src_samplerate.h ============================================================================== --- head/audio/libsamplerate/files/patch-src_samplerate.h Sun Nov 6 09:24:15 2016 (r425477) +++ head/audio/libsamplerate/files/patch-src_samplerate.h Sun Nov 6 10:01:56 2016 (r425478) @@ -1,6 +1,6 @@ ---- src/samplerate.h.orig 2011-01-19 10:39:21 UTC +--- src/samplerate.h.orig 2016-09-13 10:13:14 UTC +++ src/samplerate.h -@@ -174,7 +174,7 @@ enum +@@ -160,7 +160,7 @@ enum SRC_SINC_MEDIUM_QUALITY = 1, SRC_SINC_FASTEST = 2, SRC_ZERO_ORDER_HOLD = 3,