Control: tags 993874 + pending

Dear maintainer,

I've prepared an NMU for slurm (versioned as 0.4.3-2.1) and
uploaded it to DELAYED/14. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru slurm-0.4.3/debian/changelog slurm-0.4.3/debian/changelog
--- slurm-0.4.3/debian/changelog        2015-08-17 12:05:00.000000000 +0200
+++ slurm-0.4.3/debian/changelog        2022-11-27 13:15:07.000000000 +0100
@@ -1,3 +1,10 @@
+slurm (0.4.3-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS by removing deprecated sys/sysctl.h (closes: #993874)
+
+ -- Philip Rinn <ri...@debian.org>  Sun, 27 Nov 2022 13:15:07 +0100
+
 slurm (0.4.3-2) unstable; urgency=medium
 
   * Fix broken debian/watch file.
diff -Nru slurm-0.4.3/debian/patches/fix-build-with-glib2.32.patch 
slurm-0.4.3/debian/patches/fix-build-with-glib2.32.patch
--- slurm-0.4.3/debian/patches/fix-build-with-glib2.32.patch    1970-01-01 
01:00:00.000000000 +0100
+++ slurm-0.4.3/debian/patches/fix-build-with-glib2.32.patch    2022-11-27 
13:15:07.000000000 +0100
@@ -0,0 +1,23 @@
+From 82d634f81d53ed00b67dbafbf0c0d180e5ceca82 Mon Sep 17 00:00:00 2001
+From: Matthias Schmitz <matthias.schm...@port4949.net>
+Date: Wed, 8 Sep 2021 23:02:07 +0200
+Subject: [PATCH] Remove deprecated <sys/sysctl.h> from Linux build
+
+As already reported by Sam James (@thesamesam) and in the Debian
+bugtracker #993874 the <sys/sysctl.h> is deprecated since a while.
+---
+ os.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/os.h b/os.h
+index a268f86..fba5027 100644
+--- a/os.h
++++ b/os.h
+@@ -177,7 +177,6 @@
+ #elif defined (__linux__)             /* L I N U X */
+ #include <stdio.h>
+ #include <sys/param.h>
+-#include <sys/sysctl.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
+ #include <unistd.h>
diff -Nru slurm-0.4.3/debian/patches/series slurm-0.4.3/debian/patches/series
--- slurm-0.4.3/debian/patches/series   2015-08-17 11:47:31.000000000 +0200
+++ slurm-0.4.3/debian/patches/series   2022-11-27 13:15:07.000000000 +0100
@@ -1 +1,2 @@
 0001-Fix-empty-lines-in-manpage.patch
+fix-build-with-glib2.32.patch

Reply via email to