diff options
author | Akinori Hattori <hattya@gentoo.org> | 2018-07-17 22:25:18 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2018-07-17 22:29:41 +0900 |
commit | 9bd3a6af8d7a63ee6b3b8ff5f4c943c9c978e0ce (patch) | |
tree | 3ab455bba80ff2591a1e80abaaf54b9b3786f267 /mail-filter | |
parent | mail-filter/scmail: update patches (diff) | |
download | gentoo-9bd3a6af8d7a63ee6b3b8ff5f4c943c9c978e0ce.tar.gz gentoo-9bd3a6af8d7a63ee6b3b8ff5f4c943c9c978e0ce.tar.bz2 gentoo-9bd3a6af8d7a63ee6b3b8ff5f4c943c9c978e0ce.zip |
mail-filter/scmail: fix undefined reference
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/scmail/files/scmail-undefined-reference.patch | 51 | ||||
-rw-r--r-- | mail-filter/scmail/scmail-1.3.ebuild | 1 |
2 files changed, 52 insertions, 0 deletions
diff --git a/mail-filter/scmail/files/scmail-undefined-reference.patch b/mail-filter/scmail/files/scmail-undefined-reference.patch new file mode 100644 index 000000000000..5059ef4b1fd2 --- /dev/null +++ b/mail-filter/scmail/files/scmail-undefined-reference.patch @@ -0,0 +1,51 @@ +--- a/scmail/config.scm ++++ b/scmail/config.scm +@@ -30,6 +30,8 @@ + )) + (select-module scmail.config) + ++(autoload scmail.util scmail-eformat) ++ + (define scmail-config-directory (make-parameter (expand-path "~/.scmail"))) + + (define (scmail-config-set-directory! directory) +--- a/scmail/mailbox.scm ++++ b/scmail/mailbox.scm +@@ -19,6 +19,7 @@ + (use srfi-1) + (use file.util) + (use gauche.parameter) ++ (use scmail.util) + (export <mailbox> + make-scmail-mailbox + scmail-mailbox-mail-list +--- a/scmail/util.scm ++++ b/scmail/util.scm +@@ -19,7 +19,6 @@ + (use file.util) + (use srfi-13) + (use gauche.parameter) +- (use scmail.config) + (use scmail.progress) + (use gauche.version) + (export filter safe-rxmatch +@@ -31,6 +30,8 @@ + + (select-module scmail.util) + ++(autoload scmail.config scmail-config-verbose-mode?) ++ + ;; + ;; FIXME: Reinvent it because filter in srfi-1 module is too + ;; slow in old Gauche implementations. +--- a/scmail.scm ++++ b/scmail.scm +@@ -264,7 +264,7 @@ + (unless (eq? status :last) + (scmail-filter-iter mail (cdr filter-rules)))))) + (unless (is-a? mail <mail>) +- (scmail-eprintf "<mail> required but got ~a" (class-of mail))) ++ (scmail-eformat "<mail> required but got ~a" (class-of mail))) + (scmail-filter-iter mail (filter-rules))) + + diff --git a/mail-filter/scmail/scmail-1.3.ebuild b/mail-filter/scmail/scmail-1.3.ebuild index 2d807f3fdee5..8e65b3898042 100644 --- a/mail-filter/scmail/scmail-1.3.ebuild +++ b/mail-filter/scmail/scmail-1.3.ebuild @@ -20,6 +20,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-doc-encoding.patch "${FILESDIR}"/${PN}-gauche-0.9.patch + "${FILESDIR}"/${PN}-undefined-reference.patch ) HTML_DOCS=( doc/{${PN},scbayes}{,-ja}.html ) |