[arch-commits] Commit in miro/trunk (PKGBUILD missing-headers.patch)

Aaron Griffin aaron at archlinux.org
Wed May 7 08:01:06 UTC 2008


    Date: Wednesday, May 7, 2008 @ 04:01:05
  Author: aaron
Revision: 1391

upgpkg: miro 1.2.3-1
    Version bump, patch to compile against gcc

Added:
  miro/trunk/missing-headers.patch
Modified:
  miro/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |   12 ++++++++----
 missing-headers.patch |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-07 05:24:07 UTC (rev 1390)
+++ PKGBUILD	2008-05-07 08:01:05 UTC (rev 1391)
@@ -2,8 +2,8 @@
 # Maintainer: Varun Acharya <varun at archlinux.org>
 
 pkgname=miro
-pkgver=1.1
-pkgrel=2
+pkgver=1.2.3
+pkgrel=1
 pkgdesc="The free and open source internet TV platform"
 arch=('i686' 'x86_64')
 url="http://www.getmiro.com"
@@ -14,11 +14,15 @@
 conflicts=('democracy')
 replaces=('democracy')
 provides=('democracy')
-source=(http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-$pkgver.tar.gz)
-md5sums=('250b37ced7a4753c5717fb65bd2ad6d3')
+source=(http://ftp.osuosl.org/pub/pculture.org/miro/src/Miro-$pkgver.tar.gz
+        missing-headers.patch)
+md5sums=('a617324bee59ff83549ed44d9e96eed5'
+         'b5482eac565a26817af0105b061a8ad5')
 
 build() {
   cd $startdir/src/Miro-$pkgver/
+  patch -p1 < $startdir/src/missing-headers.patch
+
   cd platform/gtk-x11
   python setup.py install --root=$startdir/pkg || return 1
 }

Added: missing-headers.patch
===================================================================
--- missing-headers.patch	                        (rev 0)
+++ missing-headers.patch	2008-05-07 08:01:05 UTC (rev 1391)
@@ -0,0 +1,33 @@
+diff -ur a/portable/libtorrent/include/libtorrent/peer_id.hpp b/portable/libtorrent/include/libtorrent/peer_id.hpp
+--- a/portable/libtorrent/include/libtorrent/peer_id.hpp	2008-04-22 10:17:04.000000000 -0500
++++ b/portable/libtorrent/include/libtorrent/peer_id.hpp	2008-05-07 01:51:09.000000000 -0500
+@@ -38,6 +38,7 @@
+ #include <cctype>
+ #include <algorithm>
+ #include <string>
++#include <cstring>
+ 
+ #include "libtorrent/config.hpp"
+ #include "libtorrent/assert.hpp"
+diff -ur a/portable/libtorrent/src/entry.cpp b/portable/libtorrent/src/entry.cpp
+--- a/portable/libtorrent/src/entry.cpp	2008-04-22 10:17:04.000000000 -0500
++++ b/portable/libtorrent/src/entry.cpp	2008-05-07 02:16:14.000000000 -0500
+@@ -33,6 +33,7 @@
+ #include "libtorrent/pch.hpp"
+ 
+ #include <algorithm>
++#include <iostream>
+ #include <iomanip>
+ #include "libtorrent/entry.hpp"
+ #include "libtorrent/config.hpp"
+diff -ur a/portable/libtorrent/src/file.cpp b/portable/libtorrent/src/file.cpp
+--- a/portable/libtorrent/src/file.cpp	2008-04-22 10:17:04.000000000 -0500
++++ b/portable/libtorrent/src/file.cpp	2008-05-07 01:53:04.000000000 -0500
+@@ -68,6 +68,7 @@
+ #include <boost/filesystem/operations.hpp>
+ #include "libtorrent/file.hpp"
+ #include <sstream>
++#include <cstring>
+ 
+ #ifndef O_BINARY
+ #define O_BINARY 0





More information about the arch-commits mailing list