head 1.2; access; symbols pkgsrc-2020Q1:1.1.0.66 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.88 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.84 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.82 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.80 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.78 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.76 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.74 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.72 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.70 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.68 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.64 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.62 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.60 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.58 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.56 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.54 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.52 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.50 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.48 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.46 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.44 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.42 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.40 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.38 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.36 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.34 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.32 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.30 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.28 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.26 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.24 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.22 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.20 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.18 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.16 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.14 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.12 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.10 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.8 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.6 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.4 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.2 pkgsrc-2009Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2020.05.15.11.37.01; author nia; state dead; branches; next 1.1; commitid Fzb85QArYgcpvk8C; 1.1 date 2009.09.09.15.28.04; author drochner; state Exp; branches; next ; desc @@ 1.2 log @Remove mono GNOME 2 bindings and dependent packages We need to repackage a recent version of monodevelop if we want it to be usable again @ text @$NetBSD: patch-aa,v 1.1 2009/09/09 15:28:04 drochner Exp $ --- gnomevfs/FileInfo.cs.orig 2008-03-07 03:32:15.000000000 +0100 +++ gnomevfs/FileInfo.cs @@@@ -38,9 +38,19 @@@@ namespace Gnome.Vfs { public long size; public long block_count; public uint io_block_size; +#if TIMET_IS_64BITS + public long atime; + public long mtime; + public long ctime; +#elif TIMET_IS_32BITS + public int atime; + public int mtime; + public int ctime; +#else public IntPtr atime; public IntPtr mtime; public IntPtr ctime; +#endif public IntPtr symlink_name; public IntPtr mime_type; public uint refcount; @@@@ -216,7 +226,7 @@@@ namespace Gnome.Vfs { public System.DateTime Atime { get { if ((ValidFields & FileInfoFields.Atime) != 0) - return GLib.Marshaller.time_tToDateTime (Native.atime); + return GLib.Marshaller.time_tToDateTime ((IntPtr)Native.atime); else throw new ArgumentException ("Atime is not set"); } @@@@ -225,7 +235,7 @@@@ namespace Gnome.Vfs { public System.DateTime Mtime { get { if ((ValidFields & FileInfoFields.Mtime) != 0) - return GLib.Marshaller.time_tToDateTime (Native.mtime); + return GLib.Marshaller.time_tToDateTime ((IntPtr)Native.mtime); else throw new ArgumentException ("Mtime is not set"); } @@@@ -234,7 +244,7 @@@@ namespace Gnome.Vfs { public System.DateTime Ctime { get { if ((ValidFields & FileInfoFields.Ctime) != 0) - return GLib.Marshaller.time_tToDateTime (Native.ctime); + return GLib.Marshaller.time_tToDateTime ((IntPtr)Native.ctime); else throw new ArgumentException ("Ctime is not set"); } @ 1.1 log @Fix lossage due to the assumption that a time_t has the same width as a pointer, which fails at least on NetBSD-64bit <=5 and -32bit >5. Unfortunately this assumption is deep in the code, in particular already in gtk-sharp, so this fix isn't great because it only corrects the translation of a C structure into C# data. (With this fix, I can import pictures into f-spot from the filesystem.) Many thanks to Brian de Alwis for explaining how conditionals can be done in C#. bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @