Bug#993874: slurm: diff for NMU version 0.4.3-2.1

2022-11-27 Thread Philip Rinn

Hi,

ups, somehow d/changelog was not finalized, here the final version:


diff -Nru slurm-0.4.3/debian/changelog slurm-0.4.3/debian/changelog
--- slurm-0.4.3/debian/changelog2015-08-17 12:05:00.0 +0200
+++ slurm-0.4.3/debian/changelog2022-11-27 13:31:19.0 +0100
@@ -1,3 +1,10 @@
+slurm (0.4.3-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS by removing deprecated sys/sysctl.h (closes: #993874)
+
+ -- Philip Rinn   Sun, 27 Nov 2022 13:31:19 +0100
+
 slurm (0.4.3-2) unstable; urgency=medium

   * Fix broken debian/watch file.


Best regards
Philip


OpenPGP_signature
Description: OpenPGP digital signature


Bug#993874: slurm: diff for NMU version 0.4.3-2.1

2022-11-27 Thread Philip Rinn
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/changelog2015-08-17 12:05:00.0 +0200
+++ slurm-0.4.3/debian/changelog2022-11-27 13:15:07.0 +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   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.patch1970-01-01 
01:00:00.0 +0100
+++ slurm-0.4.3/debian/patches/fix-build-with-glib2.32.patch2022-11-27 
13:15:07.0 +0100
@@ -0,0 +1,23 @@
+From 82d634f81d53ed00b67dbafbf0c0d180e5ceca82 Mon Sep 17 00:00:00 2001
+From: Matthias Schmitz 
+Date: Wed, 8 Sep 2021 23:02:07 +0200
+Subject: [PATCH] Remove deprecated  from Linux build
+
+As already reported by Sam James (@thesamesam) and in the Debian
+bugtracker #993874 the  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 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
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.0 +0200
+++ slurm-0.4.3/debian/patches/series   2022-11-27 13:15:07.0 +0100
@@ -1 +1,2 @@
 0001-Fix-empty-lines-in-manpage.patch
+fix-build-with-glib2.32.patch