aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2009-07-30 12:40:39 +0000
committerAlex Dupre <ale@FreeBSD.org>2009-07-30 12:40:39 +0000
commit8f509c25a770bdfda127abd836d33441f7b1e7a4 (patch)
tree90adfe373b418c47405695c63f401dc310481393
parent4a5889d4734409028f03d012ce822f34d91951f1 (diff)
downloadports-8f509c25a770bdfda127abd836d33441f7b1e7a4.tar.gz
ports-8f509c25a770bdfda127abd836d33441f7b1e7a4.zip
Notes
-rw-r--r--mail/roundcube/Makefile2
-rw-r--r--mail/roundcube/files/patch-program_include_rcube_message.php11
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index a6eb1ee40430..9938f9c5cf52 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -83,7 +83,7 @@ post-extract:
post-patch:
@${RM} ${WRKSRC}/bin/*.sh
- @${RM} ${WRKSRC}/config/main.inc.php.dist.orig
+ @${FIND} ${WRKSRC} -name \*.orig -type f -delete
.if defined(WITH_AUTOCOMP)
@${REINPLACE_CMD} "s/ autocomplete=\"off\"//g" \
${WRKSRC}/skins/default/templates/login.html
diff --git a/mail/roundcube/files/patch-program_include_rcube_message.php b/mail/roundcube/files/patch-program_include_rcube_message.php
new file mode 100644
index 000000000000..d35f8801433e
--- /dev/null
+++ b/mail/roundcube/files/patch-program_include_rcube_message.php
@@ -0,0 +1,11 @@
+--- ./program/include/rcube_message.php.orig 2009-07-30 14:35:17.000000000 +0200
++++ ./program/include/rcube_message.php 2009-07-30 14:35:35.000000000 +0200
+@@ -373,7 +373,7 @@
+
+ // part is file/attachment
+ else if ($mail_part->disposition == 'attachment' || $mail_part->disposition == 'inline' ||
+- $mail_part->headers['content-id'] || (empty($mail_part->disposition) && $mail_part->filename)) {
++ $mail_part->headers['content-id'] || $mail_part->filename) {
+ // skip apple resource forks
+ if ($message_ctype_secondary == 'appledouble' && $secondary_type == 'applefile')
+ continue;