diff options
author | Erich Eckner <git@eckner.net> | 2020-08-31 21:06:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-08-31 21:06:24 +0200 |
commit | 175f21125ba4319e97eef9c5d03ca7a6431d2a38 (patch) | |
tree | c6913b90dd459c88f5ac9c6bfb4348baa07d1c41 | |
parent | 6a9388389a224aa2a8990aa713d4032b95fcfa23 (diff) | |
download | archlinuxewe-175f21125ba4319e97eef9c5d03ca7a6431d2a38.tar.xz |
fpc-svn: hotfix for doc error
-rw-r--r-- | fpc-svn/PKGBUILD | 11 | ||||
-rw-r--r-- | fpc-svn/doc.patch | 13 |
2 files changed, 21 insertions, 3 deletions
diff --git a/fpc-svn/PKGBUILD b/fpc-svn/PKGBUILD index a2adcb605..33bd694c8 100644 --- a/fpc-svn/PKGBUILD +++ b/fpc-svn/PKGBUILD @@ -14,7 +14,7 @@ _build_docs=1 pkgbase='fpc-svn' pkgname=('fpc-svn' 'fpc-src-svn') [[ $_build_docs -ne 0 ]] && pkgname+=('fpc-docs-svn') -pkgver=3.3.1.r46736 +pkgver=3.3.1.r46738 _pkgver=${pkgver%.r*} pkgrel=1 arch=('i486' 'i686' 'pentium4' 'x86_64') @@ -25,8 +25,8 @@ depends=('bash' 'ncurses' 'zlib' 'expat') makedepends=('fpc' 'subversion') [[ $_build_docs -ne 0 ]] && makedepends+=('texlive-core' 'texlive-htmlxml' 'texlive-latexextra' 'ghostscript') -source=('fpcbuild::svn+http://svn.freepascal.org/svn/fpcbuild/trunk') -sha512sums=('SKIP') +source=('fpcbuild::svn+http://svn.freepascal.org/svn/fpcbuild/trunk' doc.patch) +sha512sums=('SKIP' 'SKIP') pkgver() { cd "${srcdir}"/fpcbuild/fpcsrc @@ -35,6 +35,11 @@ pkgver() { $(svnversion | tr -d [A-z]) } +prepare() { + cd "${srcdir}"/fpcbuild + patch -p1 -i ../doc.patch +} + build() { cd "${srcdir}"/fpcbuild pushd fpcsrc/compiler diff --git a/fpc-svn/doc.patch b/fpc-svn/doc.patch new file mode 100644 index 000000000..0bca7a79d --- /dev/null +++ b/fpc-svn/doc.patch @@ -0,0 +1,13 @@ +--- a/fpcdocs/prog.tex 2020-08-31 20:48:20.048466844 +0200 ++++ b/fpcdocs/prog.tex 2020-08-31 20:48:05.881753019 +0200 +@@ -2385,8 +2385,8 @@ + \subsection{\var{\protect\$POINTERMATH} : Allow use of pointer math} + + By default, pointer arithmetic is enabled in FPC/OBJFPC modes and disabled in DELPHI mode. +-The directive {$POINTERMATH ON/OFF} can be used to toggle pointer arithmetic support. +-Types declared while {$POINTERMATH ON} is in effect also support pointer arithmetic. ++The directive {\$POINTERMATH ON/OFF} can be used to toggle pointer arithmetic support. ++Types declared while {\$POINTERMATH ON} is in effect also support pointer arithmetic. + + This boolean directive enables or disables the use of pointer arithmetic in + expressions involving pointers. |