]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- tinycdb dependency fix
authorAdam Osuchowski <adwol@pld-linux.org>
Tue, 11 Aug 2015 12:12:06 +0000 (14:12 +0200)
committerAdam Osuchowski <adwol@pld-linux.org>
Tue, 11 Aug 2015 12:12:06 +0000 (14:12 +0200)
postfix-no_cdb.patch [new file with mode: 0644]
postfix.spec

diff --git a/postfix-no_cdb.patch b/postfix-no_cdb.patch
new file mode 100644 (file)
index 0000000..10a46a3
--- /dev/null
@@ -0,0 +1,11 @@
+--- postfix-2.11.5.orig/src/util/Makefile.in.orig      2015-08-11 13:48:16.897867369 +0200
++++ postfix-2.11.5/src/util/Makefile.in        2015-08-11 13:54:19.074562492 +0200
+@@ -137,7 +137,7 @@
+       gcc -shared -Wl,-soname,dict_pcre.so -o $@ $? -lpcre -L. -lutil
+ $(LIB):       $(OBJS)
+-      gcc -shared -Wl,-soname,libpostfix-util.so.1 -o $(LIB) $(OBJS) -ldl -lcdb -lnsl -ldb
++      gcc -shared -Wl,-soname,libpostfix-util.so.1 -o $(LIB) $(OBJS) -ldl -lnsl -ldb
+ $(LIB_DIR)/$(LIB): $(LIB)
+       cp $(LIB) $(LIB_DIR)
index f114c67e1c0791e717afd6e12559ba93c0dbadb0..0ba5dae77767606ab1f4d14d0a3a87c118953a6e 100644 (file)
@@ -70,6 +70,7 @@ Patch9:               %{name}-make-jN.patch
 Patch10:       %{name}-link.patch
 Patch11:       %{name}-scache_clnt.patch
 Patch12:       format-security.patch
+Patch13:       %{name}-no_cdb.patch
 URL:           http://www.postfix.org/
 %{?with_sasl:BuildRequires:    cyrus-sasl-devel}
 BuildRequires: db-devel
@@ -297,6 +298,7 @@ sed -i '/scache_clnt_create/s/server/var_scache_service/' src/global/scache_clnt
 %if %{with vda}
 %patch12 -p1
 %endif
+%{!?with_cdb:%patch13 -p1}
 
 %if %{with tcp}
 sed -i 's/ifdef SNAPSHOT/if 1/' src/util/dict_open.c
This page took 0.056275 seconds and 4 git commands to generate.