Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (f151d20d4a02e93a558984f6cb354060f93567b4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (f151d20d4a02e93a558984f6cb354060f93567b4)
  • Date: Tue, 3 Jun 2025 02:14:44 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

python-pypi/python-netifaces/DEPENDS
| 2
python-pypi/python-netifaces/HISTORY
| 6 +-
python-pypi/python-netifaces/PRE_BUILD
| 3 +
python-pypi/python-netifaces/patches/0001-Fix-build-against-musl-libc.patch
| 26 ++++++++++
4 files changed, 35 insertions(+), 2 deletions(-)

New commits:
commit f151d20d4a02e93a558984f6cb354060f93567b4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

python-netifaces: Switch to python3

commit e38284e8dfc19b1fbfe6e399d7fa99267fa12ec2
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

python-netifaces: Fix build against musl

diff --git a/python-pypi/python-netifaces/DEPENDS
b/python-pypi/python-netifaces/DEPENDS
index e4ea57a..8c09196 100755
--- a/python-pypi/python-netifaces/DEPENDS
+++ b/python-pypi/python-netifaces/DEPENDS
@@ -1 +1 @@
-depends PYTHON
+depends python3
diff --git a/python-pypi/python-netifaces/HISTORY
b/python-pypi/python-netifaces/HISTORY
index dcd1c33..2c1677b 100644
--- a/python-pypi/python-netifaces/HISTORY
+++ b/python-pypi/python-netifaces/HISTORY
@@ -1,6 +1,10 @@
+2025-06-03 Ismael Luceno <ismael AT sourcemage.org
+ * PRE_BUILD, patches/0001-Fix-build-against-musl-libc.patch:
+ fixed build against musl
+ * DEPENDS: switch to ptyhon3
+
2024-05-12 Conner Clere <xenanthropy AT sourcemage.org>
* DETAILS: version 0.11.0, update source site

2013-03-30 Florian Franzmann <bwlf AT bandrate.org>
* DEPENDS, DETAILS: spell created
-
diff --git a/python-pypi/python-netifaces/PRE_BUILD
b/python-pypi/python-netifaces/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/python-pypi/python-netifaces/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git
a/python-pypi/python-netifaces/patches/0001-Fix-build-against-musl-libc.patch
b/python-pypi/python-netifaces/patches/0001-Fix-build-against-musl-libc.patch
new file mode 100644
index 0000000..abd8d54
--- /dev/null
+++
b/python-pypi/python-netifaces/patches/0001-Fix-build-against-musl-libc.patch
@@ -0,0 +1,26 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Subject: [PATCH] Fix build against musl libc
+Date: Tue, 3 Jun 2025 00:08:58 +0200
+
+Origin: Source Mage
+Upstream-Status: Pending
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ netifaces.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/netifaces.c b/netifaces.c
+index 839c42cb3001..8b4bd193334c 100644
+--- a/netifaces.c
++++ b/netifaces.c
+@@ -1805,9 +1805,6 @@ gateways (PyObject *self)
+ sizeof(sanl_from),
+ &iov,
+ 1,
+- NULL,
+- 0,
+- 0
+ };
+ int nllen;
+


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (f151d20d4a02e93a558984f6cb354060f93567b4), Ismael Luceno, 06/02/2025

Archive powered by MHonArc 2.6.24.

Top of Page