diff options
Diffstat (limited to 'x11/gtkmm-utils/patches')
-rw-r--r-- | x11/gtkmm-utils/patches/patch-aa | 13 | ||||
-rw-r--r-- | x11/gtkmm-utils/patches/patch-ab | 15 | ||||
-rw-r--r-- | x11/gtkmm-utils/patches/patch-ac | 15 |
3 files changed, 43 insertions, 0 deletions
diff --git a/x11/gtkmm-utils/patches/patch-aa b/x11/gtkmm-utils/patches/patch-aa new file mode 100644 index 00000000000..75e825daeab --- /dev/null +++ b/x11/gtkmm-utils/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ + +--- glibmm-utils/date.cc.orig 2008-01-16 18:22:26.000000000 +0100 ++++ glibmm-utils/date.cc +@@ -50,7 +50,7 @@ get_current_daytime_generic(Glib::ustrin + + // Obtain the time of day, and convert it to a tm struct. + gettimeofday(&tv, NULL); +- ptm = localtime(&tv.tv_sec); ++ ptm = localtime((time_t *)&tv.tv_sec); + + strftime(time_string, sizeof (time_string), format, ptm); + diff --git a/x11/gtkmm-utils/patches/patch-ab b/x11/gtkmm-utils/patches/patch-ab new file mode 100644 index 00000000000..77d9f6b912e --- /dev/null +++ b/x11/gtkmm-utils/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ + +--- examples/logging.cc.orig 2008-01-16 18:22:26.000000000 +0100 ++++ examples/logging.cc +@@ -34,6 +34,10 @@ + #include "glibmm-utils/glibmm-utils.h" + #include "logging.h" + ++#ifndef __ASSERT_FUNCTION ++#define __ASSERT_FUNCTION __func__ ++#endif ++ + enum Operation + { + OPERATION_ADDITION, diff --git a/x11/gtkmm-utils/patches/patch-ac b/x11/gtkmm-utils/patches/patch-ac new file mode 100644 index 00000000000..d49d55bce59 --- /dev/null +++ b/x11/gtkmm-utils/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ + +--- glibmm-utils/log-stream.cc.orig 2008-10-14 14:11:14.000000000 +0200 ++++ glibmm-utils/log-stream.cc +@@ -36,6 +36,10 @@ + #include "date.h" + #include "ustring.h" + ++#ifndef __ASSERT_FUNCTION ++#define __ASSERT_FUNCTION __func__ ++#endif ++ + namespace Glib { + namespace Util { + |