From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] zeitgeist: fix build with new vala
Date: Mon, 27 Sep 2021 23:24:06 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33161@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
There is a new pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages zeitgeist-fix-build
https://github.com/void-linux/void-packages/pull/33161
zeitgeist: fix build with new vala
None
A patch file from https://github.com/void-linux/void-packages/pull/33161.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zeitgeist-fix-build-33161.patch --]
[-- Type: text/x-diff, Size: 1538 bytes --]
From 00546d0d11f20fc6bd9b00a38f19ec2b6da7674f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 27 Sep 2021 23:23:19 +0200
Subject: [PATCH] zeitgeist: fix build with new vala
---
.../0001-Use-GenericArray-API-only.patch | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 srcpkgs/zeitgeist/patches/0001-Use-GenericArray-API-only.patch
diff --git a/srcpkgs/zeitgeist/patches/0001-Use-GenericArray-API-only.patch b/srcpkgs/zeitgeist/patches/0001-Use-GenericArray-API-only.patch
new file mode 100644
index 000000000000..29245dc385f6
--- /dev/null
+++ b/srcpkgs/zeitgeist/patches/0001-Use-GenericArray-API-only.patch
@@ -0,0 +1,25 @@
+From 64ac3a6f94cd299e5e14945dc31b48f009dec152 Mon Sep 17 00:00:00 2001
+From: Rico Tzschichholz <ricotz@ubuntu.com>
+Date: Wed, 30 Dec 2020 16:50:32 +0100
+Subject: [PATCH] Use GenericArray API only
+
+---
+ libzeitgeist/where-clause.vala | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libzeitgeist/where-clause.vala b/libzeitgeist/where-clause.vala
+index 204e9b1a..c3e6fa62 100644
+--- a/libzeitgeist/where-clause.vala
++++ b/libzeitgeist/where-clause.vala
+@@ -216,7 +216,7 @@ namespace Zeitgeist
+ #else
+ long[] pointers = new long[gptrarr.length + 1];
+ #endif
+- Memory.copy(pointers, ((PtrArray *) gptrarr)->pdata,
++ Memory.copy(pointers, (void*) gptrarr.data,
+ gptrarr.length * sizeof (void *));
+ return (T[]) pointers;
+ }
+--
+2.31.1
+
next reply other threads:[~2021-09-27 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 21:24 paper42 [this message]
2021-09-27 22:05 ` [PR PATCH] [Merged]: " paper42
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33161@inbox.vuxu.org \
--to=paper42@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).