summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPlailect2016-08-03 17:29:50 -0400
committerPlailect2016-08-03 17:29:50 -0400
commit0fedb2894f755b09249ed36fd676a78cdb85cd4b (patch)
tree99b48d4abed16b1efa8f61b8762b1d44f7889691
parentc38626d553a6138ea9094ad1aef1909fcdbf0e21 (diff)
downloadaur-0fedb2894f755b09249ed36fd676a78cdb85cd4b.tar.gz
whoops
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c2fa947ed8d0..84e09fdb6430 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,10 +25,11 @@ pkgver() {
}
prepare() {
+ cd dolphin-emu
+
sed -i -e 's/#include <vector>/#include <vector>\n#include <curl\/curlver\.h>/' Source/Core/Common/Analytics.h
sed -i -e 's/#include "Common\/Flag\.h"/#include "Common\/Flag\.h"\n\n#if LIBCURL_VERSION_MAJOR >= 7 \&\& LIBCURL_VERSION_MINOR >= 50\ntypedef struct Curl_easy CURL;\n#else/' Source/Core/Common/Analytics.h
sed -i -e 's/typedef void CURL;/typedef void CURL;\n#endif/' Source/Core/Common/Analytics.h
- cd dolphin-emu
if [[ -d build ]]; then
rm -rf build