[gnumeric] fix build with pxlib-0.6.7. [#769319]



commit f1152dcefeef380dba593f9aff9fcec82dd0b198
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sat Jul 30 07:51:13 2016 +0200

    fix build with pxlib-0.6.7. [#769319]

 NEWS                      |    3 +++
 plugins/paradox/ChangeLog |    4 ++++
 plugins/paradox/px.h      |    4 ++++
 3 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index b4b146e..e256923 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 Gnumeric 1.12.32
 
+Jean:
+       * Fix  paradox plugin build with pxlib-0.6.7. [#769319]
+
 --------------------------------------------------------------------------
 Gnumeric 1.12.31
 
diff --git a/plugins/paradox/ChangeLog b/plugins/paradox/ChangeLog
index 14ca03b..9e3b926 100644
--- a/plugins/paradox/ChangeLog
+++ b/plugins/paradox/ChangeLog
@@ -1,3 +1,7 @@
+2016-07-30  Jean Brefort  <jean brefort normalesup org>
+
+       * px.h: fix build with pxlib-0.6.7. [#769319]
+
 2016-06-29  Morten Welinder <terra gnome org>
 
        * Release 1.12.31
diff --git a/plugins/paradox/px.h b/plugins/paradox/px.h
index a27050b..7d78c5f 100644
--- a/plugins/paradox/px.h
+++ b/plugins/paradox/px.h
@@ -3,6 +3,10 @@
 
 #include <gnumeric.h>
 #include <pxversion.h>
+/* if we are there, pxlib has been built with gsf support, so we need
+ * to define HAVE_GSF at least for pxlib-0.6.7 see #769319 and
+ * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832827 */
+#define HAVE_GSF 1
 #include <paradox-gsf.h>
 
 #define PX_MEMORY_DEBUGGING


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]