summaryrefslogtreecommitdiff
path: root/multimedia/tvtime
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-21 20:25:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:40:56 -0500
commit96e909ea83133d27374f3785fc6642ef4779b4a4 (patch)
tree86ea3080fe26e25b4adb12cb053633f74c2fff38 /multimedia/tvtime
parentfa401ed5dd716aec0976342506c443ad06144316 (diff)
downloadslackbuilds-96e909ea83133d27374f3785fc6642ef4779b4a4.tar.gz
multimedia/tvtime: Update a patch for newer kernels
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/tvtime')
-rw-r--r--multimedia/tvtime/patches/kernel-headers.patch5
-rw-r--r--multimedia/tvtime/tvtime.SlackBuild4
2 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/tvtime/patches/kernel-headers.patch b/multimedia/tvtime/patches/kernel-headers.patch
index b1cfd49f1b..d0772783d4 100644
--- a/multimedia/tvtime/patches/kernel-headers.patch
+++ b/multimedia/tvtime/patches/kernel-headers.patch
@@ -2,14 +2,15 @@ Index: tvtime-1.0.2/src/videoinput.c
===================================================================
--- tvtime-1.0.2.orig/src/videoinput.c
+++ tvtime-1.0.2/src/videoinput.c
-@@ -35,8 +35,8 @@
+@@ -35,8 +35,9 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
-#include "videodev.h"
-#include "videodev2.h"
-+#include <linux/videodev.h>
++#include <libv4l1-videodev.h>
+#include <linux/videodev2.h>
++#define BASE_VIDIOCPRIVATE 192 /* 192-255 are private */
#include "videoinput.h"
#include "mixer.h"
diff --git a/multimedia/tvtime/tvtime.SlackBuild b/multimedia/tvtime/tvtime.SlackBuild
index bbd918efc0..7f0ba5a338 100644
--- a/multimedia/tvtime/tvtime.SlackBuild
+++ b/multimedia/tvtime/tvtime.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tvtime
-VERSION=1.0.2
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.0.2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on: