summaryrefslogtreecommitdiff
path: root/devel/glibmm/files/patch-glib_glibmm_date.h
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-04-22 19:03:12 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-04-22 19:03:12 +0000
commit1ca97d556277a492782597192563ad51ac7b0d1b (patch)
tree1b559bf6e332014c95bd3c4d27bc4b78492acdfb /devel/glibmm/files/patch-glib_glibmm_date.h
parentUpdate to 1.8 (diff)
Downgrade to 2.12.8. The 2.13.x version is a development version. The update
of gtkmm to 2.10.9 doesn't build with glibmm 2.13.x. Bump the PORTEPOCH. GNOME Bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=430782 Discussed with: marcus
Diffstat (limited to 'devel/glibmm/files/patch-glib_glibmm_date.h')
-rw-r--r--devel/glibmm/files/patch-glib_glibmm_date.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/devel/glibmm/files/patch-glib_glibmm_date.h b/devel/glibmm/files/patch-glib_glibmm_date.h
index 0d249931c1d5..fdf6ccc9e525 100644
--- a/devel/glibmm/files/patch-glib_glibmm_date.h
+++ b/devel/glibmm/files/patch-glib_glibmm_date.h
@@ -1,17 +1,19 @@
---- glib/glibmm/date.h.orig Mon Feb 6 00:51:03 2006
-+++ glib/glibmm/date.h Mon Feb 6 00:52:08 2006
-@@ -120,6 +120,7 @@ enum DMY
- void set_parse (const Glib::ustring& str);
+--- glib/glibmm/date.h.orig Sun Apr 22 12:29:49 2007
++++ glib/glibmm/date.h Sun Apr 22 12:30:39 2007
+@@ -121,7 +121,7 @@
+
#ifndef GLIBMM_DISABLE_DEPRECATED
+-
+#if GLIB_SIZEOF_LONG != 4 && !defined(__alpha__)
-
- /** Sets the value of a date from a GTime (time_t) value.
- *
-@@ -128,6 +129,7 @@ enum DMY
- * @deprecated Please use set_time(time_t) or set_time(const GTimeVal&).
+
+ //Avoid a build problem in the case that time_t is equivalent to guint32 (GTime is also guint32)
+ //That would make the set_time() method overload impossible.
+@@ -134,7 +134,7 @@
*/
void set_time(GTime time);
+ #endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32
+-
+#endif
#endif // GLIBMM_DISABLE_DEPRECATED