summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/rpmatch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpmatch.patch')
-rw-r--r--meta/recipes-devtools/rpm/rpm/rpmatch.patch30
1 files changed, 11 insertions, 19 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpmatch.patch b/meta/recipes-devtools/rpm/rpm/rpmatch.patch
index 20d13aa08c..2ededdac4a 100644
--- a/meta/recipes-devtools/rpm/rpm/rpmatch.patch
+++ b/meta/recipes-devtools/rpm/rpm/rpmatch.patch
@@ -1,5 +1,6 @@
1Add configure check for rpmatch() and 1Create a compatable macro if rpmatch() is not provided by the C library.
2creates a compatable macro if it is not provided by the C library. 2
3This uses an existing configure check.
3 4
4This is needed for uclibc since it does not have the above function 5This is needed for uclibc since it does not have the above function
5implemented. 6implemented.
@@ -8,24 +9,15 @@ Upstream-Status: Pending
8 9
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 11
11Index: rpm-5.4.14/configure.ac 12Updated to rpm 5.4.15+.
12=================================================================== 13
13--- rpm-5.4.14.orig/configure.ac 14Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14+++ rpm-5.4.14/configure.ac 15
15@@ -943,7 +943,7 @@ AC_CHECK_FUNCS([dnl 16Index: rpm/system.h
16 ftok getaddrinfo getattrlist getcwd getdelim getline getmode getnameinfo dnl
17 getpassphrase getxattr getwd iconv inet_aton lchflags lchmod lchown dnl
18 lgetxattr lsetxattr lutimes madvise mempcpy mkdtemp mkstemp mtrace dnl
19- posix_fadvise posix_fallocate putenv realpath regcomp secure_getenv __secure_getenv dnl
20+ posix_fadvise posix_fallocate putenv realpath regcomp rpmatch secure_getenv __secure_getenv dnl
21 setattrlist setenv setlocale setmode setxattr dnl
22 sigaddset sigdelset sigemptyset sighold sigrelse sigpause dnl
23 sigprocmask sigsuspend sigaction dnl
24Index: rpm-5.4.14/system.h
25=================================================================== 17===================================================================
26--- rpm-5.4.14.orig/system.h 18--- rpm.orig/system.h
27+++ rpm-5.4.14/system.h 19+++ rpm/system.h
28@@ -353,6 +353,14 @@ extern int _tolower(int) __THROW /*@*/; 20@@ -358,6 +358,14 @@ extern int _tolower(int) __THROW /*@*/;
29 #include <libgen.h> 21 #include <libgen.h>
30 #endif 22 #endif
31 23