diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-15 03:06:53 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-15 03:06:53 +0800 |
commit | d46005e271a560a428bca471e7e63e415a4948d3 (patch) | |
tree | c11c52dddf82100248de7e2d1ca8be6cd402a6d4 /audio | |
parent | 5ec451c003f069ecb8eca995bedf4956d301e9d8 (diff) | |
download | marcuscom-ports-d46005e271a560a428bca471e7e63e415a4948d3.tar marcuscom-ports-d46005e271a560a428bca471e7e63e415a4948d3.tar.gz marcuscom-ports-d46005e271a560a428bca471e7e63e415a4948d3.tar.bz2 marcuscom-ports-d46005e271a560a428bca471e7e63e415a4948d3.tar.lz marcuscom-ports-d46005e271a560a428bca471e7e63e415a4948d3.tar.xz marcuscom-ports-d46005e271a560a428bca471e7e63e415a4948d3.tar.zst marcuscom-ports-d46005e271a560a428bca471e7e63e415a4948d3.zip |
Restore a patch to fix host byte order detection.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13839 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libcanberra/Makefile | 1 | ||||
-rw-r--r-- | audio/libcanberra/files/patch-src_oss.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile index b00cdefa6..0116cb136 100644 --- a/audio/libcanberra/Makefile +++ b/audio/libcanberra/Makefile @@ -7,6 +7,7 @@ PORTNAME= libcanberra PORTVERSION= 0.23 +PORTREVISION= 1 CATEGORIES= audio devel MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ diff --git a/audio/libcanberra/files/patch-src_oss.c b/audio/libcanberra/files/patch-src_oss.c new file mode 100644 index 000000000..098792d93 --- /dev/null +++ b/audio/libcanberra/files/patch-src_oss.c @@ -0,0 +1,11 @@ +--- src/oss.c.orig 2010-02-19 18:39:40.000000000 -0500 ++++ src/oss.c 2010-03-14 15:04:16.000000000 -0400 +@@ -262,7 +262,7 @@ static int open_oss(ca_context *c, struc + val = AFMT_S16_NE; + break; + case CA_SAMPLE_S16RE: +-#if __BYTE_ORDER == __LITTLE_ENDIAN ++#if _BYTE_ORDER == _LITTLE_ENDIAN + val = AFMT_S16_BE; + #else + val = AFMT_S16_LE; |