aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocfs2-tools/musl-sys-raw.h.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-23 21:56:11 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-23 22:18:39 +0200
commit4f24ccb86c8a9d8b73bbcb2d2d4ba4bfceb5c96b (patch)
tree710d95ee14b9815b21685d08b1d60ef864d148fe /testing/ocfs2-tools/musl-sys-raw.h.patch
parentada13b6998155f1425ec53c9a6ceeac17a5cb7cd (diff)
downloadaports-4f24ccb86c8a9d8b73bbcb2d2d4ba4bfceb5c96b.tar.bz2
aports-4f24ccb86c8a9d8b73bbcb2d2d4ba4bfceb5c96b.tar.xz
testing/ocfs2-tools: rewrite aport and upgrade to 1.8.5
Note: We use the same ("unofficial"?) upstream as Fedora.
Diffstat (limited to 'testing/ocfs2-tools/musl-sys-raw.h.patch')
-rw-r--r--testing/ocfs2-tools/musl-sys-raw.h.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/ocfs2-tools/musl-sys-raw.h.patch b/testing/ocfs2-tools/musl-sys-raw.h.patch
new file mode 100644
index 0000000000..d29210d433
--- /dev/null
+++ b/testing/ocfs2-tools/musl-sys-raw.h.patch
@@ -0,0 +1,37 @@
+From: Jakub Jirutka <jakub@jirutka.cz>
+Date: Wed, 23 May 2018 21:18:00 +0200
+Subject: [PATCH] Replace include sys/raw.h with linux/raw.h
+
+--- a/debugfs.ocfs2/include/main.h
++++ b/debugfs.ocfs2/include/main.h
+@@ -45,7 +45,7 @@
+ #include <arpa/inet.h>
+ #include <netinet/in.h>
+ #include <signal.h>
+-#include <sys/raw.h>
++#include <linux/raw.h>
+ #include <linux/kdev_t.h>
+ #include <inttypes.h>
+ #include <utime.h>
+--- a/fswreck/include/main.h
++++ b/fswreck/include/main.h
+@@ -43,7 +43,7 @@
+ #include <arpa/inet.h>
+ #include <netinet/in.h>
+ #include <signal.h>
+-#include <sys/raw.h>
++#include <linux/raw.h>
+ #include <linux/kdev_t.h>
+ #include <inttypes.h>
+
+--- a/o2info/operations.c
++++ b/o2info/operations.c
+@@ -22,7 +22,7 @@
+ #define _GNU_SOURCE /* Because libc really doesn't want us using O_DIRECT? */
+
+ #include <errno.h>
+-#include <sys/raw.h>
++#include <linux/raw.h>
+ #include <inttypes.h>
+
+ #include "ocfs2/ocfs2.h"