File: hurd.patch

package info (click to toggle)
mailutils 1%3A3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 31,424 kB
  • ctags: 17,698
  • sloc: ansic: 165,737; sh: 77,655; yacc: 6,304; cpp: 3,827; makefile: 3,019; lex: 2,053; python: 1,652; exp: 1,272; lisp: 782; awk: 200; sed: 31
file content (26 lines) | stat: -rw-r--r-- 1,112 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Add libgnu.la to GINT_LDADD if replacing strerror
 If REPLACE_STRERROR is 1, clexer.l will try to use rpl_strerror, but
 since it is not linked against gnulib, this gives an unresolved symbol
 error.
 .
 * configure.ac: When building gint and strerror is to be replaced with
 rpl_strerror, add libgnu.la to GINT_LDADD.
 .
 This fixes the build in hurd-i386.
Author: James Clarke <jrtc27@jrtc27.com>
Acked-By: Mattia Rizzolo <mattia@debian.org>
Forwarded: https://lists.gnu.org/archive/html/bug-mailutils/2016-06/msg00005.html
Bug-Debian: https://bugs.debian.org/828904

--- a/configure.ac
+++ b/configure.ac
@@ -1168,6 +1168,9 @@
            LIBMU_SCM_DEPS='${MU_LIB_MBOX} ${MU_LIB_IMAP} ${MU_LIB_POP} ${MU_LIB_MH} ${MU_LIB_MAILDIR} ${MU_LIB_MAILER}'
            MU_GUILE_SIEVE_MOD_DIR='$(GUILE_SITE)/$(PACKAGE)/sieve-modules'
            GINT_INCLUDES='${MU_APP_COMMON_INCLUDES}'
+           if test $REPLACE_STRERROR = 1; then
+             GINT_LDADD='${top_builddir}/lib/gnu/libgnu.la'
+           fi
           ],[useguile=no])
 
 AM_CONDITIONAL([MU_COND_LIBMU_SCM],[test "$useguile" = "yes"])