diff options
Diffstat (limited to 'deskutils/gnote')
-rw-r--r-- | deskutils/gnote/Makefile | 3 | ||||
-rw-r--r-- | deskutils/gnote/files/patch-src_sharp_datetime.cpp | 20 |
2 files changed, 20 insertions, 3 deletions
diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile index 212026981..b6dc2383b 100644 --- a/deskutils/gnote/Makefile +++ b/deskutils/gnote/Makefile @@ -3,11 +3,12 @@ # Whom: Mezz <mezz@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/deskutils/gnote/Makefile,v 1.8 2010/01/02 21:16:19 kwm Exp $ +# $MCom: ports/deskutils/gnote/Makefile,v 1.9 2010/01/06 01:12:43 kwm Exp $ # PORTNAME= gnote PORTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= GNOME diff --git a/deskutils/gnote/files/patch-src_sharp_datetime.cpp b/deskutils/gnote/files/patch-src_sharp_datetime.cpp index 2950c4715..d2a7601b8 100644 --- a/deskutils/gnote/files/patch-src_sharp_datetime.cpp +++ b/deskutils/gnote/files/patch-src_sharp_datetime.cpp @@ -1,6 +1,22 @@ --- src/sharp/datetime.cpp.orig 2009-12-28 12:46:01.000000000 +0100 -+++ src/sharp/datetime.cpp 2010-01-02 22:05:18.000000000 +0100 -@@ -83,14 +83,14 @@ namespace sharp { ++++ src/sharp/datetime.cpp 2010-02-14 15:47:21.000000000 +0100 +@@ -69,28 +69,28 @@ namespace sharp { + int DateTime::day() const + { + struct tm result; +- localtime_r(&m_date.tv_sec, &result); ++ localtime_r((const time_t *)&m_date.tv_sec, &result); + return result.tm_mday; + } + + int DateTime::month() const + { + struct tm result; +- localtime_r(&m_date.tv_sec, &result); ++ localtime_r((const time_t *)&m_date.tv_sec, &result); + return result.tm_mon + 1; + } + int DateTime::year() const { struct tm result; |