Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/faac/PKGBUILD
blob: 86cb6286a5ba526c3c84d3e9e4e116b93be05e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# no SSE on i686 and i486 (it's called SSE, but actually add -msse2 to gcc flags, hence the
# patch also applies for i686)
if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then
  source+=('faac-1_30-no-sse.patch')
  sha512sums+=('6e93a474dfdd9f5e61cc43f7b93d4807144de951aac6353464c8aff5cf0b8edc07199518bb52d4ef5f2904ec177f5ad13a2e3b07039cebd95661c73e245add83')
  b2sums+=('be943722ba56435184be88a234cf794b30927f5b31aa3246fc201b0b8404073c4ffba547361585a4f32b1a3b5a33742055401dbbcad15dba048ba1ce84d9f0ef')
  eval "$(
    {
      declare -f prepare || \
      printf 'prepare() { cd "${pkgname}-${pkgver}"\n}\n'
    } \
    | sed '
      /autoreconf/ i \
        patch -Np1 -i "$srcdir/faac-1_30-no-sse.patch"
    '
  )"
fi