Date: Monday, March 18, 2019 @ 16:11:15 Author: arodseth Revision: 442479
upgpkg: ucblogo 6.0-10 add svn dep Modified: ucblogo/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-03-18 16:01:20 UTC (rev 442478) +++ PKGBUILD 2019-03-18 16:11:15 UTC (rev 442479) @@ -3,12 +3,12 @@ pkgname=ucblogo pkgver=6.0 -pkgrel=9 +pkgrel=10 pkgdesc='Interpreter for the Logo programming language' url='https://www.cs.berkeley.edu/~bh/logo.html' arch=(x86_64) license=(GPL) -makedepends=(setconf) +makedepends=(setconf svn) depends=(libice libsm libx11 ncurses) source=("https://www.cs.berkeley.edu/~bh/downloads/$pkgname.tar.gz" 'https://people.eecs.berkeley.edu/~bh/logo-sample.html' @@ -26,7 +26,7 @@ # Add missing includes for csrc in coms.c graphics.c; do - sed -i '1s/^/#include <math.h> /' "$csrc" + sed -i '1s,^,#include <math.h>\n,' "$csrc" done # Various patching @@ -36,7 +36,7 @@ setconf svn.c 'char* SVN' '"(1)";' # The makefile does not respect CFLAGS, set it manually - setconf makefile CFLAGS "$CFLAGS -w -fPIC -fstack-protector-strong" + setconf makefile CFLAGS "$CFLAGS -w -fPIC" # Create an example logo file, to be placed in /usr/share/doc/ucblogo echo '#!/usr/bin/env logo' > "$srcdir/sample.logo"
