Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2016 10:01:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425478 - head/audio/libsamplerate/files
Message-ID:  <201611061001.uA6A1uJo087499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611061001.uA6A1uJo087499>