summaryrefslogtreecommitdiff
path: root/libraries/OpenAL/OpenAL.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/OpenAL/OpenAL.SlackBuild')
-rw-r--r--libraries/OpenAL/OpenAL.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/OpenAL/OpenAL.SlackBuild b/libraries/OpenAL/OpenAL.SlackBuild
index 2f81269669..bd9f43cc59 100644
--- a/libraries/OpenAL/OpenAL.SlackBuild
+++ b/libraries/OpenAL/OpenAL.SlackBuild
@@ -27,6 +27,11 @@ cd $TMP || exit 1
rm -rf $SRCNAM-$VERSION
tar -zxvf $CWD/$SRCNAM-$VERSION.tar.gz || exit 1
cd openal-$VERSION || exit 1
+
+# Fix when compiling other things against OpenAL using GCC 4.2.
+# Begotten from debian.
+patch -p1 < $CWD/fix_gcc-4.2.diff || exit 1
+
chown -R root:root .
chmod -R u+w,go+r-w,a-s .