summaryrefslogtreecommitdiffstats
path: root/audio/libcanberra/files
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libcanberra/files')
-rw-r--r--audio/libcanberra/files/patch-configure15
-rw-r--r--audio/libcanberra/files/patch-src_oss.c11
2 files changed, 26 insertions, 0 deletions
diff --git a/audio/libcanberra/files/patch-configure b/audio/libcanberra/files/patch-configure
new file mode 100644
index 000000000..c2a0d3cc8
--- /dev/null
+++ b/audio/libcanberra/files/patch-configure
@@ -0,0 +1,15 @@
+--- configure.orig 2010-07-14 13:00:51.000000000 +0200
++++ configure 2010-07-14 13:02:26.000000000 +0200
+@@ -3273,12 +3273,6 @@
+ AM_BACKSLASH='\'
+
+
+-if type -p stow > /dev/null && test -d /usr/local/stow ; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
+-$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;}
+- ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
+-fi
+-
+ #### Checks for programs. ####
+
+
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;