testing/hare-scfg: rebuild with new hare

This commit is contained in:
psykose 2023-05-06 14:30:52 +00:00
parent 3edc6bef66
commit 6f94c0ae62
2 changed files with 30 additions and 1 deletions

View File

@ -2,7 +2,7 @@
pkgname=hare-scfg pkgname=hare-scfg
pkgver=0_git20220501 pkgver=0_git20220501
_commit=822eb868ddd40df3b19e862303cdeddc33c3c1e4 _commit=822eb868ddd40df3b19e862303cdeddc33c3c1e4
pkgrel=0 pkgrel=1
pkgdesc="scfg implementation for Hare" pkgdesc="scfg implementation for Hare"
url="https://git.sr.ht/~chrisppy/hare-scfg" url="https://git.sr.ht/~chrisppy/hare-scfg"
arch="x86_64 aarch64" # hare arch="x86_64 aarch64" # hare
@ -10,6 +10,7 @@ license="MPL-2.0"
makedepends="hare" makedepends="hare"
source=" source="
$pkgname-$_commit.tar.gz::https://git.sr.ht/~chrisppy/hare-scfg/archive/$_commit.tar.gz $pkgname-$_commit.tar.gz::https://git.sr.ht/~chrisppy/hare-scfg/archive/$_commit.tar.gz
new-hare.patch
" "
builddir="$srcdir/$pkgname-$_commit" builddir="$srcdir/$pkgname-$_commit"
@ -27,4 +28,5 @@ package() {
sha512sums=" sha512sums="
f1e255f80be5251b1d15564f6c7193f59452a1dcd03236880c44edcdeecefcbf2f51f4d4a4c89d4a14e4bd87b2624a5259925a02f449cb1a529e533d00381b3f hare-scfg-822eb868ddd40df3b19e862303cdeddc33c3c1e4.tar.gz f1e255f80be5251b1d15564f6c7193f59452a1dcd03236880c44edcdeecefcbf2f51f4d4a4c89d4a14e4bd87b2624a5259925a02f449cb1a529e533d00381b3f hare-scfg-822eb868ddd40df3b19e862303cdeddc33c3c1e4.tar.gz
387a85ba10fa757da33fdb8e3ca999a5f09e3bc122808739c803646e1e9c92acf1b41f0e20727d2988a4e9c7eef64205ba3d24984f241182a996b94f91bbfb11 new-hare.patch
" "

View File

@ -0,0 +1,27 @@
Patch-Source: https://git.sr.ht/~chrisppy/hare-scfg/commit/41f9913d46d6928d902f58756ddf3304bed620d2
--
From 41f9913d46d6928d902f58756ddf3304bed620d2 Mon Sep 17 00:00:00 2001
From: Chris Palmer <chris@red-oxide.org>
Date: Tue, 13 Dec 2022 11:45:32 -0500
Subject: [PATCH] change to fromutf8
---
format/scfg/scan.ha | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/format/scfg/scan.ha b/format/scfg/scan.ha
index b83f040..7d5565e 100644
--- a/format/scfg/scan.ha
+++ b/format/scfg/scan.ha
@@ -22,7 +22,7 @@ export fn next(s: *scanner) (directive | io::EOF | error) = {
const line = match (bufio::scanline(s.in)?) {
case let b: []u8 =>
- yield strings::try_fromutf8(b)?;
+ yield strings::fromutf8(b)?;
case io::EOF =>
if (len(s.blocks) > 0) {
return s.lineno: syntaxerr;
--
2.38.4