From 4b4a62ec0760873b96b738751bf9492aa2efb922 Mon Sep 17 00:00:00 2001 From: Oleksandr Kravchuk Date: Mon, 13 Mar 2017 09:56:35 +0100 Subject: recipes: delete obsolete patches Deleted bunch of patches which are not used anymore by any recipe. Signed-off-by: Oleksandr Kravchuk Signed-off-by: Martin Jansa --- ...x-lib64-can-not-be-shiped-in-64bit-target.patch | 36 ----------- .../liblockfile/liblockfile-1.09/glibc-2.4.patch | 70 ---------------------- 2 files changed, 106 deletions(-) delete mode 100644 meta-oe/recipes-extended/konkretcmpi/konkretcmpi/0001-to-fix-lib64-can-not-be-shiped-in-64bit-target.patch delete mode 100644 meta-oe/recipes-extended/liblockfile/liblockfile-1.09/glibc-2.4.patch (limited to 'meta-oe/recipes-extended') diff --git a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi/0001-to-fix-lib64-can-not-be-shiped-in-64bit-target.patch b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi/0001-to-fix-lib64-can-not-be-shiped-in-64bit-target.patch deleted file mode 100644 index 7da13ee3d..000000000 --- a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi/0001-to-fix-lib64-can-not-be-shiped-in-64bit-target.patch +++ /dev/null @@ -1,36 +0,0 @@ -From f3c39fd2a4b5f53338b5f821788c63858bf860cf Mon Sep 17 00:00:00 2001 -From: Lei Maohui -Date: Sun, 2 Aug 2015 22:08:43 +0900 -Subject: [PATCH] to fix lib64 can not be shiped in 64bit target - -To fix the warning as following: -WARNING: QA Issue: konkretcmpi: Files/directories were installed but not shipped in any package: - /usr/lib64 - /usr/lib64/libkonkret.so - /usr/lib64/libkonkret.so.0.0.1 - /usr/lib64/libkonkret.so.0 - /usr/lib64/libkonkretmof.so.0.0.1 - /usr/lib64/libkonkretmof.so - ... - -Signed-off-by: Lei Maohui ---- - cmake/modules/FindKonkretCMPI.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/cmake/modules/FindKonkretCMPI.cmake b/cmake/modules/FindKonkretCMPI.cmake -index b888cfd..097caed 100644 ---- a/cmake/modules/FindKonkretCMPI.cmake -+++ b/cmake/modules/FindKonkretCMPI.cmake -@@ -9,7 +9,7 @@ find_path(KONKRETCMPI_INCLUDE_DIR - find_library(KONKRETCMPI_LIBRARY - NAMES konkret - HINTS $ENV{KONKRETCMPI_LIB_DIR} -- PATH_SUFFIXES lib64 lib -+ PATH_SUFFIXES lib lib64 - PATHS /usr /usr/local - ) - --- -1.8.4.2 - diff --git a/meta-oe/recipes-extended/liblockfile/liblockfile-1.09/glibc-2.4.patch b/meta-oe/recipes-extended/liblockfile/liblockfile-1.09/glibc-2.4.patch deleted file mode 100644 index e3c4aaae5..000000000 --- a/meta-oe/recipes-extended/liblockfile/liblockfile-1.09/glibc-2.4.patch +++ /dev/null @@ -1,70 +0,0 @@ -The local function eaccess conflicts with a glibc function of the same name. -Rename the function so that this can be build under glibc 2.4, and older -revisions, without any problems. - ---- liblockfile-1.06/dotlockfile.c 2006/07/10 03:17:40 1.1 -+++ liblockfile-1.06/dotlockfile.c 2006/07/10 03:18:26 -@@ -42,7 +42,7 @@ - extern int optind; - #endif - --extern int eaccess(char *, gid_t, struct stat *); -+extern int xeaccess(char *, gid_t, struct stat *); - - /* - * Sleep for an amout of time while regulary checking if -@@ -252,14 +252,14 @@ - return L_ERROR; - } - gid = getgid(); -- if (eaccess(dir, gid, &st) < 0) { -+ if (xeaccess(dir, gid, &st) < 0) { - if (errno == ENOENT) { - enoent: - if (!quiet) fprintf(stderr, - "dotlockfile: %s: no such directory\n", dir); - return L_TMPLOCK; - } -- if ((r = eaccess(dir, getegid(), &st) < 0) && errno == ENOENT) -+ if ((r = xeaccess(dir, getegid(), &st) < 0) && errno == ENOENT) - goto enoent; - if (r < 0 || !ismaillock(lockfile, pwd->pw_name)) { - if (!quiet) fprintf(stderr, -@@ -272,7 +272,7 @@ - /* - * Now we should be able to chdir() to the lock directory. - * When we stat("."), it should be the same as at the -- * eaccess() check or someone played symlink() games on us. -+ * xeaccess() check or someone played symlink() games on us. - */ - if (chdir(dir) < 0 || stat(".", &st2) < 0) { - if (!quiet) fprintf(stderr, ---- liblockfile-1.06/lockfile.c 2006/07/10 03:17:40 1.1 -+++ liblockfile-1.06/lockfile.c 2006/07/10 03:18:26 -@@ -54,7 +54,7 @@ - #ifdef LIB - static - #endif --int eaccess(char *fn, gid_t gid, struct stat *st) -+int xeaccess(char *fn, gid_t gid, struct stat *st) - { - struct stat tmp; - uid_t uid = geteuid(); -@@ -96,7 +96,7 @@ - *p = 0; - else - strcpy(dir, "."); -- if (eaccess(dir, egid, NULL) >= 0) { -+ if (xeaccess(dir, egid, NULL) >= 0) { - free(dir); - return 0; - } -@@ -111,7 +111,7 @@ - return 0; - mailgid = st.st_gid; - } -- ret = eaccess(dir, mailgid, NULL) >= 0; -+ ret = xeaccess(dir, mailgid, NULL) >= 0; - free (dir); - return ret; - } -- cgit v1.2.3-54-g00ecf