Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/xfce4-diskperf-plugin/PKGBUILD
blob: 74532d0bd2dd3fbc48f85469bdb1d7261a86ff4e (plain)
1
2
3
4
5
6
7
8
9
10
11
# see https://bugs.archlinux.org/task/60632
eval "$(
  {
    declare -f prepare || \
    printf 'prepare() {\n}\n'
  } \
  | sed '
    $ i cd "$srcdir/$pkgname-$pkgver"\
        sed -i '"'"'/#include <sys\/types.h>/ a #include <sys\/sysmacros.h>/'"'"' panel-plugin/devperf.c
  '
)"