Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/luajit/PKGBUILD
blob: b4f8c113ab3deacfc79ce81e70f602f9509cf4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Re-enable x87 support for i686 CPUs (fix from KitsuWhooa)
if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
  source+=('c7815e1a1b49871e645252bb12e722fb4879df11.patch')
  md5sums+=('25a3483026a359e06ec828bc666dc853')
  sha256sums+=('a711e1d7ad7a16d0e6ba044fedc284cc0c4bee710c2d910fd9f0f0af8765c1a7')
  b2sums+=('2d79b2dad25ba3a771348cfd38883334f511de703d2ccfdd00b808867ecf53201d680388c730aaf8941cb5159f6b819020c2da04b75346bc42428973c7f27420')
  eval "$(
    {
      declare -f prepare \
      || printf 'prepare ()\n{\ncd "luajit-2.0-${_commit::7}"\n}\n'
    } \
    | sed '
      3 a patch -p1 -i "$srcdir/c7815e1a1b49871e645252bb12e722fb4879df11.patch"
    '
  )"
fi