[arch-commits] Commit in cclive/trunk (PKGBUILD iostream.patch)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Aug 12 09:53:41 UTC 2014


    Date: Tuesday, August 12, 2014 @ 11:53:41
  Author: bpiotrowski
Revision: 117263

upgpkg: cclive 0.9.3-4

rebuild against boost 1.56.0

Added:
  cclive/trunk/iostream.patch
Modified:
  cclive/trunk/PKGBUILD

----------------+
 PKGBUILD       |   13 ++++++++++---
 iostream.patch |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-12 09:37:00 UTC (rev 117262)
+++ PKGBUILD	2014-08-12 09:53:41 UTC (rev 117263)
@@ -5,7 +5,7 @@
 
 pkgname=cclive
 pkgver=0.9.3
-pkgrel=3
+pkgrel=4
 pkgdesc='Commandline downloader for popular video websites.'
 arch=('i686' 'x86_64')
 url='http://cclive.sourceforge.net/'
@@ -12,9 +12,16 @@
 license=('AGPL3')
 depends=('boost-libs' 'pcre' 'curl' 'libquvi' 'glibmm')
 makedepends=('boost')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('c336f97e29327d92ead62765a0ef0b65')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
+        iostream.patch)
+md5sums=('c336f97e29327d92ead62765a0ef0b65'
+         'd5a2f6aee7832683bcffe2ea6b1561ad')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../iostream.patch
+}
+
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr boost_cv_rpath_link_ldflag="-L/usr/lib"

Added: iostream.patch
===================================================================
--- iostream.patch	                        (rev 0)
+++ iostream.patch	2014-08-12 09:53:41 UTC (rev 117263)
@@ -0,0 +1,37 @@
+diff --git a/src/cc/error.h b/src/cc/error.h
+index c1d80ab..98a4a10 100644
+--- a/src/cc/error.h
++++ b/src/cc/error.h
+@@ -21,6 +21,7 @@
+ #ifndef cc__error_h
+ #define cc__error_h
+ 
++#include <iostream>
+ #include <ccinternal>
+ 
+ #include <boost/exception/diagnostic_information.hpp>
+diff --git a/src/cc/log.h b/src/cc/log.h
+index 2b2c986..77708f5 100644
+--- a/src/cc/log.h
++++ b/src/cc/log.h
+@@ -21,6 +21,7 @@
+ #ifndef cc__log_h
+ #define cc__log_h
+ 
++#include <iostream>
+ #include <ccinternal>
+ 
+ #include <boost/iostreams/filtering_stream.hpp>
+diff --git a/src/cc/options.h b/src/cc/options.h
+index 6c45ce8..d757bfb 100644
+--- a/src/cc/options.h
++++ b/src/cc/options.h
+@@ -21,6 +21,8 @@
+ #ifndef cc__options_h
+ #define cc__options_h
+ 
++#include <iostream>
++
+ #include <ccinternal>
+ 
+ #include <boost/program_options/options_description.hpp>




More information about the arch-commits mailing list