diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-02-06 14:01:16 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-02-06 14:01:16 +0800 |
commit | 0b7a7f46d15437044311738d147646ecd4390b38 (patch) | |
tree | c166aad6b4d9841418c599bcf1394b784b305ce3 /devel/glibmm/files | |
parent | 8cbc8171a3440fccabb20ef494b4f37c31993df7 (diff) | |
download | marcuscom-ports-0b7a7f46d15437044311738d147646ecd4390b38.tar marcuscom-ports-0b7a7f46d15437044311738d147646ecd4390b38.tar.gz marcuscom-ports-0b7a7f46d15437044311738d147646ecd4390b38.tar.bz2 marcuscom-ports-0b7a7f46d15437044311738d147646ecd4390b38.tar.lz marcuscom-ports-0b7a7f46d15437044311738d147646ecd4390b38.tar.xz marcuscom-ports-0b7a7f46d15437044311738d147646ecd4390b38.tar.zst marcuscom-ports-0b7a7f46d15437044311738d147646ecd4390b38.zip |
Update to 2.9.1, and add a nasty hack to get it to build on systems where
sizeof(time_t) == sizeof(int32_t) (basically i386 and alpha).
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5638 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/glibmm/files')
-rw-r--r-- | devel/glibmm/files/patch-docs::reference::beautify_docs.pl | 20 | ||||
-rw-r--r-- | devel/glibmm/files/patch-glib_glibmm_date.cc | 17 | ||||
-rw-r--r-- | devel/glibmm/files/patch-glib_glibmm_date.h | 18 |
3 files changed, 55 insertions, 0 deletions
diff --git a/devel/glibmm/files/patch-docs::reference::beautify_docs.pl b/devel/glibmm/files/patch-docs::reference::beautify_docs.pl new file mode 100644 index 000000000..bbb320452 --- /dev/null +++ b/devel/glibmm/files/patch-docs::reference::beautify_docs.pl @@ -0,0 +1,20 @@ +--- docs/reference/beautify_docs.pl.in.orig Thu Feb 12 02:52:02 2004 ++++ docs/reference/beautify_docs.pl.in Thu Feb 12 03:00:08 2004 +@@ -25,7 +25,7 @@ + my ($file) = @_; + my @outbuf; + +- open(FILE, '<', $file); ++ open(FILE, "<$file"); + + while(<FILE>) + { +@@ -71,7 +71,7 @@ + push(@outbuf, $_); + } + +- open(FILE, '>', $file); ++ open(FILE, ">$file"); + + # write the whole buffer back + print FILE "$_" foreach(@outbuf); diff --git a/devel/glibmm/files/patch-glib_glibmm_date.cc b/devel/glibmm/files/patch-glib_glibmm_date.cc new file mode 100644 index 000000000..bac31b4c9 --- /dev/null +++ b/devel/glibmm/files/patch-glib_glibmm_date.cc @@ -0,0 +1,17 @@ +--- glib/glibmm/date.cc.orig Mon Feb 6 00:50:58 2006 ++++ glib/glibmm/date.cc Mon Feb 6 00:51:32 2006 +@@ -72,12 +72,14 @@ void Date::set_parse(const Glib::ustring + } + + #ifndef GLIBMM_DISABLE_DEPRECATED ++#if GLIB_SIZEOF_LONG != 4 && !defined(__alpha__) + + void Date::set_time(GTime time) + { + //This method, and the C function that it wraps, are deprecated. + g_date_set_time(&gobject_, time); + } ++#endif + #endif // GLIBMM_DISABLE_DEPRECATED + + diff --git a/devel/glibmm/files/patch-glib_glibmm_date.h b/devel/glibmm/files/patch-glib_glibmm_date.h new file mode 100644 index 000000000..0d249931c --- /dev/null +++ b/devel/glibmm/files/patch-glib_glibmm_date.h @@ -0,0 +1,18 @@ +--- 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); + + #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&). + */ + void set_time(GTime time); ++#endif + #endif // GLIBMM_DISABLE_DEPRECATED + + |