summaryrefslogtreecommitdiff
path: root/extra/texmacs/PKGBUILD
blob: 0c02dc633f9d99f91e90083a2bb660076c161d91 (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 force guile_str_size_t to size_t after the test (no matter
# what the outcome is)

eval "$(
  declare -f prepare | \
    sed '
      /cd TeXmacs-${pkgver}-src/ a \ sed -i "/ENDIF(_guile_str_size_test)/ a \ SET(guile_str_size_t size_t)" CMakeLists.txt
    '
)"