diff options
| -rw-r--r-- | meta/recipes-devtools/rpm/rpm/dbconvert.patch | 27 | ||||
| -rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.9.bb | 3 |
2 files changed, 29 insertions, 1 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 @@ | |||
| 1 | Upstream-Status: Not applicable | ||
| 2 | |||
| 3 | Hack to prevent unneeded demo app from building on older libc | ||
| 4 | where it will break the build | ||
| 5 | |||
| 6 | Index: rpm-5.4.9/tools/Makefile.am | ||
| 7 | =================================================================== | ||
| 8 | --- rpm-5.4.9.orig/tools/Makefile.am | ||
| 9 | +++ rpm-5.4.9/tools/Makefile.am | ||
| 10 | @@ -24,7 +24,7 @@ AM_CFLAGS = $(OPENMP_CFLAGS) | ||
| 11 | |||
| 12 | EXTRA_DIST = hashtab.h bsdiff.1 bspatch.1 dotgraph.hh | ||
| 13 | |||
| 14 | -EXTRA_PROGRAMS = augtool cudftool dbconvert debugedit \ | ||
| 15 | +EXTRA_PROGRAMS = augtool cudftool debugedit \ | ||
| 16 | nix-build nix-channel nix-collect-garbage nix-copy-closure \ | ||
| 17 | nix-env nix-hash nix-install-package nix-instantiate \ | ||
| 18 | nix-log2xml nix-prefetch-url nix-pull nix-push nix-store nix-worker \ | ||
| 19 | @@ -60,7 +60,7 @@ pkgbin_PROGRAMS = \ | ||
| 20 | rpmcache rpmdigest rpmrepo rpmspecdump \ | ||
| 21 | rpmcmp rpmdeps rpmdeps-oecore sqlite3 @WITH_KEYUTILS_RPMKEY@ @WITH_LIBELF_DEBUGEDIT@ | ||
| 22 | if WITH_DB | ||
| 23 | -pkgbin_PROGRAMS += dbconvert | ||
| 24 | +pkgbin_PROGRAMS += | ||
| 25 | endif | ||
| 26 | dist_man_MANS = rpmgrep.1 | ||
| 27 | |||
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index 6ef1aae025..e276cc341b 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb | |||
| @@ -43,7 +43,7 @@ LICENSE = "LGPLv2.1" | |||
| 43 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" | 43 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" |
| 44 | 44 | ||
| 45 | DEPENDS = "libpcre attr acl popt ossp-uuid file" | 45 | DEPENDS = "libpcre attr acl popt ossp-uuid file" |
| 46 | PR = "r45" | 46 | PR = "r46" |
| 47 | 47 | ||
| 48 | # rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed | 48 | # rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed |
| 49 | # in order to extract the distribution SRPM into a format we can extract... | 49 | # in order to extract the distribution SRPM into a format we can extract... |
| @@ -75,6 +75,7 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.9-0.20120508.src.rpm;ex | |||
| 75 | file://uclibc-support.patch \ | 75 | file://uclibc-support.patch \ |
| 76 | file://rpmatch.patch \ | 76 | file://rpmatch.patch \ |
| 77 | file://fstack-protector-configure-check.patch \ | 77 | file://fstack-protector-configure-check.patch \ |
| 78 | file://dbconvert.patch \ | ||
| 78 | " | 79 | " |
| 79 | 80 | ||
| 80 | SRC_URI[md5sum] = "60d56ace884340c1b3fcac6a1d58e768" | 81 | SRC_URI[md5sum] = "60d56ace884340c1b3fcac6a1d58e768" |
