svn commit: r425478 - head/audio/libsamplerate/files
Baptiste Daroussin
bapt at FreeBSD.org
Sun Nov 6 10:01:58 UTC 2016
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,
More information about the svn-ports-all
mailing list