summaryrefslogtreecommitdiffstats
path: root/boost
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-12-21 16:52:03 +0000
committer Eric Hameleers <alien@slackware.com>2007-12-21 16:52:03 +0000
commit0ce550495709e8bf5703f49f8281863bf61e49f2 (patch)
tree1d87f008cc5e92ee68cff9b3129456c586fab360 /boost
parent087f2a2ca53001e645c7e51044cb7ff9620ae6af (diff)
downloadasb-0ce550495709e8bf5703f49f8281863bf61e49f2.tar.gz
asb-0ce550495709e8bf5703f49f8281863bf61e49f2.tar.xz
Fix the patch action
Diffstat (limited to 'boost')
-rwxr-xr-xboost/build/boost.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/boost/build/boost.SlackBuild b/boost/build/boost.SlackBuild
index 3013520a..0cc2acf7 100755
--- a/boost/build/boost.SlackBuild
+++ b/boost/build/boost.SlackBuild
@@ -67,7 +67,7 @@ OUTPUT=${OUTPUT:-/tmp}
# Input URL: http://dl.sourceforge.net/boost/boost_1_34_1.tar.gz
SOURCE="$SRCDIR/${PRGNAM}_${SRCVER}.tar.gz"
-SRCURL="http://dl.sourceforge.net/${PRGNAM}/${PRGNAM}_${SRCVER}.tar.gz"
+SRCURL="http://downloads.sourceforge.net/${PRGNAM}/${PRGNAM}_${SRCVER}.tar.gz"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -110,7 +110,7 @@ esac
# Create working directories:
mkdir -p $TMP/tmp-$PRGNAM # location to build the source
-rm -rf $TMP/tmp-$PRGNAM/* # By default we remove the remnants of previous build
+rm -rf $TMP/tmp-$PRGNAM/* # we remove the remnants of previous build
mkdir -p $PKG # place for the package to be built
rm -rf $PKG/* # We always erase old package's contents:
mkdir -p $OUTPUT # place for the package to be saved
@@ -122,7 +122,7 @@ if ! [ -f ${SOURCE} ]; then
[ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
echo "Source '$(basename ${SOURCE})' not available yet..."
echo "Will download file to $(dirname $SOURCE)"
- wget -nv --connect-timeout=30 -O "${SOURCE}" "${SRCURL}" || true
+ wget -nv -T 20 -O "${SOURCE}" "${SRCURL}" || true
if [ $? -ne 0 -o ! -s "${SOURCE}" ]; then
echo "Downloading '$(basename ${SOURCE})' failed... aborting the build."
mv -f "${SOURCE}" "${SOURCE}".FAIL
@@ -155,7 +155,8 @@ fi
mv ${PRGNAM}_${SRCVER} ${PRGNAM}-${VERSION}
cd ${PRGNAM}-${VERSION}
# 20071219: critical bugfix patch for 1.34.1 (fixed in 1.35):
-zcat $SRCDIR/boost_1_34_1_function.patch | patch -p1
+zcat $SRCDIR/boost_1_34_1_function.patch.gz | patch -p1 \
+ 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
chown -R root:root .
chmod -R u+w,go+r-w,a-s .