From b9d746af92e47f3aba754fefe60b72281faf4736 Mon Sep 17 00:00:00 2001 From: mezz Date: Wed, 22 Jul 2009 04:14:38 +0000 Subject: 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 --- deskutils/gnote/files/patch-src_sharp_datetime.cpp | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 deskutils/gnote/files/patch-src_sharp_datetime.cpp (limited to 'deskutils/gnote/files') 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 -- cgit v1.2.3