From c54ac3223e71445f59f06ae17838d610ee6bc1fe Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Thu, 27 May 2010 20:37:02 -0700
Subject: mythsmolt:patch to compile against 0.23

---
 abs/core-testing/mythtv/stable-0.23/mythsmolt/PKGBUILD        | 8 +++++---
 abs/core-testing/mythtv/stable-0.23/mythsmolt/mythsmolt.patch | 8 ++++++++
 2 files changed, 13 insertions(+), 3 deletions(-)
 create mode 100644 abs/core-testing/mythtv/stable-0.23/mythsmolt/mythsmolt.patch

diff --git a/abs/core-testing/mythtv/stable-0.23/mythsmolt/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythsmolt/PKGBUILD
index 0d5bdb6..6ec22a8 100644
--- a/abs/core-testing/mythtv/stable-0.23/mythsmolt/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythsmolt/PKGBUILD
@@ -1,21 +1,23 @@
 pkgname=mythsmolt
 pkgver=0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="mythsmolt, a hardware profileing tool"
 arch=('i686' 'x86_64')
 url="http://www.mythvantage.com"
 license=('GPL')
 depends=("mythtv>=${pkgver}" urlgrabber python-simplejson)
-source=("http://www.mythvantage.com/request.php?4" 'smolt_init_login.sh' )
+source=("http://www.mythvantage.com/request.php?4" 'smolt_init_login.sh' 'mythsmolt.patch')
 
 groups=('mythtv-extras')
 
 build() {
    cd $startdir/src/mythsmolt
+   patch -p1 < ../mythsmolt.patch || return 1
    ./configure.sh
    make || return 1
    make INSTALL_ROOT=$startdir/pkg install
    install -D -m 755 $srcdir/smolt_init_login.sh $pkgdir/etc/profile.d/smolt_init_login.sh
 }
 md5sums=('4641b425d1aa910d82972ebb3a8d4998'
-         '57a3416d90e59abbd5062436583c17e1')
+         '57a3416d90e59abbd5062436583c17e1'
+         '461350b3a7b9d7433cc11e2786e27005')
diff --git a/abs/core-testing/mythtv/stable-0.23/mythsmolt/mythsmolt.patch b/abs/core-testing/mythtv/stable-0.23/mythsmolt/mythsmolt.patch
new file mode 100644
index 0000000..9866587
--- /dev/null
+++ b/abs/core-testing/mythtv/stable-0.23/mythsmolt/mythsmolt.patch
@@ -0,0 +1,8 @@
+diff -ruaN mythsmolt.orig/settings.pro mythsmolt/settings.pro
+--- mythsmolt.orig/settings.pro	2010-01-06 15:49:59.000000000 +0000
++++ mythsmolt/settings.pro	2010-05-28 03:30:59.000000000 +0000
+@@ -1,3 +1,3 @@
+ 
+-LIBVERSION = 0.22
++LIBVERSION = 0.23
+ 
-- 
cgit v0.12

