Skip to Content.
Sympa Menu

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

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 (266f88e6a6a6526b5446b0f16494182f4b06689e)
  • Date: Sat, 18 May 2024 23:06:34 +0000

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

net/iproute2/DETAILS | 1
net/iproute2/HISTORY | 4
net/iproute2/PRE_BUILD | 1
net/iproute2/patches/0001-Fix-usage-of-poll.h-header.patch | 73
+++++++++++++
4 files changed, 79 insertions(+)

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

iproute2: Fix usage of <poll.h> header, PATCHLEVEL++

The standard path is <poll.h> instead of <sys/poll.h>.

diff --git a/net/iproute2/DETAILS b/net/iproute2/DETAILS
index 376596c..fa7964f 100755
--- a/net/iproute2/DETAILS
+++ b/net/iproute2/DETAILS
@@ -1,5 +1,6 @@
SPELL=iproute2
VERSION=6.9.0
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.xz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=${KERNEL_URL}/pub/linux/utils/net/iproute2/$SOURCE
diff --git a/net/iproute2/HISTORY b/net/iproute2/HISTORY
index ba4a175..ea718f7 100644
--- a/net/iproute2/HISTORY
+++ b/net/iproute2/HISTORY
@@ -1,3 +1,7 @@
+2024-05-18 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD: fixed usage of <poll.h> header
+ * DETAILS: PATCHLEVEL++
+
2024-05-13 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 6.9.0

diff --git a/net/iproute2/PRE_BUILD b/net/iproute2/PRE_BUILD
index 2ab7277..e826254 100755
--- a/net/iproute2/PRE_BUILD
+++ b/net/iproute2/PRE_BUILD
@@ -13,6 +13,7 @@ rm "${SOURCE_CACHE}/${SOURCE}" &&
SOURCE="${SOURCE}.xz" &&

cd "${SOURCE_DIRECTORY}" &&
+apply_patch_dir patches &&

if ! is_depends_enabled ${SPELL} $(get_spell_provider ${SPELL} LIBELF); then
sedit "s:libelf --:nolibelf --:" configure
diff --git a/net/iproute2/patches/0001-Fix-usage-of-poll.h-header.patch
b/net/iproute2/patches/0001-Fix-usage-of-poll.h-header.patch
new file mode 100644
index 0000000..1c32100
--- /dev/null
+++ b/net/iproute2/patches/0001-Fix-usage-of-poll.h-header.patch
@@ -0,0 +1,73 @@
+From 959366d9f8e9ff322f383813fb7bd2257491579a Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Sat, 18 May 2024 23:41:25 +0200
+Subject: [iproute2 PATCH] Fix usage of poll.h header
+
+Change the legacy <sys/poll.h> to <poll.h> (POSIX.1-2001).
+
+Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
+Upstream-Status: Submitted
+ [https://lore.kernel.org/netdev/20240518223946.22032-1-ismael AT iodev.co.uk]
+Origin: Source Mage
+---
+ misc/arpd.c | 2 +-
+ misc/ifstat.c | 2 +-
+ misc/nstat.c | 2 +-
+ misc/rtacct.c | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/misc/arpd.c b/misc/arpd.c
+index 65ac6a3828e6..3185620f7a74 100644
+--- a/misc/arpd.c
++++ b/misc/arpd.c
+@@ -14,7 +14,7 @@
+ #include <netdb.h>
+ #include <db_185.h>
+ #include <sys/ioctl.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <sys/uio.h>
+diff --git a/misc/ifstat.c b/misc/ifstat.c
+index 9b93ded32a61..faebe938e598 100644
+--- a/misc/ifstat.c
++++ b/misc/ifstat.c
+@@ -17,7 +17,7 @@
+ #include <sys/file.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <signal.h>
+diff --git a/misc/nstat.c b/misc/nstat.c
+index 07d010dec35f..fce3e9c1ec79 100644
+--- a/misc/nstat.c
++++ b/misc/nstat.c
+@@ -17,7 +17,7 @@
+ #include <sys/file.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <signal.h>
+diff --git a/misc/rtacct.c b/misc/rtacct.c
+index 08363bfd4f26..cd84b7f06b9b 100644
+--- a/misc/rtacct.c
++++ b/misc/rtacct.c
+@@ -16,7 +16,7 @@
+ #include <sys/file.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
+--
+2.44.0
+


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (266f88e6a6a6526b5446b0f16494182f4b06689e), Ismael Luceno, 05/18/2024

Archive powered by MHonArc 2.6.24.

Top of Page