From d077f9f7ec5a9764d37fd40cadfbcf3d659698b0 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Fri, 18 Jun 2010 14:49:23 +0000 Subject: [PATCH] Honor LDFLAGS if specified in the environment. --- changelog | 1 + patches/30-ldflags.patch | 15 +++++++++++++++ patches/series | 1 + 3 files changed, 17 insertions(+) create mode 100644 patches/30-ldflags.patch diff --git a/changelog b/changelog index 3f4d955..0f914c1 100644 --- a/changelog +++ b/changelog @@ -24,6 +24,7 @@ dma (0.0.2010.06.17-1) UNRELEASED; urgency=low - add the 28-valid-recipient patch to fix parsing recipients out of the message body - add the 29-double-free patch to fix a double-free error + - add the 30-ldflags patch to honor LDFLAGS if specified - refresh the 09-typos, 17-mailname, 23-dirent-d_type, and 25-unsupported-starttls patches - teach the dbounce-simple-safecat handler about the M*/Q* spool diff --git a/patches/30-ldflags.patch b/patches/30-ldflags.patch new file mode 100644 index 0000000..95885b4 --- /dev/null +++ b/patches/30-ldflags.patch @@ -0,0 +1,15 @@ +Description: Honor LDFLAGS if specified in the environment. + I'll forward this patch as soon as I catch up with the dma upstream. +Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/ +Forwarded: no +Author: Peter Pentchev +Last-Update: 2010-06-18 + +--- a/Makefile.plain ++++ b/Makefile.plain +@@ -48,4 +48,4 @@ + ${CC} ${CFLAGS} ${CPPFLAGS} -include dfcompat.h -o $@ -c $< + + dma: ${OBJS} +- ${CC} ${LDADD} -o $@ ${OBJS} ++ ${CC} ${LDFLAGS} ${LDADD} -o $@ ${OBJS} diff --git a/patches/series b/patches/series index 6fc138b..ed3011c 100644 --- a/patches/series +++ b/patches/series @@ -12,3 +12,4 @@ 27-int-size.patch 28-valid-recipient.patch 29-double-free.patch +30-ldflags.patch -- 2.47.3