File: jfsutils-include-systypes.patch

package info (click to toggle)
guix 1.4.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 161,500 kB
  • sloc: lisp: 861,023; cpp: 10,741; javascript: 9,632; sh: 8,913; makefile: 951; ansic: 558; python: 129; sql: 33; sed: 16
file content (25 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Thu, 12 Dec 2019 02:15:37 +0100
Subject: gnu: jfsutils: Include sys/types.h.

Copied verbatim[0] from the Debian package.

[0]: https://sources.debian.org/patches/jfsutils/1.1.15-4/missing-includes.diff

Description: Add missing include to fix FTBFS with eglibc 2.17
Origin: vendor, http://patches.ubuntu.com/j/jfsutils/jfsutils_1.1.15-2ubuntu1.patch
Bug-Debian: http://bugs.debian.org/701433
Last-Update: 2013-07-05

Index: b/fscklog/extract.c
===================================================================
--- a/fscklog/extract.c	2006-06-05 19:31:40.000000000 +0000
+++ b/fscklog/extract.c	2013-04-02 07:13:08.737654963 +0000
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/types.h>
 
 #include "devices.h"
 #include "diskmap.h"