diff options
| author | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-05-09 16:46:20 +0000 |
|---|---|---|
| committer | Gustavo J. A. M. Carneiro <gjc@src.gnome.org> | 2007-05-09 16:46:20 +0000 |
| commit | 02997dae6349be1287938b240dab526510d339a1 (patch) | |
| tree | 46145bcd56f87ddd5864bd5ce84c3a3aa951cc83 | |
| parent | fd6de71d7207c1c5a4acbd4e70270e00e85634f1 (diff) | |
| download | pygobject-02997dae6349be1287938b240dab526510d339a1.tar.gz pygobject-02997dae6349be1287938b240dab526510d339a1.tar.xz pygobject-02997dae6349be1287938b240dab526510d339a1.zip | |
Bug 339924 – gnome-python doesn't compile on opensolaris
svn path=/trunk/; revision=672
| -rw-r--r-- | ChangeLog | 9 | ||||
| -rw-r--r-- | gobject/Makefile.am | 2 | ||||
| -rw-r--r-- | tests/Makefile.am | 3 |
3 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,12 @@ +2007-05-09 Gustavo J. A. M. Carneiro <gjc@gnome.org> + + * tests/Makefile.am (INCLUDES): Idem. + + * gobject/Makefile.am (INCLUDES): Add -D_XOPEN_SOURCE=600 and + -D__EXTENSIONS__ to make it compile with c99 and Sun C compiler. + + Fixes #339924: gnome-python doesn't compile on opensolaris. + 2007-05-02 Johan Dahlin <jdahlin@async.com.br> * configure.ac: Post-release version bump. diff --git a/gobject/Makefile.am b/gobject/Makefile.am index 32b4305..dcc6b25 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -1,6 +1,6 @@ AUTOMAKE_OPTIONS = 1.7 PLATFORM_VERSION = 2.0 -INCLUDES = $(PYTHON_INCLUDES) $(GLIB_CFLAGS) -DPY_SSIZE_T_CLEAN +INCLUDES = $(PYTHON_INCLUDES) $(GLIB_CFLAGS) -DPY_SSIZE_T_CLEAN -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ pkgincludedir = $(includedir)/pygtk-$(PLATFORM_VERSION) pkginclude_HEADERS = pygobject.h diff --git a/tests/Makefile.am b/tests/Makefile.am index 3b05018..efa0d9c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,8 @@ INCLUDES = \ $(PYTHON_INCLUDES) \ $(GLIB_CFLAGS) \ - -I$(top_srcdir)/gobject + -I$(top_srcdir)/gobject \ + -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ EXTRA_DIST = \ $(tests) \ |
