pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/coolmail Added a patch that prevents the IRIX bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/673c0115c27a
branches:  trunk
changeset: 501426:673c0115c27a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Oct 22 17:56:31 2005 +0000

description:
Added a patch that prevents the IRIX build from failing. Bumped
PKGREVISION.

diffstat:

 mail/coolmail/Makefile         |   3 ++-
 mail/coolmail/distinfo         |   3 ++-
 mail/coolmail/patches/patch-ac |  24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r d20f1c44df62 -r 673c0115c27a mail/coolmail/Makefile
--- a/mail/coolmail/Makefile    Sat Oct 22 17:05:15 2005 +0000
+++ b/mail/coolmail/Makefile    Sat Oct 22 17:56:31 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2005/10/22 16:17:14 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2005/10/22 17:56:31 rillig Exp $
 
 DISTNAME=              coolmail-1.3
+PKGREVISION=           1
 CATEGORIES=            mail x11
 MASTER_SITES=          ${MASTER_SITE_SUNSITE:=system/mail/biffs/}
 EXTRACT_SUFX=          .tgz
diff -r d20f1c44df62 -r 673c0115c27a mail/coolmail/distinfo
--- a/mail/coolmail/distinfo    Sat Oct 22 17:05:15 2005 +0000
+++ b/mail/coolmail/distinfo    Sat Oct 22 17:56:31 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/10/22 16:17:14 rillig Exp $
+$NetBSD: distinfo,v 1.6 2005/10/22 17:56:31 rillig Exp $
 
 SHA1 (coolmail-1.3.tgz) = 7b8dccf16f575827a595f1025294dfc66f00a6dc
 RMD160 (coolmail-1.3.tgz) = e23a8e8a465d700163393e70ebed60870ddcbc95
 Size (coolmail-1.3.tgz) = 26809 bytes
 SHA1 (patch-aa) = 3baa02ca2f01c67724c1e01c095c0fbe65038df7
 SHA1 (patch-ab) = 35879a8f39e83e47b1598b761adcfa412d6b3104
+SHA1 (patch-ac) = 1054bda16101047024e2f6811034cfdc4d340a66
diff -r d20f1c44df62 -r 673c0115c27a mail/coolmail/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/coolmail/patches/patch-ac    Sat Oct 22 17:56:31 2005 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.1 2005/10/22 17:56:31 rillig Exp $
+
+The IRIX C compiler does not allow non-constant initializers for struct
+members.
+
+--- system/X11/display_list.c.orig     Thu Jan 11 19:14:30 1996
++++ system/X11/display_list.c  Sat Oct 22 19:49:39 2005
+@@ -149,7 +149,7 @@ void disp_config(void)
+    XtResource mailfile = {"inbox", "Inbox", XtRString,
+                           sizeof(str), 0, XtRString, mailfile_str};
+    XtResource monoflag = {"monochrome", "Monochrome", XtRBoolean,
+-                          sizeof(mono), 0, XtRBoolean, &mono};
++                          sizeof(mono), 0, XtRBoolean, NULL};
+    XtResource frmcount = {"frameCount", "FrameCount", XtRInt,
+                           sizeof(frames), 0, XtRInt, &frames};
+ 
+@@ -164,6 +164,7 @@ void disp_config(void)
+    strcpy(command_str, str);
+    XtGetApplicationResources(toplevel, &str, &mailfile, 1, NULL, 0);
+    strcpy(mailfile_str, str);
++   monoflag.default_addr = &mono;
+    XtGetApplicationResources(toplevel, &mono, &monoflag, 1, NULL, 0);
+    if (mono) color_mode = 0;
+    



Home | Main Index | Thread Index | Old Index