[arch-commits] Commit in cor/trunk (PKGBUILD cor-gcc7.patch)
Antonio Rojas
arojas at archlinux.org
Mon Jun 4 19:19:15 UTC 2018
Date: Monday, June 4, 2018 @ 19:19:14
Author: arojas
Revision: 340439
BUILDINFO rebuild
Added:
cor/trunk/cor-gcc7.patch
Modified:
cor/trunk/PKGBUILD
----------------+
PKGBUILD | 10 +++++++---
cor-gcc7.patch | 10 ++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-04 19:09:01 UTC (rev 340438)
+++ PKGBUILD 2018-06-04 19:19:14 UTC (rev 340439)
@@ -3,7 +3,7 @@
pkgname=cor
pkgver=0.1.17
-pkgrel=2
+pkgrel=3
pkgdesc="Just another C++/C library"
arch=('x86_64')
url="https://git.merproject.org/mer-core/cor"
@@ -10,11 +10,15 @@
license=('LGPL')
depends=('systemd')
makedepends=('git' 'cmake' 'tut')
-source=("git+https://git.merproject.org/mer-core/cor.git#tag=$pkgver")
-sha256sums=('SKIP')
+source=("git+https://git.merproject.org/mer-core/cor.git#tag=$pkgver" cor-gcc7.patch)
+sha256sums=('SKIP'
+ '1aaaf4b404b57b0b93d63211d1fe5919efb1441a7958a208bf07115cec55a4e2')
prepare() {
mkdir build
+
+ cd cor
+ patch -p1 -i ../cor-gcc7.patch # Fix build with GCC 7
}
build() {
Added: cor-gcc7.patch
===================================================================
--- cor-gcc7.patch (rev 0)
+++ cor-gcc7.patch 2018-06-04 19:19:14 UTC (rev 340439)
@@ -0,0 +1,10 @@
+--- cor/include/cor/util.hpp.orig 2018-06-04 19:16:23.000259938 +0000
++++ cor/include/cor/util.hpp 2018-06-04 19:17:39.930258477 +0000
+@@ -11,6 +11,7 @@
+ #include <stack>
+ #include <sstream>
+ #include <memory>
++#include <functional>
+
+ #include <ctime>
+
More information about the arch-commits
mailing list