diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-ossp-uuid.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-ossp-uuid.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-ossp-uuid.patch b/meta/recipes-devtools/rpm/rpm/rpm-ossp-uuid.patch new file mode 100644 index 0000000000..691aba9ea3 --- /dev/null +++ b/meta/recipes-devtools/rpm/rpm/rpm-ossp-uuid.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Fix integration of ossp-uuid | ||
2 | |||
3 | We need to avoid including the util-linux uuid library, instead | ||
4 | we need ossp-uuid. There is a related hack in do_configure to | ||
5 | make sure that we use the right .pc file as well. | ||
6 | |||
7 | Upstream-Status: Inappropriate [disable feature] | ||
8 | |||
9 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
10 | |||
11 | Index: rpm-5.4.14/configure.ac | ||
12 | =================================================================== | ||
13 | --- rpm-5.4.14.orig/configure.ac | ||
14 | +++ rpm-5.4.14/configure.ac | ||
15 | @@ -1951,7 +1951,7 @@ grep -v 'define HAVE_UNISTD_H' confdefs. | ||
16 | esac | ||
17 | RPM_CHECK_LIB( | ||
18 | [OSSP uuid], [uuid], | ||
19 | - [ossp-uuid uuid], [uuid_import], [uuid.h], | ||
20 | + [ossp-uuid], [uuid_import], [uuid.h], | ||
21 | [no,external:none], [], | ||
22 | [ dnl # enable OSSP uuid native API support for embedded Lua | ||
23 | if test ".$WITH_LUA" = .yes; then | ||