summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/pulseaudio/distinfo3
-rw-r--r--audio/pulseaudio/patches/patch-src_pulsecore_packet.c25
2 files changed, 27 insertions, 1 deletions
diff --git a/audio/pulseaudio/distinfo b/audio/pulseaudio/distinfo
index 3cf8f37ed98..d9ac10c1648 100644
--- a/audio/pulseaudio/distinfo
+++ b/audio/pulseaudio/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2015/12/10 10:54:50 ryoon Exp $
+$NetBSD: distinfo,v 1.56 2015/12/18 11:21:17 taca Exp $
SHA1 (pulseaudio-7.1.tar.xz) = dc35a8aa66c513ac989319e13a18e317d8e432b3
RMD160 (pulseaudio-7.1.tar.xz) = 34e4a7644673d96806234042fc50a6f513b885c9
@@ -14,6 +14,7 @@ SHA1 (patch-src_modules_module-solaris.c) = 03ea8912da4bb76294ca23271e47d40a8c9a
SHA1 (patch-src_modules_oss_module-oss.c) = 399ac178ae832619253ce8dd985edbed23db86e7
SHA1 (patch-src_pulsecore_core-util.c) = 186c805ac4083446afe3ce8db5c6157da92871be
SHA1 (patch-src_pulsecore_mix__neon.c) = 6f6d33d38024d65045d637d48276e1ba92b81342
+SHA1 (patch-src_pulsecore_packet.c) = f5d0bcfd8027f65782fc7a8b6a9b5cb3b3aa7e41
SHA1 (patch-src_pulsecore_sample-util.h) = b6bd83cfdc1c337453d9a728f07205a2cf0af831
SHA1 (patch-src_pulsecore_svolume__mmx.c) = c34d153e3bfdb812eb7bd70fa330a9ec674c2dc2
SHA1 (patch-src_pulsecore_svolume__sse.c) = 47c97c1af947133f2a7b330aed38792bb0e7ef09
diff --git a/audio/pulseaudio/patches/patch-src_pulsecore_packet.c b/audio/pulseaudio/patches/patch-src_pulsecore_packet.c
new file mode 100644
index 00000000000..57ef6960baf
--- /dev/null
+++ b/audio/pulseaudio/patches/patch-src_pulsecore_packet.c
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_pulsecore_packet.c,v 1.1 2015/12/18 11:21:17 taca Exp $
+
+* Fix build problem on NetBSD 6 (gcc 4.5.3?), do not declare
+ typedef of "pa_packet" again.
+
+--- src/pulsecore/packet.c.orig 2015-09-10 04:51:41.000000000 +0000
++++ src/pulsecore/packet.c
+@@ -32,7 +32,7 @@
+
+ #define MAX_APPENDED_SIZE 128
+
+-typedef struct pa_packet {
++struct pa_packet {
+ PA_REFCNT_DECLARE;
+ enum { PA_PACKET_APPENDED, PA_PACKET_DYNAMIC } type;
+ size_t length;
+@@ -40,7 +40,7 @@ typedef struct pa_packet {
+ union {
+ uint8_t appended[MAX_APPENDED_SIZE];
+ } per_type;
+-} pa_packet;
++};
+
+ PA_STATIC_FLIST_DECLARE(packets, 0, pa_xfree);
+