Github messages for voidlinux
 help / color / mirror / Atom feed
From: jtbx <jtbx@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] dmd: update to 2.106.0
Date: Sun, 31 Dec 2023 08:26:18 +0100	[thread overview]
Message-ID: <20231231072618.KylCJIJ8nlVYOw8nGuHogjmsNHb8-R0mkvkcN1KjSbw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48004@inbox.vuxu.org>

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

There is an updated pull request by jtbx against master on the void-packages repository

https://github.com/jtbx/void-packages dmd-2.106.0
https://github.com/void-linux/void-packages/pull/48004

dmd: update to 2.106.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl

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

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

From 02c232f9680a88960f2c8e893b6043a5bf46f921 Mon Sep 17 00:00:00 2001
From: Jeremy Baxter <jtbx@duck.com>
Date: Sun, 31 Dec 2023 17:28:38 +1300
Subject: [PATCH] dmd: update to 2.106.0

---
 srcpkgs/dmd/files/musl.patch | 25 +++++++++++++++++++++++++
 srcpkgs/dmd/template         |  8 ++++----
 srcpkgs/dtools/template      |  2 +-
 3 files changed, 30 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/dmd/files/musl.patch b/srcpkgs/dmd/files/musl.patch
index 79b7bcd7e6d6c..6ebadd5a56c5a 100644
--- a/srcpkgs/dmd/files/musl.patch
+++ b/srcpkgs/dmd/files/musl.patch
@@ -10,3 +10,28 @@
          if (childpid == 0)
          {
              // pipe linker stderr to fds[0]
+https://github.com/dlang/dmd/pull/15971
+--- dmd/druntime/src/core/sys/posix/net/if_.d
++++ dmd/druntime/src/core/sys/posix/net/if_.d
+@@ -143,6 +143,21 @@ else version (CRuntime_Bionic)
+     uint            if_nametoindex(const scope char*);
+     char*           if_indextoname(uint, char*);
+ }
++else version (CRuntime_Musl)
++{
++    struct if_nameindex_t
++    {
++        uint    if_index;
++        char*   if_name;
++    }
++
++    enum IF_NAMESIZE = 16;
++
++    uint            if_nametoindex(const scope char*);
++    char*           if_indextoname(uint, char*);
++    if_nameindex_t* if_nameindex();
++    void            if_freenameindex(if_nameindex_t*);
++}
+ else version (CRuntime_UClibc)
+ {
+     struct if_nameindex_t
diff --git a/srcpkgs/dmd/template b/srcpkgs/dmd/template
index fc75ca12b918a..b247c8b6bab60 100644
--- a/srcpkgs/dmd/template
+++ b/srcpkgs/dmd/template
@@ -1,6 +1,6 @@
 # Template file for 'dmd'
 pkgname=dmd
-version=2.101.1
+version=2.106.0
 revision=1
 create_wrksrc=yes
 hostmakedepends="dmd2.091 which"
@@ -14,9 +14,9 @@ distfiles="
  https://github.com/dlang/dmd/archive/refs/tags/v${version}.tar.gz>dmd-${version}.tar.gz
  https://github.com/dlang/phobos/archive/v${version}.tar.gz>phobos-${version}.tar.gz
  http://downloads.dlang.org/releases/2.x/${version}/dmd.${version}.linux.tar.xz"
-checksum="e369396dbbe4eec9311122fa24c975688b209a000bf2062a9f86b49ab2e4a7b0
- 8a275b3f46d921be87744ec80d3094421a979d6f607dbd43e88e251bbb3f503a
- 58333e57ed3812077dc2f8cc8759998b3b59c9ea3dbe01571eab4b2944a84bfe"
+checksum="1079649c41a9b8e0d3e81c573c82d84cd6873b3afc95b37d6f5206842cedc7c9
+ 3f926ee26905c2f6fe457e7ad2fe4feac8cad83c571a70adea30b6cd4a4366b6
+ b6fdfa4d12ab552e837c1edc77a9ccb873bd65cb98adff2dbc86c949482d5e9f"
 conf_files="/etc/dmd.conf"
 provides="d-compiler-${version}_${revision}"
 conflicts="dmd-bootstrap dmd2.081 dmd2.091"
diff --git a/srcpkgs/dtools/template b/srcpkgs/dtools/template
index f8bc5b41e19a3..374714954d42e 100644
--- a/srcpkgs/dtools/template
+++ b/srcpkgs/dtools/template
@@ -2,7 +2,7 @@
 pkgname=dtools
 # keep this synchronized with libphobos and dmd
 version=2.101.1
-revision=1
+revision=2
 hostmakedepends="dmd"
 makedepends="libcurl-devel"
 depends="libphobos>=${version}"

  reply	other threads:[~2023-12-31  7:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-31  5:04 [PR PATCH] " jtbx
2023-12-31  7:26 ` jtbx [this message]
2024-01-07  5:01 ` [PR PATCH] [Updated] " jtbx
2024-04-07  1:46 ` dmd: update to 2.106.1 github-actions
2024-04-07  2:16 ` jtbx
2024-04-07  2:16 ` [PR PATCH] [Closed]: " jtbx

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=20231231072618.KylCJIJ8nlVYOw8nGuHogjmsNHb8-R0mkvkcN1KjSbw@z \
    --to=jtbx@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).