3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
guix/gnu/packages/patches/jfsutils-add-sysmacros.patch
Tobias Geerinckx-Rice e9e75da6e1
gnu: Add jfsutils.
* gnu/packages/file-systems.scm (jfsutils): New public variable.
2019-12-31 01:52:38 +01:00

26 lines
655 B
Diff

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"