diff options
author | Matthew McClintock <msm@freescale.com> | 2012-07-10 12:14:20 -0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-07-16 08:31:40 -0700 |
commit | add2c772cd404e8bea4828959fcb5ee33c35c048 (patch) | |
tree | 75685da993ef4ee94ec60f57037f28bb4883fb80 /meta/recipes-devtools/rpm/rpm | |
parent | 7dd161816ccbb03db4f86902f96d3e86e09ccb64 (diff) | |
download | openembedded-core-add2c772cd404e8bea4828959fcb5ee33c35c048.tar.gz |
rpm_5.4.9.bb: fix builds on systems with older libc
| dbconvert.o: In function `rpmdb_convert':
| /local/jenkins/jobs/yocto-upstream/workspace/label/master/machine/p4080ds/poky/master/tmp/work/x86_64-linux/rpm-native-5.4.9-r45/rpm-5.4.9/tools/dbconvert.c:126: warning: the use of `tempnam' is dangerous, better use `mkstemp'
| dbconvert.o: In function `main':
| dbconvert.c:(.text+0x923): undefined reference to `htobe32'
| dbconvert.c:(.text+0xaa4): undefined reference to `htole32'
| dbconvert.c:(.text+0xac9): undefined reference to `htole32'
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/dbconvert.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/dbconvert.patch b/meta/recipes-devtools/rpm/rpm/dbconvert.patch new file mode 100644 index 0000000000..27dba8c960 --- /dev/null +++ b/meta/recipes-devtools/rpm/rpm/dbconvert.patch @@ -0,0 +1,27 @@ +Upstream-Status: Not applicable + +Hack to prevent unneeded demo app from building on older libc +where it will break the build + +Index: rpm-5.4.9/tools/Makefile.am +=================================================================== +--- rpm-5.4.9.orig/tools/Makefile.am ++++ rpm-5.4.9/tools/Makefile.am +@@ -24,7 +24,7 @@ AM_CFLAGS = $(OPENMP_CFLAGS) + + EXTRA_DIST = hashtab.h bsdiff.1 bspatch.1 dotgraph.hh + +-EXTRA_PROGRAMS = augtool cudftool dbconvert debugedit \ ++EXTRA_PROGRAMS = augtool cudftool debugedit \ + nix-build nix-channel nix-collect-garbage nix-copy-closure \ + nix-env nix-hash nix-install-package nix-instantiate \ + nix-log2xml nix-prefetch-url nix-pull nix-push nix-store nix-worker \ +@@ -60,7 +60,7 @@ pkgbin_PROGRAMS = \ + rpmcache rpmdigest rpmrepo rpmspecdump \ + rpmcmp rpmdeps rpmdeps-oecore sqlite3 @WITH_KEYUTILS_RPMKEY@ @WITH_LIBELF_DEBUGEDIT@ + if WITH_DB +-pkgbin_PROGRAMS += dbconvert ++pkgbin_PROGRAMS += + endif + dist_man_MANS = rpmgrep.1 + |