summaryrefslogtreecommitdiff
path: root/system/csh
diff options
context:
space:
mode:
Diffstat (limited to 'system/csh')
-rw-r--r--system/csh/csh.SlackBuild15
-rw-r--r--system/csh/csh.info4
2 files changed, 13 insertions, 6 deletions
diff --git a/system/csh/csh.SlackBuild b/system/csh/csh.SlackBuild
index 31835c2beb..2adb56deea 100644
--- a/system/csh/csh.SlackBuild
+++ b/system/csh/csh.SlackBuild
@@ -6,9 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170621 bkw:
+# - update to latest debian patch (-2.2, needed for -current).
+# - quit compiling with -Werror (also needed for -current).
+# - BUILD=2.
+
PRGNAM=csh
VERSION=${VERSION:-20110502}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -40,6 +45,8 @@ fi
set -e
+DEBVER=2.2
+
# Grr.
TARNAM="${PRGNAM}_${VERSION}.orig"
DIRNAM="${PRGNAM}-${VERSION}.orig"
@@ -50,7 +57,7 @@ cd $TMP
rm -rf $DIRNAM
tar xvf $CWD/$TARNAM.tar.gz
cd $DIRNAM
-tar xvf $CWD/${PRGNAM}_${VERSION}-2.debian.tar.gz
+tar xvf $CWD/${PRGNAM}_${VERSION}-$DEBVER.debian.tar.[xg]z
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,8 +82,8 @@ sed -i "1iCFLAGS=$SLKCFLAGS" Makefile
# /usr/lib/libc.a hard-coded, and pmake wants to build that (and can't),
# even though the csh binary is dynamic and doesn't even need libc.a!
# Also don't know why I have to make const.h separately, but it works.
-pmake const.h
-pmake LIBC=/usr/lib$LIBDIRSUFFIX/libc.a
+pmake const.h NOGCCERROR=1
+pmake LIBC=/usr/lib$LIBDIRSUFFIX/libc.a NOGCCERROR=1
cd USD.doc
pmake paper.ps paper.txt
cd -
diff --git a/system/csh/csh.info b/system/csh/csh.info
index e6382ca1a4..a8ac38100a 100644
--- a/system/csh/csh.info
+++ b/system/csh/csh.info
@@ -2,9 +2,9 @@ PRGNAM="csh"
VERSION="20110502"
HOMEPAGE="https://packages.debian.org/sid/csh"
DOWNLOAD="http://ftp.debian.org/debian/pool/main/c/csh/csh_20110502.orig.tar.gz \
- http://ftp.debian.org/debian/pool/main/c/csh/csh_20110502-2.debian.tar.gz"
+ http://http.debian.net/debian/pool/main/c/csh/csh_20110502-2.2.debian.tar.xz"
MD5SUM="578c40bfa54c09c8affbc434e34fb40c \
- d38e605854996cd5ce5217eed665ca19"
+ a66e38ff89e978970a4ade6eb419a69a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README% libbsd"