pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/pulseaudio pulseaudio: Fix stat64 prototype on S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd3ec7067927
branches:  trunk
changeset: 312723:fd3ec7067927
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 11 16:39:42 2018 +0000

description:
pulseaudio: Fix stat64 prototype on SunOS/32-bit.

diffstat:

 audio/pulseaudio/distinfo                        |   4 ++--
 audio/pulseaudio/patches/patch-src_utils_padsp.c |  13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r 1458d871cfa5 -r fd3ec7067927 audio/pulseaudio/distinfo
--- a/audio/pulseaudio/distinfo Tue Sep 11 16:15:39 2018 +0000
+++ b/audio/pulseaudio/distinfo Tue Sep 11 16:39:42 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.67 2018/07/25 12:15:59 adam Exp $
+$NetBSD: distinfo,v 1.68 2018/09/11 16:39:42 jperkin Exp $
 
 SHA1 (pulseaudio-12.2.tar.xz) = 310a6245036a51df6585a7ebfac75b32e073aa88
 RMD160 (pulseaudio-12.2.tar.xz) = 04d389135b61c0b2155ac855dbfe532a5c979323
@@ -11,4 +11,4 @@
 SHA1 (patch-src_modules_raop_raop-client.h) = 9fb7ae86a6852022f53aee3765777bd136250ffb
 SHA1 (patch-src_pulsecore_mix__neon.c) = 6f6d33d38024d65045d637d48276e1ba92b81342
 SHA1 (patch-src_tests_rtpoll-test.c) = 3584aeda2b6f7eb14af9cb5c665a31d972a306ae
-SHA1 (patch-src_utils_padsp.c) = 212768eaacf1a2a29449665bc6b48ace6f1af9c8
+SHA1 (patch-src_utils_padsp.c) = e893d6848e2a2f6ef0cc11d1b1f5fb51abbc26a7
diff -r 1458d871cfa5 -r fd3ec7067927 audio/pulseaudio/patches/patch-src_utils_padsp.c
--- a/audio/pulseaudio/patches/patch-src_utils_padsp.c  Tue Sep 11 16:15:39 2018 +0000
+++ b/audio/pulseaudio/patches/patch-src_utils_padsp.c  Tue Sep 11 16:39:42 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_utils_padsp.c,v 1.1 2018/07/25 12:15:59 adam Exp $
+$NetBSD: patch-src_utils_padsp.c,v 1.2 2018/09/11 16:39:42 jperkin Exp $
 
 ioctl() takes u_long argument on NetBSD.
 On NetBSD<6 and 6.99.0-6.99.7, use third parameter in ioctl instead of varargs.
@@ -6,7 +6,7 @@
 Try more typical device names.
 SOUND_PCM_* is not available on SunOS.
 
---- src/utils/padsp.c.orig     2018-05-11 11:43:31.000000000 +0000
+--- src/utils/padsp.c.orig     2018-07-13 19:06:13.000000000 +0000
 +++ src/utils/padsp.c
 @@ -48,6 +48,10 @@
  #include <linux/sockios.h>
@@ -140,3 +140,12 @@
  
      if (!function_enter()) {
          LOAD_IOCTL_FUNC();
+@@ -2536,7 +2576,7 @@ int stat(const char *pathname, struct st
+ }
+ #ifdef HAVE_OPEN64
+ #undef stat64
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) || defined(__sun)
+ int stat64(const char *pathname, struct stat64 *buf) {
+ #else
+ int stat64(const char *pathname, struct stat *buf) {



Home | Main Index | Thread Index | Old Index