[arch-commits] Commit in ledger/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Jun 13 13:44:51 UTC 2022


    Date: Monday, June 13, 2022 @ 13:44:51
  Author: foutrelis
Revision: 1237524

Fix tests with boost 1.77

Modified:
  ledger/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-13 13:44:45 UTC (rev 1237523)
+++ PKGBUILD	2022-06-13 13:44:51 UTC (rev 1237524)
@@ -19,9 +19,21 @@
 	'emacs: emacs interface'
 	'python: python library'
 )
-source=("ledger-$pkgver.tar.gz::https://github.com/ledger/ledger/archive/v$pkgver.tar.gz")
-sha256sums=('92bf09bc385b171987f456fe3ee9fa998ed5e40b97b3acdd562b663aa364384a')
+source=("ledger-$pkgver.tar.gz::https://github.com/ledger/ledger/archive/v$pkgver.tar.gz"
+        $pkgname-boost-1.77-part1.patch::https://github.com/ledger/ledger/commit/2a0543398b5c.patch
+        $pkgname-boost-1.77-part2.patch::https://github.com/ledger/ledger/commit/ba8ec3243531.patch)
+sha256sums=('92bf09bc385b171987f456fe3ee9fa998ed5e40b97b3acdd562b663aa364384a'
+            'fde41098cedff9d12814db899cc9aa814d88ce6492a25fdfd581694112e310c6'
+            '22fc19f574499694a7720c7d3366af1669e0eb914a21e74d20364a0055dcfce8')
 
+prepare() {
+	cd "ledger-$pkgver"
+
+	# https://github.com/ledger/ledger/issues/2075
+	patch -Np1 -i ../$pkgname-boost-1.77-part1.patch
+	patch -Np1 -i ../$pkgname-boost-1.77-part2.patch
+}
+
 build() {
 	cd "ledger-$pkgver"
 



More information about the arch-commits mailing list