ports/devel/glibmm/files/patch-glib_glibmm_date.cc
Jeremy Messenger 1ca97d5562 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
2007-04-22 19:03:12 +00:00

20 lines
531 B
C++

--- 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 @@
#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 @@
g_date_set_time(&gobject_, time);
}
#endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32
-
+#endif
#endif // GLIBMM_DISABLE_DEPRECATED