summaryrefslogtreecommitdiff
path: root/homebrew/freealut/patches.sh
blob: c7d2270d0e27f6b3cf8b2e56abaa0ef85180591b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
echo 'Creating brew-patch.diff'
cat << EOF >> brew-patch.diff
diff --git a/configure.ac b/configure.ac
index 2b26d6d..4001db1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,8 @@ AC_DEFINE([ALUT_BUILD_LIBRARY], [1], [Define to 1 if you want to build the ALUT
 
 # Checks for libraries. (not perfect yet)
 AC_SEARCH_LIBS([pthread_self], [pthread])
-AC_SEARCH_LIBS([alGetError], [openal32 openal])
+# Use Mac OS X frameworks
+LIBS="$LIBS -framework IOKit -framework OpenAL"

 ################################################################################
 # Checks for header files.
EOF