summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/jfsutils-add-sysmacros.patch
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-12-12 02:19:20 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-12-31 01:52:38 +0100
commite9e75da6e19437ad1fc4a25a87d2e7456b51b3b1 (patch)
tree50b18bc1d26ccc392cac06a477970943b4ec4d30 /gnu/packages/patches/jfsutils-add-sysmacros.patch
parentf92ebd57e4edeae2cbae85e978e23655f8733f16 (diff)
downloadguix-patches-e9e75da6e19437ad1fc4a25a87d2e7456b51b3b1.tar
guix-patches-e9e75da6e19437ad1fc4a25a87d2e7456b51b3b1.tar.gz
gnu: Add jfsutils.
* gnu/packages/file-systems.scm (jfsutils): New public variable.
Diffstat (limited to 'gnu/packages/patches/jfsutils-add-sysmacros.patch')
-rw-r--r--gnu/packages/patches/jfsutils-add-sysmacros.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/patches/jfsutils-add-sysmacros.patch b/gnu/packages/patches/jfsutils-add-sysmacros.patch
new file mode 100644
index 0000000000..2349e37c06
--- /dev/null
+++ b/gnu/packages/patches/jfsutils-add-sysmacros.patch
@@ -0,0 +1,26 @@
+From: Tobias Geerinckx-Rice <me@tobias.gr>
+Date: Thu, 12 Dec 2019 02:15:37 +0100
+Subject: gnu: jfsutils: Include sys/sysmacros.h.
+
+Copied verbatim[0] from the Debian package.
+
+[0]: https://sources.debian.org/patches/jfsutils/1.1.15-4/add_sysmacros.patch
+
+Description: Include sys/sysmacros.h
+ Mentioned header needed for major() definition.
+Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Last-Update: 2018-12-11
+
+---
+
+--- jfsutils-1.1.15.orig/libfs/devices.c
++++ jfsutils-1.1.15/libfs/devices.c
+@@ -49,6 +49,8 @@
+ #include <sys/disklabel.h>
+ #endif
+
++#include <sys/sysmacros.h>
++
+ #include "jfs_types.h"
+ #include "jfs_filsys.h"
+ #include "devices.h"