recipes: delete obsolete patches

Deleted bunch of patches which are not used anymore by any recipe.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Oleksandr Kravchuk
2017-03-13 09:56:35 +01:00
committed by Martin Jansa
parent cd653249c2
commit 4b4a62ec07
28 changed files with 0 additions and 1133 deletions
@@ -1,39 +0,0 @@
Upstream-Status: Inappropriate [oe-core specific]
libhugetlbfs depends on perl, and perl installs a directory 'perl'
and make a symlink 'perl5' to it. So just install perl libs in
libhugetlbfs to directory 'perl' instead of 'perl5'. This can avoid
the following error:
| CalledProcessError: Command 'tar -cf - -C .../perl/5.14.3-r1/sysroot-destdir
| -ps . | tar -xf - -C .../tmp/sysroots/t4240qds'
| returned non-zero exit status 2 with output
| tar: ./usr/lib/perl5: Cannot create symlink to `perl': File exists
| tar: Exiting with failure status due to previous errors
Signed-off-by: Ting Liu <b28495@freescale.com>
--- a/Makefileold 2013-10-11 23:07:31.759421318 -0500
+++ b/Makefile 2013-10-11 23:08:01.935571122 -0500
@@ -173,17 +173,17 @@
DOCDIR = $(PREFIX)/share/doc/libhugetlbfs
ifdef CC32
-PMDIR = $(PREFIX)/lib/perl5/TLBC
+PMDIR = $(PREFIX)/lib/perl/TLBC
endif
ifdef CC64
ifeq ($(ARCH),x86_64)
-PMDIR = $(PREFIX)/lib/perl5/TLBC
+PMDIR = $(PREFIX)/lib/perl/TLBC
else
ifeq ($(ARCH),aarch64)
-PMDIR = $(PREFIX)/lib/perl5/TLBC
+PMDIR = $(PREFIX)/lib/perl/TLBC
else
-PMDIR = $(PREFIX)/lib64/perl5/TLBC
+PMDIR = $(PREFIX)/lib64/perl/TLBC
endif
endif
endif
@@ -1,58 +0,0 @@
From a130153ae84d8bb5914879cef94df09f06825c10 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Sat, 18 Jun 2011 11:25:36 +0200
Subject: [PATCH] buildsys: don't add /usr/include and /usr/lib to configure tests for libusb
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
config/usrp_libusb.m4 | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/config/usrp_libusb.m4 b/config/usrp_libusb.m4
index cc3410f..b421820 100644
--- a/config/usrp_libusb.m4
+++ b/config/usrp_libusb.m4
@@ -117,10 +117,6 @@ AC_DEFUN([USRP_LIBUSB], [
dnl configured to find this header.
AC_LANG_PUSH(C)
save_CPPFLAGS="$CPPFLAGS"
- if test x$USB_INCLUDEDIR != x; then
- USB_INCLUDES="-I$USB_INCLUDEDIR"
- CPPFLAGS="$USB_INCLUDES"
- fi
AC_MSG_CHECKING([$libusb_name for header $usb_header])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include "$usb_header"
@@ -172,9 +168,6 @@ AC_DEFUN([USRP_LIBUSB], [
*)
AC_LANG_PUSH(C)
save_CPPFLAGS="$CPPFLAGS"
- if test x$USB_INCLUDEDIR != x; then
- CPPFLAGS="$USB_INCLUDES"
- fi
save_LIBS="$LIBS"
LIBS="$USB_LIBS"
AC_MSG_CHECKING([$libusb_name for symbol usb_debug in library $usb_lib_name])
@@ -217,9 +210,6 @@ AC_DEFUN([USRP_LIBUSB], [
dnl final error checking, mostly to create #define's
AC_LANG_PUSH(C)
save_CPPFLAGS="$CPPFLAGS"
- if test x$USB_INCLUDEDIR != x; then
- CPPFLAGS="$USB_INCLUDES"
- fi
dnl Check for the header.
AC_CHECK_HEADERS([$usb_header], [], [libusbok=no])
CPPFLAGS="$save_CPPFLAGS"
@@ -231,9 +221,6 @@ AC_DEFUN([USRP_LIBUSB], [
dnl check for the library (again)
AC_LANG_PUSH(C)
save_CPPFLAGS="$CPPFLAGS"
- if test x$USB_INCLUDEDIR != x; then
- CPPFLAGS="$USB_INCLUDES"
- fi
save_LIBS="$LIBS"
LIBS="$USB_LIBS"
AC_CHECK_LIB([$usb_lib_name], [$usb_lib_func], [], [
--
1.6.6.1
@@ -1,16 +0,0 @@
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#
--- openobex-1.2/apps/Makefile.am~disable-cable-test
+++ openobex-1.2/apps/Makefile.am
@@ -6,7 +6,7 @@
obex_io.c obex_io.h \
obex_put_common.c obex_put_common.h
-bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test
+bin_PROGRAMS = irxfer obex_tcp irobex_palm3
obex_test_SOURCES = \
obex_test.c obex_test.h \
@@ -1,11 +0,0 @@
--- /tmp/acinclude.m4 2009-04-12 10:32:15.000000000 +0200
+++ openobex-1.5/acinclude.m4 2009-04-12 10:32:38.000000000 +0200
@@ -158,7 +158,7 @@
;;
*)
PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no))
- AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb")
+ REQUIRES="libusb"
;;
esac
AC_SUBST(USB_CFLAGS)
@@ -1,16 +0,0 @@
Fix detection of IrDA failing with B!=S
Upstream-Status: Pending
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
--- a/acinclude.m4 2014-05-24 14:05:41.757796816 +0100
+++ b/acinclude.m4 2014-05-24 14:03:06.556795536 +0100
@@ -54,6 +54,7 @@
])
AC_DEFUN([AC_PATH_IRDA_LINUX], [
+ CPPFLAGS="${CPPFLAGS} -I${srcdir}"
AC_CACHE_CHECK([for IrDA support], irda_found, [
AC_TRY_COMPILE([
#include <sys/socket.h>
@@ -1,31 +0,0 @@
--- a/src/proxy-libintl/Makefile.org 2009-09-12 23:19:04.989421607 -0700
+++ a/src/proxy-libintl/Makefile 2009-09-12 23:21:14.100640001 -0700
@@ -4,20 +4,20 @@ ZIPFILE = proxy-libintl-$(TIMESTAMP).zip
CC = gcc
CFLAGS = -Wall -I ../../include
-all : ../../lib/libintl.a ../../lib/intl.lib
+all : ../../lib/libintl.so ../../lib/intl.lib
-../../lib/libintl.a : libintl.o
- ar rc $@ libintl.o
+../../lib/libintl.so : libintl.o
+ $(CC) -shared -o $@ libintl.o
-../../lib/intl.lib : ../../lib/libintl.a
- cp ../../lib/libintl.a $@
- strip --strip-unneeded $@
+../../lib/intl.lib : ../../lib/libintl.so
+ cp ../../lib/libintl.so $@
+ $(STRIP) --strip-unneeded $@
libintl.o : libintl.c
$(CC) $(CFLAGS) -c libintl.c
clean :
- rm -f *.o ../../lib/libintl.a ../../$(ZIPFILE)
+ rm -f *.o ../../lib/libintl.so ../../$(ZIPFILE)
dist : clean all
- cd ../..; zip $(ZIPFILE) include/libintl.h lib/{libintl.a,intl.lib} src/proxy-libintl/{README.txt,COPYING.LIB.txt,Makefile,libintl.[ch]}; manifestify $(ZIPFILE)
+ cd ../..; zip $(ZIPFILE) include/libintl.h lib/{libintl.so,intl.lib} src/proxy-libintl/{README.txt,COPYING.LIB.txt,Makefile,libintl.[ch]}; manifestify $(ZIPFILE)
@@ -1,72 +0,0 @@
Index: proxy-libintl/src/proxy-libintl/libintl.c
===================================================================
--- proxy-libintl.orig/src/proxy-libintl/libintl.c
+++ proxy-libintl/src/proxy-libintl/libintl.c
@@ -18,9 +18,12 @@
*/
#ifdef _WIN32
-#include <windows.h>
+# include <windows.h>
#else
-#include <dlfcn.h>
+# include <stddef.h>
+# if !STUB_ONLY
+# include <dlfcn.h>
+# endif
typedef void* HMODULE;
#endif
@@ -65,11 +68,13 @@ static char * (*p_bind_textdomain_codese
static int
use_intl_dll (HMODULE dll)
{
-#ifdef _WIN32
-#define LOOKUP(fn) p_##fn = (void *) GetProcAddress (dll, #fn); if (p_##fn == NULL) return 0
-#else
-#define LOOKUP(fn) p_##fn = (void *) dlsym (dll, #fn); if (p_##fn == NULL) return 0
-#endif
+#if !STUB_ONLY
+# ifdef _WIN32
+# define LOOKUP(fn) p_##fn = (void *) GetProcAddress (dll, #fn); if (p_##fn == NULL) return 0
+# else
+# define LOOKUP(fn) p_##fn = (void *) dlsym (dll, #fn); if (p_##fn == NULL) return 0
+# endif /* _WIN32 */
+
LOOKUP (gettext);
LOOKUP (dgettext);
@@ -82,7 +87,7 @@ use_intl_dll (HMODULE dll)
LOOKUP (bind_textdomain_codeset);
#undef LOOKUP
-
+#endif /* !STUB_ONLY */
return 1;
}
@@ -171,13 +176,17 @@ setup (void)
if (!beenhere)
{
-#ifdef _WIN32
- HMODULE intl_dll = LoadLibrary ("intl.dll");
-#elif defined(__APPLE__) && defined(__MACH__)
- HMODULE intl_dll = dlopen ("libintl.dylib", RTLD_LAZY);
-#else
- HMODULE intl_dll = dlopen ("libintl.so", RTLD_LAZY);
-#endif
+#if !STUB_ONLY
+# ifdef _WIN32
+ HMODULE intl_dll = LoadLibrary ("intl.dll");
+# elif defined(__APPLE__) && defined(__MACH__)
+ HMODULE intl_dll = dlopen ("libintl.dylib", RTLD_LAZY);
+# else
+ HMODULE intl_dll = dlopen ("libintl.so", RTLD_LAZY);
+# endif
+#else /* !STUB_ONLY */
+ HMODULE intl_dll = NULL;
+#endif /* STUB_ONLY */
if (intl_dll != NULL &&
use_intl_dll (intl_dll))
@@ -1,36 +0,0 @@
From f3c39fd2a4b5f53338b5f821788c63858bf860cf Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@cn.fujitsu.com>
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 <leimaohui@cn.fujitsu.com>
---
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
@@ -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;
}
@@ -1,36 +0,0 @@
diff -uwr mg-20110905/configure mg-20110905-changed/configure
--- mg-20110905/configure 2011-09-05 13:36:16.000000000 -0500
+++ mg-20110905-changed/configure 2014-08-14 10:46:14.168715425 -0500
@@ -163,32 +163,6 @@
echo 'Fails.'
fi
-
-if [ ! -r /usr/include/term.h ]; then
- note 'term.h'
- if [ -r /usr/include/ncurses/term.h ]; then
- echo "Found in /usr/include/ncurses"
- extraflags="$extraflags -I/usr/include/ncurses"
- else
- for i in pkg local; do
- if [ -r /usr/$i/include/term.h ]; then
- echo "Found in /usr/$i/include"
- extralibs="$extralibs -L/usr/$i/lib"
- extraflags="$extraflags -I/usr/$i/include"
- break
- else
- false
- fi
- done ||
- {
- echo 'Not found!' >&2
- echo 'Do you have the ncurses devel package installed?' >&2
- echo 'If you know where term.h is, please email the author!' >&2
- exit 1
- }
- fi
-fi
-
note 'base and dirname'
if gcc_defines "__GLIBC__" || gcc_defines "__CYGWIN__" ; then
echo 'Not present, adding.'