summaryrefslogtreecommitdiff
path: root/extra/texmacs/PKGBUILD
blob: 6469e01529ea65326660d2d5a9904ef5630d8f86 (plain)
1
2
3
4
5
6
7
8
9
10
# guile cmake checks allow int* to be casted to size_t*, so we
# add -fpermissive to make the int cast fail and the size_t cast
# succeed

eval "$(
  declare -f prepare | \
    sed '
      /cd TeXmacs-${pkgver}-src/ a \ sed -i "/SET(CMAKE_REQUIRED_FLAGS/s/-Werror /-Werror -fpermissive /" CMakeLists.txt
    '
)"