Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] astroid: update to 0.15
Date: Tue, 22 Oct 2019 15:40:02 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15696@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

There is a new pull request by bitmeise against master on the void-packages repository

https://github.com/bitmeise/void-packages astroid015
https://github.com/void-linux/void-packages/pull/15696

astroid: update to 0.15


A patch file from https://github.com/void-linux/void-packages/pull/15696.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-astroid015-15696.patch --]
[-- Type: text/x-diff, Size: 3403 bytes --]

From cfacf380bf9832e0243b5aae56ce0da5fc9e6260 Mon Sep 17 00:00:00 2001
From: Ameise <ameise@bitparlament.de>
Date: Tue, 22 Oct 2019 17:33:33 +0200
Subject: [PATCH] astroid: update to 0.15

---
 ...5bbdae9939cf4716ca2ff47dee75f1f3f57e.patch | 53 -------------------
 srcpkgs/astroid/template                      |  7 ++-
 2 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 srcpkgs/astroid/patches/03e05bbdae9939cf4716ca2ff47dee75f1f3f57e.patch

diff --git a/srcpkgs/astroid/patches/03e05bbdae9939cf4716ca2ff47dee75f1f3f57e.patch b/srcpkgs/astroid/patches/03e05bbdae9939cf4716ca2ff47dee75f1f3f57e.patch
deleted file mode 100644
index 6368c7e9631..00000000000
--- a/srcpkgs/astroid/patches/03e05bbdae9939cf4716ca2ff47dee75f1f3f57e.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 03e05bbdae9939cf4716ca2ff47dee75f1f3f57e Mon Sep 17 00:00:00 2001
-From: Gaute Hope <eg@gaute.vetsj.com>
-Date: Sat, 20 Oct 2018 19:38:01 +0200
-Subject: [PATCH] ae: correctly allocate buffer array (-pedantic)
-
-char[n] is technically not allowed in C++, and seems to cause trouble in
-this case.
----
- .../thread_view/webextension/ae_protocol.cc     | 17 ++++++++++++++---
- 1 file changed, 14 insertions(+), 3 deletions(-)
-
-diff --git a/src/modes/thread_view/webextension/ae_protocol.cc b/src/modes/thread_view/webextension/ae_protocol.cc
-index 735b219b..6687b97b 100644
---- a/src/modes/thread_view/webextension/ae_protocol.cc
-+++ b/src/modes/thread_view/webextension/ae_protocol.cc
-@@ -59,7 +59,12 @@ namespace Astroid {
-     s &= ostream->write_all ((char*) &mt, sizeof (mt), written);
- 
-     /* send message */
--    s &= ostream->write_all (o, written);
-+    try {
-+      s &= ostream->write_all (o, written);
-+    } catch (Gio::Error &ex) {
-+      LOG (error) << "ae: error: " << ex.what ();
-+      throw;
-+    }
-     ostream->flush ();
- 
-     if (!s) {
-@@ -154,8 +159,13 @@ namespace Astroid {
-     }
- 
-     /* read message */
--    gchar buffer[msg_sz + 1]; buffer[msg_sz] = '\0';
--    s = istream->read_all (buffer, msg_sz, read, reader_cancel);
-+    gchar * buffer = new gchar[msg_sz];
-+    try {
-+      s = istream->read_all (buffer, msg_sz, read, reader_cancel);
-+    } catch (Gio::Error &ex) {
-+      LOG (error) << "ae: error (read): " << ex.code() << ", " <<  ex.what ();
-+      throw;
-+    }
- 
-     if (!s || read != msg_sz) {
-       LOG (error) << "reader: error while reading message (size: " << msg_sz << ")";
-@@ -163,6 +173,7 @@ namespace Astroid {
-     }
- 
-     msg_str = std::string (buffer, msg_sz);
-+    delete [] buffer;
-     return mt;
-   }
- 
diff --git a/srcpkgs/astroid/template b/srcpkgs/astroid/template
index 31bd1e6a4f6..34ffa93c83f 100644
--- a/srcpkgs/astroid/template
+++ b/srcpkgs/astroid/template
@@ -1,7 +1,7 @@
 # Template file for 'astroid'
 pkgname=astroid
-version=0.14
-revision=6
+version=0.15
+revision=1
 build_style=cmake
 hostmakedepends="pkg-config scdoc protobuf"
 makedepends="libnotmuch-devel gtkmm-devel webkit2gtk-devel libsass-devel
@@ -12,5 +12,4 @@ maintainer="Ameise <ameise@bitparlament.de>"
 license="GPL-3.0-or-later"
 homepage="http://astroidmail.github.io/"
 distfiles="https://github.com/astroidmail/astroid/archive/v${version}.tar.gz"
-checksum=f2642968919527008d383b4c32d4b038c7b6f785ea084dde1222a65162ebc5ca
-patch_args="-p1"
+checksum=8581bbdbc71bd00d4cdd473cfad8bc604628bb15616fe5eab5c623461f686c65

             reply	other threads:[~2019-10-22 13:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-22 13:40 voidlinux-github [this message]
2019-10-30 18:13 ` [PR PATCH] [Closed]: " voidlinux-github
2019-10-30 21:12 ` voidlinux-github
2021-08-06 14:54 [PR PATCH] " bitmeise

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-15696@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).