summaryrefslogtreecommitdiffstats
path: root/tvtime
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-03-15 23:36:46 +0000
committer Eric Hameleers <alien@slackware.com>2009-03-15 23:36:46 +0000
commit9ef70fb536a974687f6e85f0216d28186f24bff5 (patch)
treeb30853f243368486959d207794b324c8b5af181b /tvtime
parent79762e492409fcaad6d6fa0a0fbfcbb7465e75ee (diff)
downloadasb-9ef70fb536a974687f6e85f0216d28186f24bff5.tar.gz
asb-9ef70fb536a974687f6e85f0216d28186f24bff5.tar.xz
Updated. Now it builds
Diffstat (limited to 'tvtime')
-rwxr-xr-xtvtime/build/tvtime.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/tvtime/build/tvtime.SlackBuild b/tvtime/build/tvtime.SlackBuild
index d626526e..7390a61c 100755
--- a/tvtime/build/tvtime.SlackBuild
+++ b/tvtime/build/tvtime.SlackBuild
@@ -34,17 +34,19 @@
# * Initial build.
# 1.0.1-2: 30/Sep/2007 by Eric Hameleers <alien@slackware.com>
# * Fixed building with gcc4 (Slackware 12.0)
+# 1.0.2-1: 16/mar/2009 by Eric Hameleers <alien@slackware.com>
+# * New release was never mentioned on the tvtime homepage...
#
-# Run 'sh tvtime.SlackBuild --cleanup' to build a Slackware package.
+# Run 'sh tvtime.SlackBuild' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
# Install using 'installpkg'.
#
# -----------------------------------------------------------------------------
PRGNAM=tvtime
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.0.2}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
DOCS="ABOUT-NLS AUTHORS COPYING COPYING.LGPL ChangeLog NEWS README docs/html/*"
@@ -56,7 +58,6 @@ TMP=${TMP:-/tmp/build}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Input URL: http://dl.sourceforge.net/tvtime/tvtime-1.0.1.tar.gz
SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz"
SRCURL="http://downloads.sourceforge.net/${PRGNAM}/${PRGNAM}-${VERSION}.tar.gz"
@@ -139,6 +140,8 @@ if [ $(gcc -dumpversion |cut -c1) -ge 4 ]; then
patch -p1 < $SRCDIR/${PRGNAM}_gcc4.patch -b -z .gcc4 \
2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
fi
+# New kernels with old software... duh
+sed -i -e 's,#include <linux/compiler.h> ,/* & */,' src/videodev2.h
chown -R root:root .
chmod -R u+w,go+r-w,a-s .