summaryrefslogtreecommitdiff
path: root/core/m4/PKGBUILD
blob: 99059a2a4f2128b923f2a840df17c59875789df2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# see https://bugs.archlinux.org/task/59562
source+=('m4-1.4.18-glibc-change-work-around.patch')
md5sums+=('01968e8f3a5be62de1c849668db8042b')

eval "$(
  {
    declare -f prepare || \
    printf 'prepare() {\n}\n'
  } \
  | sed '
    $i cd $pkgname-$pkgver \
       patch -p1 -i "$srcdir/m4-1.4.18-glibc-change-work-around.patch" \
       echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
  '
)"