aboutsummaryrefslogtreecommitdiff
path: root/devel/glibmm/files/patch-glib_glibmm_date.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glibmm/files/patch-glib_glibmm_date.cc')
-rw-r--r--devel/glibmm/files/patch-glib_glibmm_date.cc17
1 files changed, 7 insertions, 10 deletions
diff --git a/devel/glibmm/files/patch-glib_glibmm_date.cc b/devel/glibmm/files/patch-glib_glibmm_date.cc
index 66c85602135e..539778d9a9b1 100644
--- a/devel/glibmm/files/patch-glib_glibmm_date.cc
+++ b/devel/glibmm/files/patch-glib_glibmm_date.cc
@@ -1,19 +1,16 @@
---- glib/glibmm/date.cc.orig Sun Apr 22 12:28:36 2007
-+++ glib/glibmm/date.cc Sun Apr 22 12:28:48 2007
-@@ -73,7 +73,7 @@
-
+--- glib/glibmm/date.cc.orig Sun May 6 00:19:51 2007
++++ glib/glibmm/date.cc Sun May 6 00:21:36 2007
+@@ -72,12 +72,14 @@ void Date::set_parse(const Glib::ustring
+ }
#ifndef GLIBMM_DISABLE_DEPRECATED
--
+#if GLIB_SIZEOF_LONG != 4 && !defined(__alpha__)
- //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.
-@@ -84,7 +84,7 @@
+ void Date::set_time(GTime time)
+ {
+ //This method, and the C function that it wraps, are deprecated.
g_date_set_time(&gobject_, time);
}
- #endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32
--
+#endif
#endif // GLIBMM_DISABLE_DEPRECATED