summaryrefslogtreecommitdiff
path: root/db-index-format.patch
diff options
context:
space:
mode:
authorJan Rękorajski2020-10-22 07:07:10 (GMT)
committerJan Rękorajski2020-10-22 07:07:10 (GMT)
commitc670d25c1a1541aad4f848759358ed0d11ddacaf (patch)
tree27250857c8885369c9539702c851fe6e794fe860 /db-index-format.patch
parentae2f0fb73a101067d88d7e7c1e2b98bbd3c5f9d4 (diff)
downloadpoldek-c670d25c1a1541aad4f848759358ed0d11ddacaf.zip
poldek-c670d25c1a1541aad4f848759358ed0d11ddacaf.tar.gz
- add support for resolving uname() deps with rpm.org
- remove always false ifdef, index type must also be set for rpm.org
Diffstat (limited to 'db-index-format.patch')
-rw-r--r--db-index-format.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/db-index-format.patch b/db-index-format.patch
new file mode 100644
index 0000000..76d9de0
--- /dev/null
+++ b/db-index-format.patch
@@ -0,0 +1,12 @@
+--- poldek-0.42.2/pm/rpmorg/rpmdb_depdirs.c~ 2020-10-21 15:02:08.000000000 +0200
++++ poldek-0.42.2/pm/rpmorg/rpmdb_depdirs.c 2020-10-21 15:02:22.244854642 +0200
+@@ -74,9 +74,7 @@
+
+ index = "Requirename";
+
+-#ifdef HAVE_RPM_5
+ dbtype = DB_BTREE; /* XXX: should be detected at runtime */
+-#endif
+ if (rootdir == NULL)
+ rootdir = "/";
+