diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-01-29 00:25:35 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-29 00:31:53 +0100 |
commit | d420552f02af2ad6a15cf3a70b76bf86b222c07e (patch) | |
tree | 8ab7137ed9264312aee69292d009509e70357ea7 /community/mtd-utils | |
parent | 78a6ed13e4b5cd182f28be18694d543ae179446b (diff) | |
download | aports-d420552f02af2ad6a15cf3a70b76bf86b222c07e.tar.bz2 aports-d420552f02af2ad6a15cf3a70b76bf86b222c07e.tar.xz |
Remove more stale patches from community/
Diffstat (limited to 'community/mtd-utils')
4 files changed, 0 insertions, 107 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 deleted file mode 100644 index 7fa734c4e9..0000000000 --- a/community/mtd-utils/0001-unittests-test_lib-Include-proper-header-for-_IOC_SI.patch +++ /dev/null @@ -1,27 +0,0 @@ -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 - diff --git a/community/mtd-utils/0001_mtd-2.1.0_fix_tests.patch b/community/mtd-utils/0001_mtd-2.1.0_fix_tests.patch deleted file mode 100644 index 76d9dfd9a7..0000000000 --- a/community/mtd-utils/0001_mtd-2.1.0_fix_tests.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- mtd-utils-2.1.0/tests/unittests/test_lib.h.orig 2019-04-15 08:01:29.688043955 +0200 -+++ mtd-utils-2.1.0/tests/unittests/test_lib.h 2019-04-15 08:01:34.884030090 +0200 -@@ -1,3 +1,4 @@ -+#include <asm/ioctl.h> - #include <stdarg.h> - #include <setjmp.h> - #include <stddef.h> ---- mtd-utils-2.1.0/tests/unittests/libmtd_test.c.orig 2019-04-15 08:02:47.535836214 +0200 -+++ mtd-utils-2.1.0/tests/unittests/libmtd_test.c 2019-04-15 08:07:22.583102241 +0200 -@@ -1,3 +1,4 @@ -+#include <fcntl.h> - #include <stdarg.h> - #include <setjmp.h> - #include <stddef.h> ---- mtd-utils-2.1.0/Makefile.in.orig 2019-04-15 09:13:39.149755481 +0200 -+++ mtd-utils-2.1.0/Makefile.in 2019-04-15 09:14:13.689663316 +0200 -@@ -1710,7 +1710,7 @@ - @UNIT_TESTS_TRUE@mtdlib_test_SOURCES = tests/unittests/libmtd_test.c lib/libmtd.c lib/libmtd_legacy.c - @UNIT_TESTS_TRUE@mtdlib_test_LDADD = $(CMOCKA_LIBS) - @UNIT_TESTS_TRUE@mtdlib_test_LDFLAGS = -Wl,--wrap=open -Wl,--wrap=close -Wl,--wrap=ioctl -Wl,--wrap=read -Wl,--wrap=lseek -Wl,--wrap=write --@UNIT_TESTS_TRUE@mtdlib_test_CPPFLAGS = -O0 --std=gnu99 $(CMOCKA_CFLAGS) -I$(top_srcdir)/lib/ -I$(top_srcdir)/include -DSYSFS_ROOT='"$(top_srcdir)/tests/unittests/sysfs_mock"' -+@UNIT_TESTS_TRUE@mtdlib_test_CPPFLAGS = -O0 -D_GNU_SOURCE --std=gnu99 $(CMOCKA_CFLAGS) -I$(top_srcdir)/lib/ -I$(top_srcdir)/include -DSYSFS_ROOT='"$(top_srcdir)/tests/unittests/sysfs_mock"' - @UNIT_TESTS_TRUE@TEST_BINS = \ - @UNIT_TESTS_TRUE@ ubilib_test \ - @UNIT_TESTS_TRUE@ mtdlib_test diff --git a/community/mtd-utils/0002-unittests-libmtd_test-Include-fcntl-header.patch b/community/mtd-utils/0002-unittests-libmtd_test-Include-fcntl-header.patch deleted file mode 100644 index ef36ebc8f4..0000000000 --- a/community/mtd-utils/0002-unittests-libmtd_test-Include-fcntl-header.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 051b912155115d0966d90917aa2b601d958461a4 Mon Sep 17 00:00:00 2001 -From: Olliver Schinagl <oliver@schinagl.nl> -Date: Mon, 15 Apr 2019 09:49:06 +0200 -Subject: [PATCH 2/3] unittests/libmtd_test: Include fcntl header - -The test library for the mtd unit tests include various type's and -macro's that officially live in fcntl. Each file and header should -always properly include what they use, so lets add the fcntl headers. - -Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> ---- - tests/unittests/libmtd_test.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tests/unittests/libmtd_test.c b/tests/unittests/libmtd_test.c -index 633d94a..176d2ef 100644 ---- a/tests/unittests/libmtd_test.c -+++ b/tests/unittests/libmtd_test.c -@@ -1,3 +1,4 @@ -+#include <fcntl.h> - #include <stdarg.h> - #include <setjmp.h> - #include <stddef.h> --- -2.20.1 - diff --git a/community/mtd-utils/0003-unittests-Define-the-use-of-_GNU_SOURCE.patch b/community/mtd-utils/0003-unittests-Define-the-use-of-_GNU_SOURCE.patch deleted file mode 100644 index b795317889..0000000000 --- a/community/mtd-utils/0003-unittests-Define-the-use-of-_GNU_SOURCE.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 3022a9900380b4547d158ce3cca59b71b5a32780 Mon Sep 17 00:00:00 2001 -From: Olliver Schinagl <oliver@schinagl.nl> -Date: Mon, 15 Apr 2019 09:50:22 +0200 -Subject: [PATCH 3/3] unittests: Define the use of _GNU_SOURCE - -The unittest suite actually makes use of some _GNU extensions during the -build (loff_t for example). So lets enable this in the makefile. - -Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> ---- - tests/unittests/Makemodule.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/unittests/Makemodule.am b/tests/unittests/Makemodule.am -index b7ae575..df1041d 100644 ---- a/tests/unittests/Makemodule.am -+++ b/tests/unittests/Makemodule.am -@@ -6,7 +6,7 @@ ubilib_test_CPPFLAGS = -O0 --std=gnu99 $(CMOCKA_CFLAGS) -I$(top_srcdir)/include - mtdlib_test_SOURCES = tests/unittests/libmtd_test.c lib/libmtd.c lib/libmtd_legacy.c - mtdlib_test_LDADD = $(CMOCKA_LIBS) - mtdlib_test_LDFLAGS = -Wl,--wrap=open -Wl,--wrap=close -Wl,--wrap=ioctl -Wl,--wrap=read -Wl,--wrap=lseek -Wl,--wrap=write --mtdlib_test_CPPFLAGS = -O0 --std=gnu99 $(CMOCKA_CFLAGS) -I$(top_srcdir)/lib/ -I$(top_srcdir)/include -DSYSFS_ROOT='"$(top_srcdir)/tests/unittests/sysfs_mock"' -+mtdlib_test_CPPFLAGS = -O0 -D_GNU_SOURCE --std=gnu99 $(CMOCKA_CFLAGS) -I$(top_srcdir)/lib/ -I$(top_srcdir)/include -DSYSFS_ROOT='"$(top_srcdir)/tests/unittests/sysfs_mock"' - - TEST_BINS = \ - ubilib_test \ --- -2.20.1 - |