Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/webkit2gtk/PKGBUILD
blob: a9555f51b97f9a8b8ba00ddb60c53271f4d0f7e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# disable SSE2 on 486 and 686
if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
	source+=('webkitgtk-2.24.2-no-sse2.patch')
	sha256sums+=('e95391eceeb29d0ebc57d6b867afd7cd95ed92683edeb28c6a7a5048b5a9b85b')

	eval "$(
	  declare -f prepare | \
	    sed '
	      /cd.*/a patch -p1 < ../webkitgtk-2.24.2-no-sse2.patch
	    '
	)"	
fi

# work around broken generated makefiles resulting in
# "make[2]: *** No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'.  Stop."
eval "$(
  declare -f build | \
    sed '
    '
)"