aboutsummaryrefslogtreecommitdiffstats
path: root/community/mtd-utils/0001-unittests-test_lib-Include-proper-header-for-_IOC_SI.patch
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2019-04-12 08:22:39 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-19 20:59:00 +0000
commit9a92e00856b85bd22f1bd0c51a7c5827d77617eb (patch)
tree2db0ae46efcf6e644e72a98ea80d183a95c42278 /community/mtd-utils/0001-unittests-test_lib-Include-proper-header-for-_IOC_SI.patch
parent6c10903577dc6c9b9768ba62c54701b1abd7c2c5 (diff)
downloadaports-9a92e00856b85bd22f1bd0c51a7c5827d77617eb.tar.bz2
aports-9a92e00856b85bd22f1bd0c51a7c5827d77617eb.tar.xz
community/mtd-utils: Version bump to 2.1.0
2.1.0 was released 4 weeks ago, so lets bump the version while we're here. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'community/mtd-utils/0001-unittests-test_lib-Include-proper-header-for-_IOC_SI.patch')
-rw-r--r--community/mtd-utils/0001-unittests-test_lib-Include-proper-header-for-_IOC_SI.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/mtd-utils/0001-unittests-test_lib-Include-proper-header-for-_IOC_SI.patch b/community/mtd-utils/0001-unittests-test_lib-Include-proper-header-for-_IOC_SI.patch
new file mode 100644
index 0000000000..7fa734c4e9
--- /dev/null
+++ b/community/mtd-utils/0001-unittests-test_lib-Include-proper-header-for-_IOC_SI.patch
@@ -0,0 +1,27 @@
+From f602ef9a7de97e4d9fd016b2aaa08ec5b4f86710 Mon Sep 17 00:00:00 2001
+From: Olliver Schinagl <oliver@schinagl.nl>
+Date: Mon, 15 Apr 2019 09:47:34 +0200
+Subject: [PATCH 1/3] unittests/test_lib: Include proper header for _IOC_SIZE
+
+The macro _IOC_SIZE is not part of sys/ioctl.h but lives in asm/ioctl.h
+so we should include the proper header. If we do not, some systems
+complain during linking that they cannot find the symbol _IOC_SIZE()
+which was not expanded by the pre-compiler.
+
+Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
+---
+ tests/unittests/test_lib.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/unittests/test_lib.h b/tests/unittests/test_lib.h
+index 7a6a003..cd94d9f 100644
+--- a/tests/unittests/test_lib.h
++++ b/tests/unittests/test_lib.h
+@@ -1,3 +1,4 @@
++#include <asm/ioctl.h>
+ #include <stdarg.h>
+ #include <setjmp.h>
+ #include <stddef.h>
+--
+2.20.1
+