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, 07 Jan 2024 06:01:04 +0100	[thread overview]
Message-ID: <20240107050104.QalmnNT_3Wd2dBZZfPuAECySYhlCaLchW9rVNlyx1Xs@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 d03f05d43158f7686564d897f1734b4030bd1b28 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.1

---
 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..26ba099d678b4 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.1
 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="298e2933a4cf87933f73e8ced52c34f4be97e884a4cb6f95e31754e62ba10fcb
+ acf2a27bb37f18aff300b5f38875c2af1dbb7203deddca7f870b3d69a791f333
+ 706c11fc80aa5c25a6b26093bebc51914050e58335791badf5181a6dd8764287"
 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}"

  parent reply	other threads:[~2024-01-07  5:01 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 ` [PR PATCH] [Updated] " jtbx
2024-01-07  5:01 ` jtbx [this message]
2024-04-07  1:46 ` dmd: update to 2.106.1 github-actions
2024-04-07  2:16 ` [PR PATCH] [Closed]: " jtbx
2024-04-07  2:16 ` 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=20240107050104.QalmnNT_3Wd2dBZZfPuAECySYhlCaLchW9rVNlyx1Xs@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).