[arch-commits] Commit in spdlog/trunk (PKGBUILD include_cassert.patch)

Brett Cornwall ainola at archlinux.org
Wed Dec 11 03:14:31 UTC 2019


    Date: Wednesday, December 11, 2019 @ 03:14:31
  Author: ainola
Revision: 536600

Rebuild spdlog for new fmt version ABI breakage

Added:
  spdlog/trunk/include_cassert.patch
Modified:
  spdlog/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |    8 ++++++--
 include_cassert.patch |   24 ++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-11 02:44:55 UTC (rev 536599)
+++ PKGBUILD	2019-12-11 03:14:31 UTC (rev 536600)
@@ -4,7 +4,7 @@
 
 pkgname=spdlog
 pkgver=1.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Very fast, header-only/compiled, C++ logging library'
 arch=('x86_64')
 url='https://github.com/gabime/spdlog'
@@ -13,11 +13,15 @@
 makedepends=('cmake')
 source=(
     "$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz"
+    "include_cassert.patch"
 )
-sha256sums=('821c85b120ad15d87ca2bc44185fa9091409777c756029125a02f81354072157')
+sha256sums=('821c85b120ad15d87ca2bc44185fa9091409777c756029125a02f81354072157'
+            '917916a246a784535bd2141de299ed396b497a24c6f1bc72222c9d69b7cbc6e2')
 
 prepare() {
     mkdir build
+    cd "$pkgname-$pkgver"
+    patch -p1 < ../include_cassert.patch
 }
 
 build() {

Added: include_cassert.patch
===================================================================
--- include_cassert.patch	                        (rev 0)
+++ include_cassert.patch	2019-12-11 03:14:31 UTC (rev 536600)
@@ -0,0 +1,24 @@
+diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h
+index fee3a3bf..d147c5e0 100644
+--- a/include/spdlog/details/circular_q.h
++++ b/include/spdlog/details/circular_q.h
+@@ -5,6 +5,7 @@
+ #pragma once
+ 
+ #include <vector>
++#include <cassert>
+ 
+ namespace spdlog {
+ namespace details {
+diff --git a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h
+index 77d0b1fb..6b740ca2 100644
+--- a/include/spdlog/details/thread_pool-inl.h
++++ b/include/spdlog/details/thread_pool-inl.h
+@@ -8,6 +8,7 @@
+ #endif
+ 
+ #include "spdlog/common.h"
++#include <cassert>
+ 
+ namespace spdlog {
+ namespace details {



More information about the arch-commits mailing list