diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-14 21:52:46 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-14 14:32:31 -0600 |
commit | 18578fcf23cdc50b2776fd196e2efaf314f67d67 (patch) | |
tree | f9c808ec45722512383fe7b003f813927c99c091 /libraries/tDOM/tDOM.SlackBuild | |
parent | d168a001be0670dd325a0b7d115518d6dc656544 (diff) | |
download | slackbuilds-18578fcf23cdc50b2776fd196e2efaf314f67d67.tar.gz |
libraries/tDOM: Added compatibility patch for tcl 8.6
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tDOM/tDOM.SlackBuild')
-rw-r--r-- | libraries/tDOM/tDOM.SlackBuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/libraries/tDOM/tDOM.SlackBuild b/libraries/tDOM/tDOM.SlackBuild index f05f66107d..5c79457397 100644 --- a/libraries/tDOM/tDOM.SlackBuild +++ b/libraries/tDOM/tDOM.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=tDOM VERSION=${VERSION:-0.8.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -47,12 +47,15 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tgz cd $PRGNAM-$VERSION chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Upstream patch +# https://github.com/tDOM/tdom/commit/3dd529139d2f44bb9ecfdcddd27b3d6a8df5ff41#diff-0 +patch -p1 < $CWD/tDOM-tcl8.6-compat.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |