[packages/openldap] One missing patch (rpm doesn't fail if it has patch -PX but no PatchX: source)
arekm
arekm at pld-linux.org
Fri Aug 1 23:58:03 CEST 2025
commit da84fe3b490a477011ef13665e1af2815ddccb45
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Aug 1 23:57:57 2025 +0200
One missing patch (rpm doesn't fail if it has patch -PX but no PatchX: source)
openldap-ltinstall-mode.patch | 21 +++++++++++++++++++++
openldap.spec | 2 ++
2 files changed, 23 insertions(+)
---
diff --git a/openldap.spec b/openldap.spec
index 38f3387..a5a831b 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -36,6 +36,8 @@ Patch3: %{name}-cldap.patch
Patch4: attr.patch
Patch5: %{name}-install.patch
+Patch9: %{name}-ltinstall-mode.patch
+
Patch11: %{name}-ldaprc.patch
Patch12: %{name}-nosql.patch
Patch13: %{name}-ldapc++.patch
diff --git a/openldap-ltinstall-mode.patch b/openldap-ltinstall-mode.patch
new file mode 100644
index 0000000..283c448
--- /dev/null
+++ b/openldap-ltinstall-mode.patch
@@ -0,0 +1,21 @@
+--- openldap-2.2.8/libraries/liblber/Makefile.in.orig Thu Jan 1 19:16:29 2004
++++ openldap-2.2.8/libraries/liblber/Makefile.in Fri Apr 2 12:06:22 2004
+@@ -47,6 +47,6 @@
+
+ install-local: FORCE
+ -$(MKDIR) $(DESTDIR)$(libdir)
+- $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir)
++ $(LTINSTALL) $(INSTALLFLAGS) $(LIBRARY) $(DESTDIR)$(libdir)
+ $(LTFINISH) $(DESTDIR)$(libdir)
+
+--- openldap-2.2.8/libraries/libldap/Makefile.in.orig Thu Jan 1 19:16:29 2004
++++ openldap-2.2.8/libraries/libldap/Makefile.in Fri Apr 2 12:06:38 2004
+@@ -59,7 +59,7 @@
+
+ install-local: $(CFFILES) FORCE
+ -$(MKDIR) $(DESTDIR)$(libdir)
+- $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir)
++ $(LTINSTALL) $(INSTALLFLAGS) $(LIBRARY) $(DESTDIR)$(libdir)
+ $(LTFINISH) $(DESTDIR)$(libdir)
+ -$(MKDIR) $(DESTDIR)$(sysconfdir)
+ @for i in $(CFFILES); do \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openldap.git/commitdiff/da84fe3b490a477011ef13665e1af2815ddccb45
More information about the pld-cvs-commit
mailing list