rpm/rpm-5.2.1-openmamba_optional_dirname_and_symlink_deps.patch

40 lines
1.7 KiB
Diff

diff -Nru rpm-5.2.1.orig//lib/depends.c rpm-5.2.1/lib/depends.c
--- rpm-5.2.1.orig//lib/depends.c 2009-05-22 17:09:18.000000000 +0200
+++ rpm-5.2.1/lib/depends.c 2010-07-28 12:12:26.699740202 +0200
@@ -1552,7 +1552,7 @@
int terminate = 2; /* XXX terminate if rc >= terminate */
int rc;
int ourrc = 0;
-#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) /* optional-dirname-and-symlink-deps */
+#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) || defined(RPM_VENDOR_OPENMAMBA) /* optional-dirname-and-symlink-deps */
int dirname_deps;
int symlink_deps;
#endif
@@ -1631,7 +1631,7 @@
}
}
-#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) /* optional-dirname-and-symlink-deps */
+#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) || defined(RPM_VENDOR_OPENMAMBA) /* optional-dirname-and-symlink-deps */
dirname_deps = rpmExpandNumeric("%{?_check_dirname_deps}%{?!_check_dirname_deps:1}");
if (dirname_deps) {
#endif
@@ -1675,7 +1675,7 @@
/*@switchbreak@*/ break;
}
}
-#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) /* optional-dirname-and-symlink-deps */
+#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) || defined(RPM_VENDOR_OPENMAMBA) /* optional-dirname-and-symlink-deps */
}
symlink_deps = rpmExpandNumeric("%{?_check_symlink_deps}%{?!_check_symlink_deps:1}");
@@ -1723,7 +1723,7 @@
/*@switchbreak@*/ break;
}
}
-#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) /* optional-dirname-and-symlink-deps */
+#if defined(RPM_VENDOR_MANDRIVA) || defined(RPM_VENDOR_ARK) || defined(RPM_VENDOR_OPENMAMBA) /* optional-dirname-and-symlink-deps */
}
#endif