summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-02-06 02:59:49 +0000
committersbd <sbd@pkgsrc.org>2012-02-06 02:59:49 +0000
commit2e5098d1c416f293bdd493089aeb7adf4910b316 (patch)
tree2d2747d4cc8c162766fc20006e7e132ba8e0d72a
parent6a805190fcb76a7998de93a9a410b5d3f33662c8 (diff)
downloadpkgsrc-2e5098d1c416f293bdd493089aeb7adf4910b316.tar.gz
On Linux include <stdint> for uint??_t types.
-rw-r--r--audio/splay/distinfo4
-rw-r--r--audio/splay/patches/patch-ab11
2 files changed, 8 insertions, 7 deletions
diff --git a/audio/splay/distinfo b/audio/splay/distinfo
index 82c4854cc97..951e9b9344f 100644
--- a/audio/splay/distinfo
+++ b/audio/splay/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.9 2012/01/11 20:26:13 hans Exp $
+$NetBSD: distinfo,v 1.10 2012/02/06 02:59:49 sbd Exp $
SHA1 (splay-0.8.2.tar.gz) = 25288afa1b52bf25be8f9c4ceb44325c50fa00c8
RMD160 (splay-0.8.2.tar.gz) = f1a99ad9e7e70f5e0000aede05966cc5a0b36ad3
Size (splay-0.8.2.tar.gz) = 109060 bytes
SHA1 (patch-aa) = a1c7edc9939454e437a6ad301cd5955f59612ed5
-SHA1 (patch-ab) = e5fe8f1aa8ce9a22fcc3140c6ead51978f165caf
+SHA1 (patch-ab) = 4587aad409b6d2b59a04faedce5a2734cd2a264c
SHA1 (patch-ac) = f90b0e93ed4e72d20926e1bbe7dd5d21f4b39770
SHA1 (patch-ad) = 5d52e0878eb313a7d7684a6505daa4ece3add746
SHA1 (patch-ae) = 6b343541593d1d6ca8dd641ebb299a95d3bdc067
diff --git a/audio/splay/patches/patch-ab b/audio/splay/patches/patch-ab
index 8624f2c3574..3603743627b 100644
--- a/audio/splay/patches/patch-ab
+++ b/audio/splay/patches/patch-ab
@@ -1,13 +1,14 @@
-$NetBSD: patch-ab,v 1.7 2012/01/11 20:26:13 hans Exp $
+$NetBSD: patch-ab,v 1.8 2012/02/06 02:59:49 sbd Exp $
---- mpegsound/mpegsound.h.orig 1998-03-06 11:43:55.000000000 -0600
+--- mpegsound/mpegsound.h.orig 1998-03-06 17:43:55.000000000 +0000
+++ mpegsound/mpegsound.h
-@@ -11,6 +11,20 @@
+@@ -11,6 +11,21 @@
/************************************/
#include <stdio.h>
#include <sys/types.h>
+#ifdef __linux__
+#include <endian.h>
++#include <stdint.h>
+#elif defined(__sun)
+#include <sys/byteorder.h>
+#define LITTLE_ENDIAN 1234
@@ -23,7 +24,7 @@ $NetBSD: patch-ab,v 1.7 2012/01/11 20:26:13 hans Exp $
#ifdef PTHREADEDMPEG
#ifdef HAVE_PTHREAD_H
-@@ -90,6 +104,8 @@
+@@ -90,6 +105,8 @@
/*******************************************/
/* Define values for Microsoft WAVE format */
/*******************************************/
@@ -32,7 +33,7 @@ $NetBSD: patch-ab,v 1.7 2012/01/11 20:26:13 hans Exp $
#define RIFF 0x46464952
#define WAVE 0x45564157
#define FMT 0x20746D66
-@@ -101,27 +117,42 @@
+@@ -101,27 +118,42 @@
#define MODE_MONO 0
#define MODE_STEREO 1