diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/ksysguard/0001-Linux-softraid-define-_GNU_SOURCE-for-pipe2.patch | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/ksysguard/0001-Linux-softraid-define-_GNU_SOURCE-for-pipe2.patch')
-rw-r--r-- | user/ksysguard/0001-Linux-softraid-define-_GNU_SOURCE-for-pipe2.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/user/ksysguard/0001-Linux-softraid-define-_GNU_SOURCE-for-pipe2.patch b/user/ksysguard/0001-Linux-softraid-define-_GNU_SOURCE-for-pipe2.patch deleted file mode 100644 index 8828736f3..000000000 --- a/user/ksysguard/0001-Linux-softraid-define-_GNU_SOURCE-for-pipe2.patch +++ /dev/null @@ -1,31 +0,0 @@ -From d6fa7c0ab6c3a6b1494ffd12b93ee5cc2e4d3d5c Mon Sep 17 00:00:00 2001 -From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> -Date: Mon, 18 Mar 2019 14:34:26 -0500 -Subject: [PATCH] Linux softraid: define _GNU_SOURCE for pipe2 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -In a strict POSIX compilation environment, pipe2 is not defined. Use -the _GNU_SOURCE FTM to expose it. - -Fixes a failure to build ksysguard on Adélie Linux. ---- - ksysguardd/Linux/softraid.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/ksysguardd/Linux/softraid.c b/ksysguardd/Linux/softraid.c -index c2123fb7..96eb373e 100644 ---- a/ksysguardd/Linux/softraid.c -+++ b/ksysguardd/Linux/softraid.c -@@ -27,6 +27,7 @@ - #include <sys/types.h> /* for open */ - #include <sys/stat.h> /* for open */ - #include <fcntl.h> /* for open */ -+#define _GNU_SOURCE /* pipe2 */ - #include <unistd.h> /* for read, close, exec, fork */ - #include <stdlib.h> /* for exit */ - #include <sys/wait.h> /* for wait :) */ --- -2.19.2 - |