summaryrefslogtreecommitdiff
path: root/app-office/ical
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-office/ical
reinit the tree, so we can have metadata
Diffstat (limited to 'app-office/ical')
-rw-r--r--app-office/ical/Manifest9
-rw-r--r--app-office/ical/files/ical-3.0-fix-c++14.patch252
-rw-r--r--app-office/ical/files/ical-3.0-gcc44.patch11
-rw-r--r--app-office/ical/files/ical-3.0-makefile.patch33
-rw-r--r--app-office/ical/files/ical-3.0-newtcl.patch412
-rw-r--r--app-office/ical/ical-3.0-r2.ebuild62
-rw-r--r--app-office/ical/metadata.xml8
7 files changed, 787 insertions, 0 deletions
diff --git a/app-office/ical/Manifest b/app-office/ical/Manifest
new file mode 100644
index 000000000000..14999fe65bf9
--- /dev/null
+++ b/app-office/ical/Manifest
@@ -0,0 +1,9 @@
+AUX ical-3.0-fix-c++14.patch 17499 SHA256 028f505327ca5c446d75c635f2be6af32a604ff25e8fc2d88a107e73da727725 SHA512 c76a32604f2dc9708c366724b254f539637d59c5a692df5e8fbbbec0e90203ae3ede3c3525a8cff4a6f56b51d175e6e62663069368779454fdd1b1967cf22b1c WHIRLPOOL 7891b6efa2acd2a0b2e8b4be9e53ba4f12a1a79036853394c39fd512356651a53a171461c0e33abb4816c4c07c61e2dd268077804f6736bde0eb0ec5c748272f
+AUX ical-3.0-gcc44.patch 329 SHA256 6450b45e18a63a34aaf32c28b55b8f49abed585d8ba8276f5992719b38769821 SHA512 0e956b8b1ade372d6b9bcf7cc772fb637ca818bb05774341f0ab95c5d8bd65fdd9cd81760d7eec4e6d839c0197d95f3872528ece7209d84b9064b5be6c6dcfd2 WHIRLPOOL b0b7b70ba2f36f06d9931df11d58d1e108306bc0fd2e860ba2cf63d2057b1ada16588a098e9dc9a8d8c74c8573f3a39e78938a27ca82080aca20cca7f542bc2e
+AUX ical-3.0-makefile.patch 965 SHA256 25a727b9a4a240f332bba5641c1adbf42d9cdb13efb69406b6322c4aad10b3b5 SHA512 d038708618789b374d0e0e1394018b261e8c309bf718e35880b2ef51b609d4b45b32be203b80d70246f59a041da27a1bd7a5d8392ead0298577860ac864ecd63 WHIRLPOOL 37c87f175367e879df7ba09476a0ecf0ad2e8e6dd9d71f866f770a2467b151dfb7578a8d2d44c15ce187a10938009ad0b44ccdc3ba78914b8b055b5e059208b5
+AUX ical-3.0-newtcl.patch 12767 SHA256 75ff4f6683dc0d913f1bbe694958f1f1d108445e2a25da52eed922380dda9a28 SHA512 14d4603a0639d5500e675944778052b3de6fc7d386e239383eaaee1e51a319a5678f01b96395378de5a69804eddf41be8841566106a04785eb169299c16ebaca WHIRLPOOL 6a8e15576a5f44d1373d51bdfd353df401aaa74784fd9a18fe7457068d418fcffcdc179b57498e2215d8ca216811a5fb53a9aa4b14524355d49e8cf633e2e073
+DIST ical-3.0.tar.gz 373891 SHA256 d290fa484a8fe5e8f70a397e9c12b61bb82c6ca517464390171fe3b06d203bbb SHA512 78cd07a206f4719dfb693b82fda4a735e70dc072fc75bf3885e72f668ebf7fa3511acedd82f99dd3ec366595a8c0ee8a1f13e5dc836732f241ff32d899eb3b25 WHIRLPOOL f702f5f9aaf319a393d60c0e28a43d88970189355f587870eed0adf2504bc6565ee44b508f4bad7971fde6808ec74ca99ecf4db5bf776d2ee919939b5669ce42
+EBUILD ical-3.0-r2.ebuild 1231 SHA256 68b4a6bea971e4bed37b5ee0f0f606d5497bbc4083a1bd577a196803cb277b37 SHA512 7eb927bc9d0e7291852b8e9bb03405afe19f284db6763f61533b43eda0bcf3e718ef08c71372e775c5b47d47f4ede5e291e41248f1bfdbf4fa16494f99308c92 WHIRLPOOL ef17cb102dd95eb67fff672485e37d0615e22a77b3b6c4653d65f87e985a4c1365efc728bebb72c9249fc8ea5ea17af65270323eed0cf9109a83891439c3b5c9
+MISC ChangeLog 2976 SHA256 672f70b1ae429a15a01bd5867164d5b73d67bbcbb4208d0c7a52b0481fc86b29 SHA512 a640757fc7c04547e8bc74a44144d93ac058e2f1fc3066c46b0c99586cc558e7fdc96a62bf4d4654bfeca21dcbbaafe9aa40a81ac6b591e9409fe84bf1906ae5 WHIRLPOOL 018292d4ec76718bfbbcc2fc61bbf614ad1e2d5ba6bcafc4fa333c5bf1962caeb3fe171ba6f15101bfaf35d4a9cdcf8a020191722bfe7353c9e6751cc2af2de7
+MISC ChangeLog-2015 5169 SHA256 de4b032529a0fcaa761944d2ae788d7a2f78df6cff9ea66e23161447f44282ee SHA512 a21bbb255072f97a03e21bfe7b53016917ec091b26cdac673c7b8f8e24caef074f00c64cc857ffeb83d7bdc64248adacfaad791da933ca85c15787a533b3f9f6 WHIRLPOOL 89e90b7ae1e0da9341b27f7be76c441e14c9bf6191cb40e8fe7035eba151c639f074591a48634ccbddf05ac2001be426e4b3dd8c43b443177da7a2c4da99cbc7
+MISC metadata.xml 243 SHA256 4452421fd6b7929978a7d8df8bca89d7ffc2af6f1a8d88def6a26c3ea544b08c SHA512 64f80cb6a2f8ffd2334eff69de51621be5bdd618903745bcbb9d288c9220c7f6e876a0ccba1ad0d448246e9ab0fd951b12108d76606abbbc0022d279213f0503 WHIRLPOOL 6b9d73db8c6f59403c4cf1675176989ee1190f51069135d028d1744db45994d47decf27ee9e1e4acfefc8a0a29c832d607886439f078150b1b04d01ba1852259
diff --git a/app-office/ical/files/ical-3.0-fix-c++14.patch b/app-office/ical/files/ical-3.0-fix-c++14.patch
new file mode 100644
index 000000000000..4d9b47b1b9ea
--- /dev/null
+++ b/app-office/ical/files/ical-3.0-fix-c++14.patch
@@ -0,0 +1,252 @@
+Fix building with C++14, which errors out due to narrowing conversions.
+See also: https://bugs.gentoo.org/show_bug.cgi?id=593948
+
+--- a/bitmaps/dleft.xbm
++++ b/bitmaps/dleft.xbm
+@@ -1,6 +1,6 @@
+ #define dleft_width 16
+ #define dleft_height 16
+ static char dleft_bits[] = {
+- 0x00, 0x00, 0x80, 0x61, 0xc0, 0x71, 0xe0, 0x79, 0xf0, 0x7d, 0xf8, 0x7f,
+- 0xfc, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfc, 0x7f, 0xf8, 0x7f, 0xf0, 0x7d,
+- 0xe0, 0x79, 0xc0, 0x71, 0x80, 0x61, 0x00, 0x00};
++ 0x00, 0x00, (char)0x80, 0x61, (char)0xc0, 0x71, (char)0xe0, 0x79, (char)0xf0, 0x7d, (char)0xf8, 0x7f,
++ (char)0xfc, 0x7f, (char)0xfe, 0x7f, (char)0xfe, 0x7f, (char)0xfc, 0x7f, (char)0xf8, 0x7f, (char)0xf0, 0x7d,
++ (char)0xe0, 0x79, (char)0xc0, 0x71, (char)0x80, 0x61, 0x00, 0x00};
+--- a/bitmaps/done.xbm
++++ b/bitmaps/done.xbm
+@@ -1,6 +1,6 @@
+ #define done_width 16
+ #define done_height 16
+ static char done_bits[] = {
+- 0x00, 0x00, 0xff, 0x8f, 0xff, 0x67, 0x03, 0x30, 0x03, 0x18, 0x03, 0x4c,
+- 0x33, 0x6e, 0x7b, 0x67, 0xff, 0x67, 0xfb, 0x63, 0xf3, 0x63, 0xe3, 0x61,
+- 0xc3, 0x61, 0x83, 0x60, 0xff, 0x7f, 0xff, 0x7f};
++ 0x00, 0x00, (char)0xff, (char)0x8f, (char)0xff, 0x67, 0x03, 0x30, 0x03, 0x18, 0x03, 0x4c,
++ 0x33, 0x6e, 0x7b, 0x67, (char)0xff, 0x67, (char)0xfb, 0x63, (char)0xf3, 0x63, (char)0xe3, 0x61,
++ (char)0xc3, 0x61, (char)0x83, 0x60, (char)0xff, 0x7f, (char)0xff, 0x7f};
+--- a/bitmaps/dright.xbm
++++ b/bitmaps/dright.xbm
+@@ -1,6 +1,6 @@
+ #define dright_width 16
+ #define dright_height 16
+ static char dright_bits[] = {
+- 0x00, 0x00, 0x86, 0x01, 0x8e, 0x03, 0x9e, 0x07, 0xbe, 0x0f, 0xfe, 0x1f,
+- 0xfe, 0x3f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x3f, 0xfe, 0x1f, 0xbe, 0x0f,
+- 0x9e, 0x07, 0x8e, 0x03, 0x86, 0x01, 0x00, 0x00};
++ 0x00, 0x00, (char)0x86, 0x01, (char)0x8e, 0x03, (char)0x9e, 0x07, (char)0xbe, 0x0f, (char)0xfe, 0x1f,
++ (char)0xfe, 0x3f, (char)0xfe, 0x7f, (char)0xfe, 0x7f, (char)0xfe, 0x3f, (char)0xfe, 0x1f, (char)0xbe, 0x0f,
++ (char)0x9e, 0x07, (char)0x8e, 0x03, (char)0x86, 0x01, 0x00, 0x00};
+--- a/bitmaps/ical.xbm
++++ b/bitmaps/ical.xbm
+@@ -3,37 +3,37 @@
+ static char ical_bits[] = {
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+- 0x00, 0x00, 0x30, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x00,
+- 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0xa0, 0x01, 0x00, 0x00,
+- 0x00, 0x00, 0x68, 0x00, 0x20, 0x01, 0x00, 0x00, 0x80, 0xff, 0xcf, 0xff,
+- 0xbf, 0xff, 0x1f, 0x00, 0x80, 0x00, 0x68, 0x0a, 0x20, 0x29, 0x10, 0x00,
+- 0x80, 0x00, 0x48, 0x05, 0xa0, 0x15, 0x10, 0x00, 0x80, 0x00, 0xe8, 0x0a,
+- 0x20, 0x2b, 0xb0, 0x00, 0x80, 0x00, 0x48, 0x05, 0xa0, 0x15, 0x50, 0x01,
+- 0x80, 0x00, 0xec, 0x02, 0x30, 0x0b, 0xb0, 0x00, 0x80, 0x00, 0xcc, 0x01,
+- 0xb0, 0x07, 0x50, 0x01, 0x80, 0x00, 0xfc, 0x00, 0xf0, 0x03, 0xb0, 0x00,
+- 0x80, 0x00, 0x78, 0x00, 0xe0, 0x01, 0x50, 0x01, 0x80, 0x00, 0x00, 0x00,
+- 0x00, 0x00, 0xb0, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x01,
+- 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0xb0, 0x00, 0x80, 0x00, 0x00, 0xf0,
+- 0x07, 0x00, 0x50, 0x01, 0x80, 0x00, 0x00, 0xfc, 0x07, 0x00, 0xb0, 0x00,
+- 0x80, 0x00, 0x00, 0xfc, 0x07, 0x00, 0x50, 0x01, 0x80, 0x00, 0x00, 0xfc,
+- 0x07, 0x00, 0xb0, 0x00, 0x80, 0x00, 0x00, 0xfc, 0x07, 0x00, 0x50, 0x01,
+- 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0xb0, 0x00, 0x80, 0x00, 0x00, 0xc0,
+- 0x07, 0x00, 0x50, 0x01, 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0xb0, 0x00,
+- 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x50, 0x01, 0x80, 0x00, 0x00, 0xc0,
+- 0x07, 0x00, 0xb0, 0x00, 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x50, 0x01,
+- 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0xb0, 0x00, 0x80, 0x00, 0x00, 0xc0,
+- 0x07, 0x00, 0x50, 0x01, 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0xb0, 0x00,
+- 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x50, 0x01, 0x80, 0x00, 0x00, 0xc0,
+- 0x07, 0x00, 0xb0, 0x00, 0x80, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x50, 0x01,
+- 0x80, 0xff, 0x01, 0xc0, 0x07, 0x00, 0xb0, 0x00, 0x80, 0x01, 0x01, 0xc0,
+- 0x07, 0x00, 0x50, 0x01, 0x80, 0x02, 0x01, 0xc0, 0x07, 0x00, 0xb0, 0x00,
+- 0x80, 0x04, 0x01, 0xc0, 0x07, 0x00, 0x50, 0x01, 0x80, 0x08, 0x01, 0x00,
+- 0x00, 0x00, 0xb0, 0x00, 0x80, 0x10, 0x01, 0x00, 0x00, 0x00, 0x50, 0x01,
+- 0x80, 0x20, 0x01, 0x00, 0x00, 0x00, 0xb0, 0x00, 0x80, 0x40, 0x01, 0x00,
+- 0x00, 0x00, 0x50, 0x01, 0x80, 0x80, 0x01, 0x00, 0x00, 0x00, 0xb0, 0x00,
+- 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0x5f, 0x01, 0x00, 0xaa, 0xaa, 0xaa,
+- 0xaa, 0xaa, 0xaa, 0x00, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01,
+- 0x00, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x00, 0x54, 0x55, 0x55,
++ 0x00, 0x00, 0x30, 0x00, (char)0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x00,
++ 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, (char)0xa0, 0x01, 0x00, 0x00,
++ 0x00, 0x00, 0x68, 0x00, 0x20, 0x01, 0x00, 0x00, (char)0x80, (char)0xff, (char)0xcf, (char)0xff,
++ (char)0xbf, (char)0xff, 0x1f, 0x00, (char)0x80, 0x00, 0x68, 0x0a, 0x20, 0x29, 0x10, 0x00,
++ (char)0x80, 0x00, 0x48, 0x05, (char)0xa0, 0x15, 0x10, 0x00, (char)0x80, 0x00, (char)0xe8, 0x0a,
++ 0x20, 0x2b, (char)0xb0, 0x00, (char)0x80, 0x00, 0x48, 0x05, (char)0xa0, 0x15, 0x50, 0x01,
++ (char)0x80, 0x00, (char)0xec, 0x02, 0x30, 0x0b, (char)0xb0, 0x00, (char)0x80, 0x00, (char)0xcc, 0x01,
++ (char)0xb0, 0x07, 0x50, 0x01, (char)0x80, 0x00, (char)0xfc, 0x00, (char)0xf0, 0x03, (char)0xb0, 0x00,
++ (char)0x80, 0x00, 0x78, 0x00, (char)0xe0, 0x01, 0x50, 0x01, (char)0x80, 0x00, 0x00, 0x00,
++ 0x00, 0x00, (char)0xb0, 0x00, (char)0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x01,
++ (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, (char)0xb0, 0x00, (char)0x80, 0x00, 0x00, (char)0xf0,
++ 0x07, 0x00, 0x50, 0x01, (char)0x80, 0x00, 0x00, (char)0xfc, 0x07, 0x00, (char)0xb0, 0x00,
++ (char)0x80, 0x00, 0x00, (char)0xfc, 0x07, 0x00, 0x50, 0x01, (char)0x80, 0x00, 0x00, (char)0xfc,
++ 0x07, 0x00, (char)0xb0, 0x00, (char)0x80, 0x00, 0x00, (char)0xfc, 0x07, 0x00, 0x50, 0x01,
++ (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, (char)0xb0, 0x00, (char)0x80, 0x00, 0x00, (char)0xc0,
++ 0x07, 0x00, 0x50, 0x01, (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, (char)0xb0, 0x00,
++ (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, 0x50, 0x01, (char)0x80, 0x00, 0x00, (char)0xc0,
++ 0x07, 0x00, (char)0xb0, 0x00, (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, 0x50, 0x01,
++ (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, (char)0xb0, 0x00, (char)0x80, 0x00, 0x00, (char)0xc0,
++ 0x07, 0x00, 0x50, 0x01, (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, (char)0xb0, 0x00,
++ (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, 0x50, 0x01, (char)0x80, 0x00, 0x00, (char)0xc0,
++ 0x07, 0x00, (char)0xb0, 0x00, (char)0x80, 0x00, 0x00, (char)0xc0, 0x07, 0x00, 0x50, 0x01,
++ (char)0x80, (char)0xff, 0x01, (char)0xc0, 0x07, 0x00, (char)0xb0, 0x00, (char)0x80, 0x01, 0x01, (char)0xc0,
++ 0x07, 0x00, 0x50, 0x01, (char)0x80, 0x02, 0x01, (char)0xc0, 0x07, 0x00, (char)0xb0, 0x00,
++ (char)0x80, 0x04, 0x01, (char)0xc0, 0x07, 0x00, 0x50, 0x01, (char)0x80, 0x08, 0x01, 0x00,
++ 0x00, 0x00, (char)0xb0, 0x00, (char)0x80, 0x10, 0x01, 0x00, 0x00, 0x00, 0x50, 0x01,
++ (char)0x80, 0x20, 0x01, 0x00, 0x00, 0x00, (char)0xb0, 0x00, (char)0x80, 0x40, 0x01, 0x00,
++ 0x00, 0x00, 0x50, 0x01, (char)0x80, (char)0x80, 0x01, 0x00, 0x00, 0x00, (char)0xb0, 0x00,
++ (char)0x80, (char)0xff, (char)0xff, (char)0xff, (char)0xff, (char)0xff, 0x5f, 0x01, 0x00, (char)0xaa, (char)0xaa, (char)0xaa,
++ (char)0xaa, (char)0xaa, (char)0xaa, 0x00, 0x00, 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x01,
++ 0x00, (char)0xaa, (char)0xaa, (char)0xaa, (char)0xaa, (char)0xaa, (char)0xaa, 0x00, 0x00, 0x54, 0x55, 0x55,
+ 0x55, 0x55, 0x55, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+--- a/bitmaps/left.xbm
++++ b/bitmaps/left.xbm
+@@ -2,6 +2,6 @@
+ #define left_width 16
+ #define left_height 16
+ static char left_bits[] = {
+- 0x00, 0x00, 0x80, 0x01, 0x40, 0x01, 0x20, 0x01, 0x10, 0x01, 0x08, 0x7f,
++ 0x00, 0x00, (char)0x80, 0x01, 0x40, 0x01, 0x20, 0x01, 0x10, 0x01, 0x08, 0x7f,
+ 0x04, 0x40, 0x02, 0x40, 0x02, 0x40, 0x04, 0x40, 0x08, 0x7f, 0x10, 0x01,
+- 0x20, 0x01, 0x40, 0x01, 0x80, 0x01, 0x00, 0x00};
++ 0x20, 0x01, 0x40, 0x01, (char)0x80, 0x01, 0x00, 0x00};
+--- a/bitmaps/right.xbm
++++ b/bitmaps/right.xbm
+@@ -2,6 +2,6 @@
+ #define right_width 16
+ #define right_height 16
+ static char right_bits[] = {
+- 0x00, 0x00, 0x80, 0x01, 0x80, 0x02, 0x80, 0x04, 0x80, 0x08, 0xfe, 0x10,
+- 0x02, 0x20, 0x02, 0x40, 0x02, 0x40, 0x02, 0x20, 0xfe, 0x10, 0x80, 0x08,
+- 0x80, 0x04, 0x80, 0x02, 0x80, 0x01, 0x00, 0x00};
++ 0x00, 0x00, (char)0x80, 0x01, (char)0x80, 0x02, (char)0x80, 0x04, (char)0x80, 0x08, (char)0xfe, 0x10,
++ 0x02, 0x20, 0x02, 0x40, 0x02, 0x40, 0x02, 0x20, (char)0xfe, 0x10, (char)0x80, 0x08,
++ (char)0x80, 0x04, (char)0x80, 0x02, (char)0x80, 0x01, 0x00, 0x00};
+--- a/bitmaps/sleft.xbm
++++ b/bitmaps/sleft.xbm
+@@ -1,6 +1,6 @@
+ #define sleft_width 16
+ #define sleft_height 16
+ static char sleft_bits[] = {
+- 0x00, 0x00, 0x00, 0x0c, 0x00, 0x0e, 0x00, 0x0f, 0x80, 0x0f, 0xc0, 0x0f,
+- 0xe0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xe0, 0x0f, 0xc0, 0x0f, 0x80, 0x0f,
++ 0x00, 0x00, 0x00, 0x0c, 0x00, 0x0e, 0x00, 0x0f, (char)0x80, 0x0f, (char)0xc0, 0x0f,
++ (char)0xe0, 0x0f, (char)0xf0, 0x0f, (char)0xf0, 0x0f, (char)0xe0, 0x0f, (char)0xc0, 0x0f, (char)0x80, 0x0f,
+ 0x00, 0x0f, 0x00, 0x0e, 0x00, 0x0c, 0x00, 0x00};
+--- a/bitmaps/sright.xbm
++++ b/bitmaps/sright.xbm
+@@ -1,6 +1,6 @@
+ #define sright_width 16
+ #define sright_height 16
+ static char sright_bits[] = {
+- 0x00, 0x00, 0x30, 0x00, 0x70, 0x00, 0xf0, 0x00, 0xf0, 0x01, 0xf0, 0x03,
+- 0xf0, 0x07, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x07, 0xf0, 0x03, 0xf0, 0x01,
+- 0xf0, 0x00, 0x70, 0x00, 0x30, 0x00, 0x00, 0x00};
++ 0x00, 0x00, 0x30, 0x00, 0x70, 0x00, (char)0xf0, 0x00, (char)0xf0, 0x01, (char)0xf0, 0x03,
++ (char)0xf0, 0x07, (char)0xf0, 0x0f, (char)0xf0, 0x0f, (char)0xf0, 0x07, (char)0xf0, 0x03, (char)0xf0, 0x01,
++ (char)0xf0, 0x00, 0x70, 0x00, 0x30, 0x00, 0x00, 0x00};
+--- a/bitmaps/todo.xbm
++++ b/bitmaps/todo.xbm
+@@ -1,6 +1,6 @@
+ #define todo_width 16
+ #define todo_height 16
+ static char todo_bits[] = {
+- 0x00, 0x00, 0xff, 0x7f, 0xff, 0x7f, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60,
++ 0x00, 0x00, (char)0xff, 0x7f, (char)0xff, 0x7f, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60,
+ 0x03, 0x60, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60,
+- 0x03, 0x60, 0x03, 0x60, 0xff, 0x7f, 0xff, 0x7f};
++ 0x03, 0x60, 0x03, 0x60, (char)0xff, 0x7f, (char)0xff, 0x7f};
+--- a/contrib/ical.xbm
++++ b/contrib/ical.xbm
+@@ -1,46 +1,46 @@
+ #define ical_width 64
+ #define ical_height 64
+ static char ical_bits[] = {
+- 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x00, 0x00, 0xff, 0xff, 0xff,
+- 0xff, 0xff, 0x7f, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0x80, 0x7f, 0x00,
+- 0x00, 0x7f, 0xb0, 0x9d, 0x12, 0x82, 0x7f, 0x00, 0x00, 0x7f, 0x50, 0x95,
+- 0x73, 0x82, 0x7f, 0x00, 0x00, 0x7f, 0x10, 0x3d, 0x52, 0x82, 0x7f, 0x00,
+- 0x00, 0x7f, 0x00, 0x00, 0x00, 0x80, 0x7f, 0x00, 0x00, 0xff, 0xff, 0xff,
+- 0xff, 0xff, 0x7f, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x00,
+- 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x07, 0x41, 0x11,
+- 0x04, 0x41, 0x70, 0x00, 0x00, 0x37, 0x49, 0x92, 0x55, 0x4d, 0x75, 0x00,
+- 0x00, 0x27, 0x59, 0xd2, 0x24, 0x4d, 0x75, 0x00, 0x00, 0x07, 0x41, 0x12,
+- 0x04, 0x41, 0x70, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x00,
+- 0x00, 0xaf, 0xeb, 0x1a, 0x04, 0x41, 0x70, 0x00, 0x00, 0x57, 0x55, 0x15,
+- 0x04, 0x41, 0x70, 0x00, 0x00, 0xaf, 0xeb, 0x1a, 0x04, 0x41, 0x70, 0x00,
+- 0x00, 0x57, 0x55, 0x15, 0x04, 0x41, 0x70, 0x00, 0x00, 0xff, 0xff, 0xff,
+- 0xff, 0xff, 0x7f, 0x00, 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00,
++ 0x00, (char)0xff, (char)0xff, (char)0xff, (char)0xff, (char)0xff, 0x7f, 0x00, 0x00, (char)0xff, (char)0xff, (char)0xff,
++ (char)0xff, (char)0xff, 0x7f, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, (char)0x80, 0x7f, 0x00,
++ 0x00, 0x7f, (char)0xb0, (char)0x9d, 0x12, (char)0x82, 0x7f, 0x00, 0x00, 0x7f, 0x50, (char)0x95,
++ 0x73, (char)0x82, 0x7f, 0x00, 0x00, 0x7f, 0x10, 0x3d, 0x52, (char)0x82, 0x7f, 0x00,
++ 0x00, 0x7f, 0x00, 0x00, 0x00, (char)0x80, 0x7f, 0x00, 0x00, (char)0xff, (char)0xff, (char)0xff,
++ (char)0xff, (char)0xff, 0x7f, 0x00, 0x00, (char)0xff, (char)0xff, (char)0xff, (char)0xff, (char)0xff, 0x7f, 0x00,
++ 0x00, (char)0xff, (char)0xff, (char)0xff, (char)0xff, (char)0xff, 0x7f, 0x00, 0x00, 0x07, 0x41, 0x11,
++ 0x04, 0x41, 0x70, 0x00, 0x00, 0x37, 0x49, (char)0x92, 0x55, 0x4d, 0x75, 0x00,
++ 0x00, 0x27, 0x59, (char)0xd2, 0x24, 0x4d, 0x75, 0x00, 0x00, 0x07, 0x41, 0x12,
++ 0x04, 0x41, 0x70, 0x00, 0x00, (char)0xff, (char)0xff, (char)0xff, (char)0xff, (char)0xff, 0x7f, 0x00,
++ 0x00, (char)0xaf, (char)0xeb, 0x1a, 0x04, 0x41, 0x70, 0x00, 0x00, 0x57, 0x55, 0x15,
++ 0x04, 0x41, 0x70, 0x00, 0x00, (char)0xaf, (char)0xeb, 0x1a, 0x04, 0x41, 0x70, 0x00,
++ 0x00, 0x57, 0x55, 0x15, 0x04, 0x41, 0x70, 0x00, 0x00, (char)0xff, (char)0xff, (char)0xff,
++ (char)0xff, (char)0xff, 0x7f, 0x00, 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00,
+ 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00, 0x00, 0x07, 0x41, 0x10,
+ 0x04, 0x41, 0x70, 0x00, 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00,
+- 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x07, 0x41, 0x10,
++ 0x00, (char)0xff, (char)0xff, (char)0xff, (char)0xff, (char)0xff, 0x7f, 0x00, 0x00, 0x07, 0x41, 0x10,
+ 0x04, 0x41, 0x70, 0x00, 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00,
+ 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00, 0x00, 0x07, 0x41, 0x10,
+- 0x04, 0x41, 0x70, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x00,
++ 0x04, 0x41, 0x70, 0x00, 0x00, (char)0xff, (char)0xff, (char)0xff, (char)0xff, (char)0xff, 0x7f, 0x00,
+ 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00, 0x00, 0x07, 0x41, 0x10,
+ 0x04, 0x41, 0x70, 0x00, 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00,
+- 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00, 0x00, 0xff, 0xff, 0xff,
+- 0xff, 0xff, 0x7f, 0x00, 0x00, 0xf7, 0x5f, 0x10, 0xfc, 0xff, 0x7a, 0x00,
+- 0x00, 0xf7, 0x5f, 0x10, 0xfe, 0xff, 0x77, 0x00, 0x00, 0xf7, 0x5f, 0x10,
+- 0x3f, 0xe0, 0x7f, 0x00, 0x00, 0x37, 0x58, 0x90, 0x07, 0x82, 0x7f, 0x00,
+- 0x00, 0x3f, 0xf8, 0xff, 0x03, 0x02, 0x7f, 0x00, 0x00, 0x3f, 0xf8, 0xff,
+- 0x00, 0x02, 0x7c, 0x00, 0x00, 0x1c, 0x70, 0xf0, 0x00, 0x02, 0x7c, 0x00,
+- 0x00, 0x1e, 0xf0, 0x70, 0x00, 0x07, 0x78, 0x00, 0x00, 0x1e, 0xf0, 0x70,
+- 0x00, 0x07, 0x78, 0x00, 0x00, 0x0e, 0xe0, 0x30, 0x00, 0x07, 0x78, 0x00,
+- 0x00, 0x0e, 0xe0, 0x30, 0x00, 0x07, 0x60, 0x00, 0x00, 0x0f, 0xe0, 0x31,
+- 0x00, 0x07, 0x60, 0x00, 0x00, 0x07, 0xc0, 0x31, 0x00, 0x1f, 0x60, 0x00,
+- 0x00, 0x07, 0xc0, 0x31, 0x00, 0xff, 0x60, 0x00, 0x00, 0x07, 0xc0, 0x31,
+- 0x00, 0x1f, 0x60, 0x00, 0x80, 0x07, 0xc0, 0x33, 0x00, 0x00, 0x60, 0x00,
+- 0x80, 0x03, 0x80, 0x33, 0x00, 0x00, 0x60, 0x00, 0x80, 0x03, 0x80, 0x73,
+- 0x00, 0x00, 0x70, 0x00, 0x80, 0x03, 0x80, 0x73, 0x00, 0x00, 0x70, 0x00,
+- 0x80, 0xff, 0xff, 0xf3, 0x00, 0x00, 0x78, 0x00, 0x80, 0xff, 0xff, 0xe3,
+- 0x00, 0x00, 0x38, 0x00, 0x80, 0xff, 0xff, 0xe3, 0x01, 0x00, 0x3c, 0x00,
+- 0x00, 0x00, 0x03, 0xc0, 0x03, 0x00, 0x1e, 0x00, 0x00, 0x80, 0x07, 0x80,
+- 0x0f, 0x80, 0x0f, 0x00, 0x00, 0xc0, 0x0f, 0x00, 0x3f, 0xe0, 0x07, 0x00,
+- 0x00, 0xc0, 0x0f, 0x00, 0xfe, 0xff, 0x03, 0x00, 0x00, 0x80, 0x07, 0x00,
+- 0xf8, 0xff, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0xc0, 0x1f, 0x00, 0x00,
++ 0x00, 0x07, 0x41, 0x10, 0x04, 0x41, 0x70, 0x00, 0x00, (char)0xff, (char)0xff, (char)0xff,
++ (char)0xff, (char)0xff, 0x7f, 0x00, 0x00, (char)0xf7, 0x5f, 0x10, (char)0xfc, (char)0xff, 0x7a, 0x00,
++ 0x00, (char)0xf7, 0x5f, 0x10, (char)0xfe, (char)0xff, 0x77, 0x00, 0x00, (char)0xf7, 0x5f, 0x10,
++ 0x3f, (char)0xe0, 0x7f, 0x00, 0x00, 0x37, 0x58, (char)0x90, 0x07, (char)0x82, 0x7f, 0x00,
++ 0x00, 0x3f, (char)0xf8, (char)0xff, 0x03, 0x02, 0x7f, 0x00, 0x00, 0x3f, (char)0xf8, (char)0xff,
++ 0x00, 0x02, 0x7c, 0x00, 0x00, 0x1c, 0x70, (char)0xf0, 0x00, 0x02, 0x7c, 0x00,
++ 0x00, 0x1e, (char)0xf0, 0x70, 0x00, 0x07, 0x78, 0x00, 0x00, 0x1e, (char)0xf0, 0x70,
++ 0x00, 0x07, 0x78, 0x00, 0x00, 0x0e, (char)0xe0, 0x30, 0x00, 0x07, 0x78, 0x00,
++ 0x00, 0x0e, (char)0xe0, 0x30, 0x00, 0x07, 0x60, 0x00, 0x00, 0x0f, (char)0xe0, 0x31,
++ 0x00, 0x07, 0x60, 0x00, 0x00, 0x07, (char)0xc0, 0x31, 0x00, 0x1f, 0x60, 0x00,
++ 0x00, 0x07, (char)0xc0, 0x31, 0x00, (char)0xff, 0x60, 0x00, 0x00, 0x07, (char)0xc0, 0x31,
++ 0x00, 0x1f, 0x60, 0x00, (char)0x80, 0x07, (char)0xc0, 0x33, 0x00, 0x00, 0x60, 0x00,
++ (char)0x80, 0x03, (char)0x80, 0x33, 0x00, 0x00, 0x60, 0x00, (char)0x80, 0x03, (char)0x80, 0x73,
++ 0x00, 0x00, 0x70, 0x00, (char)0x80, 0x03, (char)0x80, 0x73, 0x00, 0x00, 0x70, 0x00,
++ (char)0x80, (char)0xff, (char)0xff, (char)0xf3, 0x00, 0x00, 0x78, 0x00, (char)0x80, (char)0xff, (char)0xff, (char)0xe3,
++ 0x00, 0x00, 0x38, 0x00, (char)0x80, (char)0xff, (char)0xff, (char)0xe3, 0x01, 0x00, 0x3c, 0x00,
++ 0x00, 0x00, 0x03, (char)0xc0, 0x03, 0x00, 0x1e, 0x00, 0x00, (char)0x80, 0x07, (char)0x80,
++ 0x0f, (char)0x80, 0x0f, 0x00, 0x00, (char)0xc0, 0x0f, 0x00, 0x3f, (char)0xe0, 0x07, 0x00,
++ 0x00, (char)0xc0, 0x0f, 0x00, (char)0xfe, (char)0xff, 0x03, 0x00, 0x00, (char)0x80, 0x07, 0x00,
++ (char)0xf8, (char)0xff, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, (char)0xc0, 0x1f, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
diff --git a/app-office/ical/files/ical-3.0-gcc44.patch b/app-office/ical/files/ical-3.0-gcc44.patch
new file mode 100644
index 000000000000..8088be8815e5
--- /dev/null
+++ b/app-office/ical/files/ical-3.0-gcc44.patch
@@ -0,0 +1,11 @@
+--- calendar/calfile.C
++++ calendar/calfile.C
+@@ -58,7 +58,7 @@
+ backupName = tmp;
+
+ // Get directory name for access checks
+- char* lastSlash = strrchr(name, '/');
++ const char* lastSlash = strrchr(name, '/');
+ if (lastSlash == 0) {
+ /* Calendar is in current directory */
+ tmp = new char[3];
diff --git a/app-office/ical/files/ical-3.0-makefile.patch b/app-office/ical/files/ical-3.0-makefile.patch
new file mode 100644
index 000000000000..ecc911c16908
--- /dev/null
+++ b/app-office/ical/files/ical-3.0-makefile.patch
@@ -0,0 +1,33 @@
+Add LDFLAGS to linker calls
+Fix deps on check targets for parallel tests
+
+Patch by Kevin McCarthy <signals42@gmail.com>
+
+--- Makefile.in
++++ Makefile.in
+@@ -74,13 +74,13 @@
+ all: $(CONFIGURED) ical
+
+ ical: $(LIB3) $(LIB2) $(LIB1) $(OBJS) main.o
+- $(CXXLINKER) -o $@ $(OBJS) main.o $(LIBS)
++ $(CXXLINKER) $(LDFLAGS) -o $@ $(OBJS) main.o $(LIBS)
+
+ ical-bundle: $(LIB3) $(LIB2) $(LIB1) $(OBJS) mbundle.o
+- $(CXXLINKER) -o $@ $(OBJS) mbundle.o $(BLIBS)
++ $(CXXLINKER) $(LDFLAGS) -o $@ $(OBJS) mbundle.o $(BLIBS)
+
+ ical-tiny: $(LIB3) $(LIB2) $(LIB1) $(OBJS) mbundle.o
+- $(CXXLINKER) -o $@ $(OBJS) mbundle.o $(TINY_BLIBS)
++ $(CXXLINKER) $(LDFLAGS) -o $@ $(OBJS) mbundle.o $(TINY_BLIBS)
+
+ $(LIB1): FRC
+ @echo making in calendar
+@@ -195,7 +195,7 @@
+ check_text:
+ @ICAL_LIBRARY=$(srcdir) ./ical -nodisplay -f $(srcdir)/tests/no_x.tcl
+
+-check_x:
++check_x: check_text
+ @ICAL_LIBRARY=$(srcdir) ./ical -f $(srcdir)/tests/x.tcl
+
+ # Rules for shipping html documentation
diff --git a/app-office/ical/files/ical-3.0-newtcl.patch b/app-office/ical/files/ical-3.0-newtcl.patch
new file mode 100644
index 000000000000..73fc26272e4c
--- /dev/null
+++ b/app-office/ical/files/ical-3.0-newtcl.patch
@@ -0,0 +1,412 @@
+diff -ur ical-3.0.orig/dg_item.tcl ical-3.0/dg_item.tcl
+--- ical-3.0.orig/dg_item.tcl 2008-11-13 01:27:08.000000000 +0200
++++ ical-3.0/dg_item.tcl 2010-03-24 15:46:06.000000000 +0200
+@@ -3,15 +3,15 @@
+
+ proc item_edit {leader item} {
+ global iedit
+- set iedit(done) -1
++ set iedit_done -1
+
+ iedit_make
+ iedit_fill $item
+ update
+ wm minsize .iedit [winfo reqwidth .iedit] [winfo reqheight .iedit]
+
+- dialog_run $leader .iedit iedit(done)
+- if !$iedit(done) {return}
++ dialog_run $leader .iedit iedit_done
++ if !$iedit_done {return}
+
+ # Check that item has not been deleted concurrently
+ catch {
+@@ -28,7 +28,7 @@
+ toplevel $f -class Bigdialog
+ wm title $f {Item Properties}
+ wm iconname $f Item
+- wm protocol $f WM_DELETE_WINDOW {set iedit(done) 0}
++ wm protocol $f WM_DELETE_WINDOW {set iedit_done 0}
+
+ # Make the various container frames
+ frame $f.f1
+@@ -37,8 +37,8 @@
+
+ # Make the buttons
+ make_buttons $f.bot 1 {
+- {Cancel {set iedit(done) 0}}
+- {Okay {set iedit(done) 1}}
++ {Cancel {set iedit_done 0}}
++ {Okay {set iedit_done 1}}
+ }
+
+ # Top-level layout
+@@ -139,8 +139,8 @@
+ -variable iedit(todo) -onvalue 1 -offvalue 0
+ pack $f.todo -in $f.f2.c1 -side top -fill both
+
+- bind $f <Control-c> {set iedit(done) 0}
+- bind $f <Return> {set iedit(done) 1}
++ bind $f <Control-c> {set iedit_done 0}
++ bind $f <Return> {set iedit_done 1}
+
+ wm withdraw $f
+ }
+diff -ur ical-3.0.orig/dg_key.tcl ical-3.0/dg_key.tcl
+--- ical-3.0.orig/dg_key.tcl 2008-11-10 12:06:11.000000000 +0200
++++ ical-3.0/dg_key.tcl 2010-03-24 15:47:41.000000000 +0200
+@@ -11,7 +11,7 @@
+ # The result is a list with two elements. The first element
+ # is a key sequence, and the second is a command name.
+
+-set defkey(done) -1
++set defkey_done -1
+ set defkey(help) 0
+ set defkey(cmd) {}
+
+@@ -36,7 +36,7 @@
+
+ toplevel $f -class Dialog
+ wm title $f "Define Key"
+- wm protocol $f WM_DELETE_WINDOW {set defkey(done) 0}
++ wm protocol $f WM_DELETE_WINDOW {set defkey_done 0}
+
+ frame $f.top -class Pane
+ frame $f.mid -class Pane
+@@ -44,8 +44,8 @@
+ make_buttons $f.bot 3 {
+ {Clear {defkey_clear_key}}
+ {Help {defkey_help_toggle}}
+- {Cancel {set defkey(done) 0}}
+- {Okay {set defkey(done) 1}}
++ {Cancel {set defkey_done 0}}
++ {Okay {set defkey_done 1}}
+ }
+
+ message $f.text -aspect 400 -text [join {
+@@ -117,10 +117,10 @@
+ if $defkey(help) {defkey_help_toggle}
+
+ # Run dialog
+- set defkey(done) -1
+- dialog_run $leader $f defkey(done)
++ set defkey_done -1
++ dialog_run $leader $f defkey_done
+
+- return $defkey(done)
++ return $defkey_done
+ }
+
+ proc defkey_select_command {} {
+diff -ur ical-3.0.orig/dg_monthr.tcl ical-3.0/dg_monthr.tcl
+--- ical-3.0.orig/dg_monthr.tcl 2008-11-10 12:06:10.000000000 +0200
++++ ical-3.0/dg_monthr.tcl 2010-03-24 15:48:57.000000000 +0200
+@@ -11,13 +11,13 @@
+
+ # Hidden global variables
+ #
+-# mr_state(done) Interaction has finished
++# mr_state_done Interaction has finished
+ # mr_state(item) The item being modified
+ # mr_state(int) Repetition interval in months
+ # mr_state(occ) Type of monthly occurrence
+ # mr_state(count:...) Count for a particular type of occurrence
+
+-set mr_state(done) 0
++set mr_state_done 0
+ set mr_state(item) {}
+ set mr_state(occ) {}
+ set mr_state(int) {}
+@@ -51,7 +51,7 @@
+ toplevel $f -class Dialog
+ wm title $f "Monthly Repetition"
+ wm iconname $f "Repeat"
+- wm protocol $f WM_DELETE_WINDOW {set mr_state(done) 0}
++ wm protocol $f WM_DELETE_WINDOW {set mr_state_done 0}
+
+ frame $f.top -class Pane
+ frame $f.left -class Pane
+@@ -61,8 +61,8 @@
+ pack $f.text -in $f.top -side top -expand 1 -fill both -padx 5m -pady 5m
+
+ make_buttons $f.bot 1 {
+- {Cancel {set mr_state(done) 0}}
+- {Okay {set mr_state(done) 1}}
++ {Cancel {set mr_state_done 0}}
++ {Okay {set mr_state_done 1}}
+ }
+
+ # Create interval buttons
+@@ -104,8 +104,8 @@
+ pack $f.left -side left -expand 1 -fill both
+ pack $f.right -side left -expand 1 -fill both
+
+- bind $f <Control-c> {set mr_state(done) 0}
+- bind $f <Return> {set mr_state(done) 1}
++ bind $f <Control-c> {set mr_state_done 0}
++ bind $f <Return> {set mr_state_done 1}
+
+ wm withdraw $f
+ update
+@@ -114,7 +114,7 @@
+ proc monthrepeat_interact {leader item anchor} {
+ global mr_state
+ set f .mr_dialog
+- set mr_state(done) -1
++ set mr_state_done -1
+ set mr_state(int) 1
+ set mr_state(occ) month_day
+
+@@ -186,6 +186,6 @@
+ $f.month_last_week_day configure -text "[num2text $c]-last $wday_name"
+ }
+
+- dialog_run $leader $f mr_state(done)
+- return $mr_state(done)
++ dialog_run $leader $f mr_state_done
++ return $mr_state_done
+ }
+diff -ur ical-3.0.orig/dg_range.tcl ical-3.0/dg_range.tcl
+--- ical-3.0.orig/dg_range.tcl 2008-11-10 12:06:09.000000000 +0200
++++ ical-3.0/dg_range.tcl 2010-03-24 15:49:57.000000000 +0200
+@@ -14,11 +14,11 @@
+
+ # Hidden global variables
+ #
+-# dr_state(done) Interaction has finished
++# dr_state_done Interaction has finished
+ # dr_state(start) Starting date
+ # dr_state(finish) Finishing date
+
+-set dr_state(done) 0
++set dr_state_done 0
+ set dr_state(start) {}
+ set dr_state(finish) {}
+
+@@ -47,7 +47,7 @@
+ toplevel $f -class Dialog
+ wm title $f "Select Range"
+ wm iconname $f "Range"
+- wm protocol $f WM_DELETE_WINDOW {set dr_state(done) 0}
++ wm protocol $f WM_DELETE_WINDOW {set dr_state_done 0}
+
+ frame $f.top -class Pane
+ message $f.text -aspect 800 -text {Restrict item repetition range...}
+@@ -62,16 +62,16 @@
+ pack $f.finish -in $f.mid -side top -expand 1 -fill both -padx 5m -pady 5m
+
+ make_buttons $f.bot 1 {
+- {Cancel {set dr_state(done) 0}}
+- {Okay {set dr_state(done) 1}}
++ {Cancel {set dr_state_done 0}}
++ {Okay {set dr_state_done 1}}
+ }
+
+ pack $f.top -side top -fill both -expand 1
+ pack $f.mid -side top -fill both -expand 1
+ pack $f.bot -side bottom -fill x
+
+- bind $f <Control-c> {set dr_state(done) 0}
+- bind $f <Return> {set dr_state(done) 1}
++ bind $f <Control-c> {set dr_state_done 0}
++ bind $f <Return> {set dr_state_done 1}
+
+ wm withdraw $f
+ update
+@@ -86,9 +86,9 @@
+ global dr_state
+ set f .dr_dialog
+
+- set dr_state(done) -1
+- dialog_run $leader $f dr_state(done)
+- return $dr_state(done)
++ set dr_state_done -1
++ dialog_run $leader $f dr_state_done
++ return $dr_state_done
+ }
+
+ proc dr_validate {args} {
+diff -ur ical-3.0.orig/dg_wdays.tcl ical-3.0/dg_wdays.tcl
+--- ical-3.0.orig/dg_wdays.tcl 2008-11-10 12:06:08.000000000 +0200
++++ ical-3.0/dg_wdays.tcl 2010-03-24 15:54:11.000000000 +0200
+@@ -11,11 +11,11 @@
+
+ # Hidden global variables
+ #
+-# ws_state(done) Is ws interaction finished
++# ws_state_done Is ws interaction finished
+ # ws_state(1..7) Set iff specified weekday was selected
+ # ws_state(int) Week interval
+
+-set ws_state(done) 0
++set ws_state_done 0
+ foreach i {1 2 3 4 5 6 7} {
+ set ws_state($i) 0
+ }
+@@ -54,7 +54,7 @@
+ toplevel $f -class Dialog
+ wm title $f {Weekly Repetition}
+ wm iconname $f Repeat
+- wm protocol $f WM_DELETE_WINDOW {set ws_state(done) 0}
++ wm protocol $f WM_DELETE_WINDOW {set ws_state_done 0}
+
+ frame $f.top -class Pane
+ frame $f.left -class Pane
+@@ -64,8 +64,8 @@
+ pack $f.text -in $f.top -side top -expand 1 -fill both -padx 5m -pady 5m
+
+ make_buttons $f.bot 1 {
+- {Cancel {set ws_state(done) 0}}
+- {Okay {set ws_state(done) 1}}
++ {Cancel {set ws_state_done 0}}
++ {Okay {set ws_state_done 1}}
+ }
+
+ # Make set of weekdays
+@@ -107,8 +107,8 @@
+ pack $f.right -side left -expand 1 -fill both
+ pack $f.left -side left -expand 1 -fill both
+
+- bind $f <Control-c> {set ws_state(done) 0}
+- bind $f <Return> {set ws_state(done) 1}
++ bind $f <Control-c> {set ws_state_done 0}
++ bind $f <Return> {set ws_state_done 1}
+
+ wm withdraw $f
+ update
+@@ -135,9 +135,9 @@
+ ws_reconfig
+
+ # Run dialog
+- set ws_state(done) -1
+- dialog_run $leader $f ws_state(done)
++ set ws_state_done -1
++ dialog_run $leader $f ws_state_done
+
+ # Construct return value
+- return $ws_state(done)
++ return $ws_state_done
+ }
+diff -ur ical-3.0.orig/help.tcl ical-3.0/help.tcl
+--- ical-3.0.orig/help.tcl 2008-11-10 12:06:04.000000000 +0200
++++ ical-3.0/help.tcl 2010-03-24 15:55:03.000000000 +0200
+@@ -132,7 +132,7 @@
+ return 0
+ }
+
+-set about(done) 0
++set about_done 0
+ proc show_about {leader} {
+ global ical about
+
+@@ -155,22 +155,22 @@
+ pack $t.top.author -side top -expand 1 -fill x -padx 5m -pady 5m
+
+ make_buttons $t.bot 0 {
+- {{Okay} {set about(done) 1}}
++ {{Okay} {set about_done 1}}
+ }
+
+ pack $t.top -side top -expand 1 -fill x
+ pack $t.bot -side bottom -expand 1 -fill x
+
+ wm title $t {About Ical}
+- wm protocol $t WM_DELETE_WINDOW {set about(done) 1}
+- bind $t <Control-c> {set about(done) 1}
+- bind $t <Return> {set about(done) 1}
++ wm protocol $t WM_DELETE_WINDOW {set about_done 1}
++ bind $t <Control-c> {set about_done 1}
++ bind $t <Return> {set about_done 1}
+
+ wm withdraw $t
+ update idletasks
+ }
+
+- set about(done) 0
+- dialog_run $leader $t about(done)
++ set about_done 0
++ dialog_run $leader $t about_done
+ return
+ }
+diff -ur ical-3.0.orig/ical.C ical-3.0/ical.C
+--- ical-3.0.orig/ical.C 2008-11-10 12:06:04.000000000 +0200
++++ ical-3.0/ical.C 2010-03-24 15:58:38.000000000 +0200
+@@ -140,7 +140,7 @@
+ buffer.append('\0');
+
+ if (Tcl_Eval(tcl, buffer.as_pointer()) == TCL_ERROR)
+- fprintf(stderr, "ical: trigger error: %s\n", tcl->result);
++ fprintf(stderr, "ical: trigger error: %s\n", Tcl_GetStringResult(tcl));
+
+ buffer.clear();
+ }
+diff -ur ical-3.0.orig/tcllib/dg_bug.tcl ical-3.0/tcllib/dg_bug.tcl
+--- ical-3.0.orig/tcllib/dg_bug.tcl 2008-11-10 12:03:23.000000000 +0200
++++ ical-3.0/tcllib/dg_bug.tcl 2010-03-24 15:57:22.000000000 +0200
+@@ -11,7 +11,7 @@
+ #
+ # bug_done Is bug interaction finished
+
+-set bug(done) no
++set bug_done no
+
+ proc bug_notify {mailer email message} {
+ bug_make
+@@ -26,15 +26,15 @@
+
+ toplevel $f -class Dialog
+ wm title $f {Internal Error}
+- wm protocol $f WM_DELETE_WINDOW {set bug(done) cancel}
++ wm protocol $f WM_DELETE_WINDOW {set bug_done cancel}
+
+ frame $f.top -class Pane
+ frame $f.mid -class Pane
+
+ make_buttons $f.bot 2 {
+- {{Dismiss} {set bug(done) cancel}}
+- {{Save} {set bug(done) save}}
+- {{Mail Report} {set bug(done) send}}
++ {{Dismiss} {set bug_done cancel}}
++ {{Save} {set bug_done save}}
++ {{Mail Report} {set bug_done send}}
+ }
+
+ label $f.icon -bitmap error
+@@ -57,7 +57,7 @@
+ pack $f.bot -side top -fill both
+
+ # XXX What bindings should we add here?
+- # bind $f <Control-c><Control-c> {set bug(done) cancel}
++ # bind $f <Control-c><Control-c> {set bug_done cancel}
+
+ wm withdraw $f
+ update
+@@ -97,13 +97,13 @@
+ set etext $bug(edit).text
+ $etext delete 1.0 end
+
+- set bug(done) no
+- dialog_run {} $f bug(done) $etext
++ set bug_done no
++ dialog_run {} $f bug_done $etext
+
+- if ![string compare $bug(done) {cancel}] return
++ if ![string compare $bug_done {cancel}] return
+
+ set text [bug_extract]
+- switch -exact -- $bug(done) {
++ switch -exact -- $bug_done {
+ save {
+ bug_save $email $text
+ }
+diff -ur ical-3.0.orig/tests/dialog.tcl ical-3.0/tests/dialog.tcl
+--- ical-3.0.orig/tests/dialog.tcl 2008-11-10 12:03:37.000000000 +0200
++++ ical-3.0/tests/dialog.tcl 2010-03-24 15:57:47.000000000 +0200
+@@ -35,7 +35,7 @@
+ }
+
+ proc dg_bug {} {
+- after 500 {set bug(done) cancel}
++ after 500 {set bug_done cancel}
+ expect {bug_notify cat foo "Test message"} {}
+ }
+
diff --git a/app-office/ical/ical-3.0-r2.ebuild b/app-office/ical/ical-3.0-r2.ebuild
new file mode 100644
index 000000000000..145e6232d0d7
--- /dev/null
+++ b/app-office/ical/ical-3.0-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils multilib virtualx
+
+DESCRIPTION="Tk-based Calendar program"
+HOMEPAGE="https://launchpad.net/ical-tcl"
+SRC_URI="https://launchpad.net/ical-tcl/3.x/${PV}/+download/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="
+ dev-lang/tcl:0
+ dev-lang/tk:0
+ "
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc44.patch \
+ "${FILESDIR}"/${P}-newtcl.patch \
+ "${FILESDIR}"/${P}-makefile.patch \
+ "${FILESDIR}"/${P}-fix-c++14.patch
+
+ sed -i \
+ -e 's:8.4 8.3:8.6 8.5 8.4 8.3:g' \
+ -e 's:sys/utsname.h limits.h::' \
+ configure.in || die
+
+ sed -i \
+ -e 's:mkdir:mkdir -p:' \
+ -e "/LIBDIR =/s:lib:$(get_libdir):" \
+ -e '/MANDIR =/s:man:share/man:' \
+ Makefile.in || die
+
+ mv configure.{in,ac} || die
+
+ eautoconf
+}
+
+src_compile() {
+ emake OPTF="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
+}
+
+src_test() {
+ [[ ${EUID} != 0 ]] && Xemake check
+}
+
+src_install() {
+ emake prefix="${D}/usr" install
+
+ DOCS=( ANNOUNCE *README RWMJ-release-notes.txt TODO )
+ HTML_DOCS=( {.,doc}/*.html )
+ einstalldocs
+
+ rm -f "${D}"/usr/$(get_libdir)/ical/v3.0/contrib/README || die
+}
diff --git a/app-office/ical/metadata.xml b/app-office/ical/metadata.xml
new file mode 100644
index 000000000000..87b5c68a8975
--- /dev/null
+++ b/app-office/ical/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="launchpad">ical-tcl</remote-id>
+ </upstream>
+</pkgmetadata>