summaryrefslogtreecommitdiffstats
path: root/audio/libcanberra/files
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-01 23:23:45 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-01 23:23:45 +0800
commit5a88a8ba186cd8b622dcb6368943fb89db3facb1 (patch)
tree5e72fae261b7dc120756e5e69bd62dff690c6a43 /audio/libcanberra/files
parent846f06692045aa093a2e20c14e561b47d11540c7 (diff)
downloadmarcuscom-ports-5a88a8ba186cd8b622dcb6368943fb89db3facb1.tar
marcuscom-ports-5a88a8ba186cd8b622dcb6368943fb89db3facb1.tar.gz
marcuscom-ports-5a88a8ba186cd8b622dcb6368943fb89db3facb1.tar.bz2
marcuscom-ports-5a88a8ba186cd8b622dcb6368943fb89db3facb1.tar.lz
marcuscom-ports-5a88a8ba186cd8b622dcb6368943fb89db3facb1.tar.xz
marcuscom-ports-5a88a8ba186cd8b622dcb6368943fb89db3facb1.tar.zst
marcuscom-ports-5a88a8ba186cd8b622dcb6368943fb89db3facb1.zip
Enable gtk3 module.
Maybe it is a idea to split off the gtk2 module from the main libcanberra port? git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14926 df743ca5-7f9a-e211-a948-0013205c9059
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;