]> git.pld-linux.org Git - packages/poldek.git/commitdiff
disable "auto directory dependencies" on rpm.org
authorJan Palus <atler@pld-linux.org>
Fri, 12 Feb 2021 18:45:15 +0000 (19:45 +0100)
committerJan Palus <atler@pld-linux.org>
Fri, 12 Feb 2021 18:45:15 +0000 (19:45 +0100)
rpm4-no-dir-deps.patch

index ae6db7def843c39e54221903bea4d160f59f75cc..eeacb4540dd29ec188e78576f8f2dab94d0f34d8 100644 (file)
      
  (void *(*)(void *, void *, const char *, const char *, mode_t, tn_hash *))pm_rpm_opendb,
      (void (*)(void *))pm_rpm_closedb,
+--- poldek-0.42.2/lib_init.c.orig      2020-03-16 21:23:10.000000000 +0100
++++ poldek-0.42.2/lib_init.c   2021-02-12 19:32:47.579273016 +0100
+@@ -1433,8 +1433,9 @@
+                     break;
+                 case POLDEK_OP_AUTODIRDEP:
++#if !defined(HAVE_RPMDSUNAME) || defined(HAVE_RPMORG)
+                     v = 0;
+-#ifdef HAVE_RPMDSUNAME          /* rpmdsUname - rpm 4.4.6  */
++#else          /* rpmdsUname - rpm 4.4.6  */
+                     v = 1;
+ #endif
+                     break;
This page took 0.046063 seconds and 4 git commands to generate.