index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/texmacs/PKGBUILD | 10 |
diff --git a/extra/texmacs/PKGBUILD b/extra/texmacs/PKGBUILD new file mode 100644 index 00000000..6469e015 --- /dev/null +++ b/extra/texmacs/PKGBUILD @@ -0,0 +1,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 + ' +)" |