diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-02-15 04:17:39 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-02-15 04:17:39 +0800 |
commit | 29be1d821a63a19e5a78a3072f149f0819288001 (patch) | |
tree | d58e7dfd6856c6c9c0d13e3ee209ea1a67d667ee /deskutils | |
parent | b2df4861d51809b6c57f7d0b478887595b4ea5f9 (diff) | |
download | marcuscom-ports-29be1d821a63a19e5a78a3072f149f0819288001.tar marcuscom-ports-29be1d821a63a19e5a78a3072f149f0819288001.tar.gz marcuscom-ports-29be1d821a63a19e5a78a3072f149f0819288001.tar.bz2 marcuscom-ports-29be1d821a63a19e5a78a3072f149f0819288001.tar.lz marcuscom-ports-29be1d821a63a19e5a78a3072f149f0819288001.tar.xz marcuscom-ports-29be1d821a63a19e5a78a3072f149f0819288001.tar.zst marcuscom-ports-29be1d821a63a19e5a78a3072f149f0819288001.zip |
Fix build on i386
Submitted by: Vladimir Grebenschikov <vova@fbsd.ru>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13627 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils')
-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; |