summaryrefslogtreecommitdiffstats
path: root/deskutils/gnote/files
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2009-07-22 12:14:38 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2009-07-22 12:14:38 +0800
commitb9d746af92e47f3aba754fefe60b72281faf4736 (patch)
tree5498122f28fa9e15ee68bb1e0d9d53c09cc46df9 /deskutils/gnote/files
parentd06e076bbd250cea5887e7a06dbd6b1b19abaa4d (diff)
downloadmarcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.gz
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.bz2
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.lz
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.xz
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.zst
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.zip
Gnote is a port of Tomboy to C++.
It is the same note taking application, including most of the add-ins (more are to come). Synchronization support is being worked on. WWW: http://live.gnome.org/Gnote -- The reason why I am putting in here first is that... I haven't test it in the runtime yet. Let me know if you have any problem with it. I will test it when I get my desktop up and running again at some point. If it works great, it will be replace from tomboy to gnote in our x11/gnome2. Reason: - The mono stuff sometime lag in FreeBSD, but not anymore with good maintainers. - Tomboy is very limited on $ARCH (i386 and maybe amd64) - The gnote is heck a lot smaller to fit in CD and work on many $ARCH. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12496 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gnote/files')
-rw-r--r--deskutils/gnote/files/patch-src_sharp_datetime.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/deskutils/gnote/files/patch-src_sharp_datetime.cpp b/deskutils/gnote/files/patch-src_sharp_datetime.cpp
new file mode 100644
index 000000000..71ce22078
--- /dev/null
+++ b/deskutils/gnote/files/patch-src_sharp_datetime.cpp
@@ -0,0 +1,36 @@
+--- src/sharp/datetime.cpp.orig 2009-07-21 22:13:30.000000000 -0500
++++ src/sharp/datetime.cpp 2009-07-21 22:25:29.000000000 -0500
+@@ -69,14 +69,14 @@
+ int DateTime::year() const
+ {
+ struct tm result;
+- localtime_r(&m_date.tv_sec, &result);
++ localtime_r((const time_t *)&m_date.tv_sec, &result);
+ return result.tm_year;
+ }
+
+ int DateTime::day_of_year() const
+ {
+ struct tm result;
+- localtime_r(&m_date.tv_sec, &result);
++ localtime_r((const time_t *)&m_date.tv_sec, &result);
+ return result.tm_yday;
+ }
+
+@@ -95,14 +95,14 @@
+ std::string DateTime::to_string(const char * format) const
+ {
+ struct tm result;
+- return _to_string(format, localtime_r(&m_date.tv_sec, &result));
++ return _to_string(format, localtime_r((const time_t *)&m_date.tv_sec, &result));
+ }
+
+
+ std::string DateTime::to_short_time_string() const
+ {
+ struct tm result;
+- return _to_string("%R", localtime_r(&m_date.tv_sec, &result));
++ return _to_string("%R", localtime_r((const time_t *)&m_date.tv_sec, &result));
+ }
+
+ std::string DateTime::to_iso8601() const