aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-11-06 18:01:56 +0800
committerbapt <bapt@FreeBSD.org>2016-11-06 18:01:56 +0800
commit30d660002bdcc2cd9e3445744fe45c7cfd21b720 (patch)
tree2012855da21c27ad74de94a4d2674c7cde0fce8f /audio
parentacf38c4022153ee1e942c960c396aeb88acb187e (diff)
downloadfreebsd-ports-gnome-30d660002bdcc2cd9e3445744fe45c7cfd21b720.tar.gz
freebsd-ports-gnome-30d660002bdcc2cd9e3445744fe45c7cfd21b720.tar.zst
freebsd-ports-gnome-30d660002bdcc2cd9e3445744fe45c7cfd21b720.zip
Fix build with gcc 4.2
Diffstat (limited to 'audio')
-rw-r--r--audio/libsamplerate/files/patch-examples_audio__out.c14
-rw-r--r--audio/libsamplerate/files/patch-src_samplerate.h4
2 files changed, 16 insertions, 2 deletions
diff --git a/audio/libsamplerate/files/patch-examples_audio__out.c b/audio/libsamplerate/files/patch-examples_audio__out.c
new file mode 100644
index 000000000000..769c218b654b
--- /dev/null
+++ b/audio/libsamplerate/files/patch-examples_audio__out.c
@@ -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 ;
++};
+
+
+ /*------------------------------------------------------------------------------
diff --git a/audio/libsamplerate/files/patch-src_samplerate.h b/audio/libsamplerate/files/patch-src_samplerate.h
index e316af6767e2..d28b15a618a3 100644
--- a/audio/libsamplerate/files/patch-src_samplerate.h
+++ b/audio/libsamplerate/files/patch-src_samplerate.h
@@ -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,
class='commitgraph'>| | | | | | | | | | | OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy. This patch adds the default options specified in the Porter's Handbook to OPTIONS_DEFINE where they are being used. Ports maintained by gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded. Approved by: portmgr (bapt) * - Remove manual creation and removal of share/applications, as it's now in ↵amdmi32013-10-221-1/+0 | | | | | | the mtree (categories starting with m) Approved by: portmgr (bdrewery) * Add NO_STAGE all over the place in preparation for the staging support (cat: ↵bapt2013-09-211-0/+1 | | | | multimedia) * Convert from WITHOUT_NLS to PORT_OPTIONS:MNLSbapt2013-05-061-4/+6 | | | | While here do some conversion to new options framework * All supported version of FreeBSD have a bsdtar version that support ↵bapt2013-04-171-5/+2 | | | | | | | | extracting rpm. Remove now useless dependency on rpm2cio Feature safe: yes * - Unbreak and Undeprecate by fixing fetch.bdrewery2013-03-092-13/+9 | | | | | | | PR: ports/173895 [1] PR: ports/173891 [2] Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> [1] (based on) Submitted by: Mamoru Sakaue <sakaue.mamoru@mwghennndo.com> [2] (based on) * Mark as deprecated a bunch of ports that are marked as broken for more than 6bapt2013-02-051-5/+3 | | | | month without a fix * - Mark BROKEN: unfetchablepav2012-06-231-0/+2 | | | | | | | | => Attempting to fetch https://helixcommunity.org/download.php/2479/RealPlayer-10.0.9.809-20070726.i586.rpm RealPlayer-10.0.9.809-20070726.i586.rpm 6489 kB 4071 kBps fetch: RealPlayer-10.0.9.809-20070726.i586.rpm appears to be truncated: 4194304/6645239 bytes Reported by: pointyhat * - update png to 1.5.10dinoex2012-06-011-1/+1 | * Use ${LN} -sf when installing codecs links.fjoe2011-12-01