[arch-commits] Commit in blobby2/trunk (PKGBUILD ostream-include.patch)
Evangelos Foutras
foutrelis at archlinux.org
Wed Jun 10 15:17:39 UTC 2015
Date: Wednesday, June 10, 2015 @ 17:17:39
Author: foutrelis
Revision: 135143
Add upstream patch to include missing header
Added:
blobby2/trunk/ostream-include.patch
Modified:
blobby2/trunk/PKGBUILD
-----------------------+
PKGBUILD | 5 ++++-
ostream-include.patch | 10 ++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-10 15:16:30 UTC (rev 135142)
+++ PKGBUILD 2015-06-10 15:17:39 UTC (rev 135143)
@@ -12,14 +12,17 @@
depends=('sdl2' 'physfs' 'libgl')
makedepends=('cmake' 'boost' 'mesa' 'zip')
source=(http://downloads.sourceforge.net/blobby/$pkgname-linux-$pkgver.tar.gz
- $pkgname.desktop
+ ostream-include.patch
+ $pkgname.desktop
$pkgname.png)
md5sums=('a6c89ae64693490385fa05c0a01b0a3b'
+ '926f1e5760769548562c2a569fe18196'
'ab05bed794ee78db693fd3036393275a'
'c1bc427b41a0a3facd771ac83c7fb412')
prepare() {
cd $srcdir/blobby-$pkgver
+ patch -Np2 -i ../ostream-include.patch # r1542 upstream
sed -i "s|data|/usr/share/blobby|g" src/main.cpp
sed -i "s|file\(filename\)|file(\"/usr/share/blobby\" + filename|g" src/main.cpp
}
Added: ostream-include.patch
===================================================================
--- ostream-include.patch (rev 0)
+++ ostream-include.patch 2015-06-10 15:17:39 UTC (rev 135143)
@@ -0,0 +1,10 @@
+--- a/trunk/src/NetworkMessage.cpp
++++ b/trunk/src/NetworkMessage.cpp
+@@ -23,6 +23,7 @@
+
+ /* includes */
+ #include <cstring>
++#include <ostream>
+
+ #include "UserConfig.h"
+ #include "SpeedController.h"
More information about the arch-commits
mailing list